Comment 9 for bug 1598017

Revision history for this message
Philip Yant (philip-yant) wrote : RE: [Bug 1598017] Re: Unable to connect to Kobo Glo

Thanks for looking into this. Yes, it seems I last updated that configuration in May 2013 when I added shelves for Kobo. I had not thought about configuration since then.

What I have done is to copy the file from my Linux machine to my Windows machine. When I restarted Calibre and attached my Kobo, everything worked fine, and I still had my custom Kobo shelves. I can now open the configuration in Preferences without an error message.

Thanks again,
Philip Yant

-----Oorspronkelijk bericht-----
Van: <email address hidden> [mailto:<email address hidden>] Namens David Forrester
Verzonden: zaterdag 2 juli 2016 12:00
Aan: <email address hidden>
Onderwerp: [Bug 1598017] Re: Unable to connect to Kobo Glo

Thanks for the file. I can see what is happening and why. This simple answer is that it has been a very long time since you changed the driver configuration. It is missing some options. The configuration migration code isn't checking for this.

I will fix this, but it will be to late for you. I recommend deleting the file device_drivers_KOBOTOUCH.py while calibre is closed. The default settings will be used and everything will be OK. You current configuration has:
- "Save template": {author_sort}/{title} - {authors}
- "Collections Column": #myshelves
- "Create Collections" is checked.

I think the save template is the default and if you don't use collections, you will be OK with using the default configuration.

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/1598017

Title:
  Unable to connect to Kobo Glo

Status in calibre:
  Triaged

Bug description:
  After installing last week's update and again after installing this
  week's (2.61), I am unable to connect with my Kobo Glo (from 2013). I
  receive message "Error communicating with device" with details:

  calibre, version 2.61.0
  ERROR: Error: Error communicating with device

  list index out of range

  Traceback (most recent call last):
    File "site-packages\calibre\gui2\device.py", line 87, in run
    File "site-packages\calibre\gui2\device.py", line 503, in _books
    File "site-packages\calibre\devices\kobo\driver.py", line 1418, in books
    File "site-packages\calibre\devices\kobo\driver.py", line 2961, in get_debugging_title
    File "site-packages\calibre\devices\kobo\driver.py", line 2804, in get_pref
    File "site-packages\calibre\devices\kobo\driver.py", line 2869, in settings
    File "site-packages\calibre\devices\kobo\driver.py", line 3091, in migrate_old_settings
  IndexError: list index out of range

To manage notifications about this bug go to:
https://bugs.launchpad.net/calibre/+bug/1598017/+subscriptions