caliber won't read memory card in Kobo H2O

Bug #1629289 reported by john knight
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
calibre
Invalid
Undecided
Unassigned

Bug Description

calibre Debug log
calibre 2.69 embedded-python: True is64bit: False
Windows-8-6.2.9200 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: KoboBooks (1, 0, 0) && Kobo Utilities (2, 4, 1) && KoboTouchExtended (2, 8, 2)
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 102.238993711 x 102.358208955
Starting up...
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 1.9 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 1.9 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 1.9 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 1.9 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouchExtended'
Storage number map:
{(7L, 0L): [(3L, 'C')],
 (7L, 1L): [(1L, 'F')],
 (7L, 2L): [(1L, 'E')],
 (7L, 3L): [(1L, 'G')],
 (7L, 4L): [(1L, 'L')]}
Storage number for USBSTOR\DISK&VEN_KOBO&PROD_EREADER-3.19.576&REV_0110\N250554004578&0: StorageDeviceNumber(type=7L, number=3L, partition_number=0L)
Storage number for USBSTOR\DISK&VEN_KOBO&PROD_EREADER-3.19.576&REV_0110\N250554004578&1: StorageDeviceNumber(type=7L, number=4L, partition_number=0L)
Failed to get readonly status for drive: G with error: [Error 87] The parameter is incorrect.
Drive letters for USBDevice(vendor_id=0x2237 product_id=0x4213 bcd=0x110 devid=usb\vid_2237&pid_4213&rev_0110 devinst=6)
{u'drive_letters': ['G', 'L'],
 u'pnp_id_map': {'G': u'\\\\?\\usbstor#disk&ven_kobo&prod_ereader-3.19.576&rev_0110#n250554004578&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}',
                 'L': u'\\\\?\\usbstor#disk&ven_kobo&prod_ereader-3.19.576&rev_0110#n250554004578&1#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'},
 u'readonly_drives': set([]),
 u'sort_map': {'G': (3L, 1L), 'L': (4L, 1L)}}
Unable to get free space for drive: G
(87, 'GetDiskFreeSpaceEx', 'The parameter is incorrect.')
Ignoring the drive G because failed to get free space for it
DEBUG: 14.1 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.__class__: <type 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG: 14.1 Methods for self.plugin_device_connection_changed: ['__call__', '__class__', '__delattr__', '__doc__', '__format__', '__getattribute__', '__getitem__', '__hash__', '__init__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', '__subclasshook__', 'connect', 'disconnect', 'emit', 'signal']
DEBUG: 14.1 Have a Kobo device connected connected
DEBUG: 14.1 BEGIN Get Device Path
DEBUG: 14.1 Root path of device: L:\
DEBUG: 14.1 END Get Device Path
DEBUG: 14.1 KoboUtilities:get_device - self.device_path="L:\"
DEBUG: 14.1 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 14.1 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouchExtended'
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Set library information started
DeviceJob: 2 Set library information done, calling callback
DeviceJob: 2 Set library information callback returned
Job: 3 Get list of books on device started
DEBUG: 0.0 KoboTouch:books - oncard='None'
DEBUG: 0.0 KoboTouchExtended:settings: settings= <calibre.utils.config_base.OptionValues object at 0x1060ADD0>
DEBUG: 0.0 KoboTouch:books - oncard='None', prefix='L:\'
DEBUG: 0.0 Kobo::get_firmware_version - didn't get firmware version from file'
DEBUG: 0.0 Kobo device: Kobo Aura H2O
DEBUG: 0.0 Version of driver: (2, 8, 2) Has kepubs: True
DEBUG: 0.0 Version of firmware: (0, 0, 0) Has kepubs: True
DEBUG: 0.0 Firmware supports cover image tree: False
DEBUG: 0.0 KoboTouchExtended:settings: settings= <calibre.utils.config_base.OptionValues object at 0x1060AC50>
DEBUG: 0.0 KoboTouch:books - opts.extra_customization= []
DEBUG: 0.0 KoboTouch:books - driver options= Driver:KoboTouchExtended, Options - format_map: ['kepub', 'epub', 'cbr', 'cbz', 'pdf', 'txt'], use_subdirs: True, read_metadata: True, use_author_sort: False, save_template: {author_sort}/{title} - {authors}, extra_customization: [], manage_collections: True, collections_columns: , create_collections: False, delete_empty_collections: False, ignore_collections_names: , upload_covers: False, keep_cover_aspect: False, upload_grayscale: False, show_archived_books: False, show_previews: False, show_recommendations: False, update_series: True, update_device_metadata: True, modify_css: False, support_newer_firmware: False, debugging_title: , driver_version: , extra_features: True, upload_encumbered: False, skip_failed: False, hyphenate: False, replace_lang: False, smarten_punctuation: False, clean_markup: False, full_page_numbers: False, disable_hyphenation: False, file_copy_dir:
DEBUG: 0.0 KoboTouch:books - prefs['manage_device_metadata']= manual
DEBUG: 0.0 KoboTouch:books - set_debugging_title to ''
DEBUG: 0.0 KoboTouch:books - length bl=0
DEBUG: 0.1 KoboTouch:books - length bl after sync=132
DeviceJob: 3 Get list of books on device done, calling callback
CantOpenError: unable to open database file

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 1690, in books
  File "site-packages\calibre\devices\kobo\driver.py", line 159, in device_database_connection
CantOpenError: CantOpenError: unable to open database file

DeviceJob: 3 Get list of books on device callback returned
Job: 1 Get device information finished
No details available.
Job: 3 Get list of books on device finished
CantOpenError: unable to open database file

 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 1690, in books
   File "site-packages\calibre\devices\kobo\driver.py", line 159, in device_database_connection
 CantOpenError: CantOpenError: unable to open database file

Job: 2 Set library information finished
No details available.
Started up in 38.89 seconds with 10752 books

Revision history for this message
Kovid Goyal (kovid) wrote : Re: calibre bug 1629289

Windows is unabel to get free space on that card (The GetFreeSpace
system call is failing). Without that calibre cannot use the card. This
is usually caused by using a damaged card or a card that is too large
for the device firmware to support. Try reformatting the card or trya
different card.

 status invalid

Changed in calibre:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.