Comment 3 for bug 1598017

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

Again, thanks for the quick reply. This is a bit out of my depth. I don't know what you mean by " Can you try opening the driver configuration". I opened Preferences, Advanced, Plugins and I see KoboTouch (2.2.0) with your name by it. I don't know if this is what you meant. If I try opening this, I get a similar error (whether the Kobo is attached or not):

calibre, version 2.61.0
ERROR: Unhandled exception: <b>IndexError</b>:list index out of range

calibre 2.61 embedded-python: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM (6, 0, 9) && Kindle and Mobipocket DeDRM (0, 4, 5) && Inept Epub DeDRM (0, 1, 7) && BOL_NL (3, 8, 7) && Inept PDF DeDRM (0, 1, 5)
Traceback (most recent call last):
  File "site-packages\calibre\gui2\preferences\plugins.py", line 292, in customize_plugin
  File "site-packages\calibre\gui2\preferences\plugins.py", line 370, in modify_plugin
  File "site-packages\calibre\customize\__init__.py", line 154, in do_user_config
  File "site-packages\calibre\devices\kobo\driver.py", line 2792, in config_widget
  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

---
I see the file you mention "device_drivers_KOBOTOUCH.py" but I haven't deleted that yet because I am not sure if I understand " Then configure the driver before connecting the device."

Thanks,
Philip
Zottegem, Belgium

-----Oorspronkelijk bericht-----
Van: <email address hidden> [mailto:<email address hidden>] Namens David Forrester
Verzonden: vrijdag 1 juli 2016 17:19
Aan: <email address hidden>
Onderwerp: [Bug 1598017] Re: Unable to connect to Kobo Glo

I made a lot of changes to the KoboTouch driver in version 2.60. Most of them were in the configuration. The error you are seeing is in the code to migrate the configuration. Can you try opening the driver configuration? If you can, make a change to something in it and save the change. This should fix the configuration and the device should connect properly.

If this doesn't work, you will need to delete the existing configuration. This is in the file "device_drivers_KOBOTOUCH.py" in the calibre configuration directory. Delete this when calibre is not running. Then configure the driver before connecting the device.

--
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