View Single Post
Old 03-17-2017, 01:00 PM   #27
maddz
Wizard
maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.maddz ought to be getting tired of karma fortunes by now.
 
Posts: 1,405
Karma: 30039536
Join Date: Mar 2010
Location: UK
Device: Kobo Forma, Icarus, iPad Mini 2, Kobo Touch, Google Nexus 7
OK, got the communicating with device error again after the deleting the calibre files on the Kobo and SD Card:

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

CantOpenError: unable to open database file

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 88, in run
File "site-packages/calibre/gui2/device.py", line 511, in _books
File "site-packages/calibre/devices/kobo/driver.py", line 1704, in books
File "site-packages/calibre/devices/kobo/driver.py", line 161, in device_database_connection
CantOpenError: CantOpenError: unable to open database file

As it happens, it seems the SD card and the Kobo are now mounted the 'right' way round; maybe it's because I powered on the Kobo before connecting?

Re the earlier comment about the extensions, oddly when I check the files onboard they only have the .epub extension, not the double extension .kepub.epub, so I don't understand why I need to add the double extension...

Restarting in debug mode:

Spoiler:
EpubMerge: DEBUG: 2017-03-17 16:56:00,292: calibre_plugins.epubmerge.epubmerge_plugin(152): macmenuhack file_path:/Users/maddye/Library/Preferences/calibre/plugins/fanficfare_macmenuhack.txt
calibre Debug log
calibre 2.81 embedded-python: True is64bit: True
Darwin-15.6.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '15.6.0', 'Darwin Kernel Version 15.6.0: Mon Jan 9 23:07:29 PST 2017; root:xnu-3248.60.11.2.1~1/RELEASE_X86_64')
Python 2.7.11
OSX: ('10.11.6', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM (6, 5, 3) && EpubMerge (2, 1, 0) && Kobo Utilities (2, 5, 2) && EpubSplit (2, 2, 0) && KoboTouchExtended (2, 8, 2) && Reading List (1, 6, 6) && View Manager (1, 3, 2) && KePub Output (2, 7, 1)
devicePixelRatio: 1.0
logicalDpi: 72.0 x 72.0
physicalDpi: 99.0000014868 x 99.0000014868
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: 6.8 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 6.8 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 6.8 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 6.8 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouch'
Started up in 8.64 seconds with 1605 books
CantOpenError: unable to open database file

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 88, in run
File "site-packages/calibre/gui2/device.py", line 511, in _books
File "site-packages/calibre/devices/kobo/driver.py", line 1704, in books
File "site-packages/calibre/devices/kobo/driver.py", line 161, in device_database_connection
CantOpenError: CantOpenError: unable to open database file

2017-03-17 16:56:03.021 Calibre[5893:534466] deliverNotificationWithTitle()
* Notification delivered.
SMART_DEV ( 0.00: 0.004) _attach_to_port try ip address "" on port 9090
SMART_DEV ( 1.16: 0.920) startup_on_demand listening on port 9090
SMART_DEV ( 1.21: 0.001) _attach_to_port try ip address "" on port 54982
SMART_DEV ( 1.26: 0.000) startup_on_demand broadcast socket listening on port 54982
DEBUG: 9.2 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.__class__: <type 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG: 9.2 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: 9.2 Have a Kobo device connected connected
DEBUG: 9.2 BEGIN Get Device Path
DEBUG: 9.2 Root path of device: /Volumes/SD_CARD/
DEBUG: 9.2 END Get Device Path
DEBUG: 9.2 KoboUtilities:get_device - self.device_path="/Volumes/SD_CARD/"
DEBUG: 9.2 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 9.2 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouch'
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 KoboTouch:books - oncard='None', prefix='/Volumes/SD_CARD/'
DEBUG: 0.0 Kobo::get_firmware_version - didn't get firmware version from file'
DEBUG: 0.0 Kobo device: Kobo Touch
DEBUG: 0.0 Version of driver: (2, 3, 3) 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 KoboTouch:books - opts.extra_customization= []
DEBUG: 0.0 KoboTouch:books - driver options= Driver:KoboTouch, Options - format_map: [u'kepub', u'epub', u'pdf', u'txt', u'cbz', u'cbr'], use_subdirs: True, read_metadata: True, use_author_sort: False, save_template: {author_sort}/{title} - {authors}, extra_customization: [], manage_collections: True, collections_columns: #myshelves, create_collections: True, delete_empty_collections: True, ignore_collections_names: , upload_covers: True, keep_cover_aspect: True, 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: 2.3.3
DEBUG: 0.0 KoboTouch:books - prefs['manage_device_metadata']= on_connect
DEBUG: 0.0 KoboTouch:books - set_debugging_title to ''
DEBUG: 0.0 KoboTouch:books - length bl=0
DEBUG: 0.0 KoboTouch:books - length bl after sync=0
DeviceJob: 3 Get list of books on device done, calling callback
DeviceJob: 3 Get list of books on device callback returned
Job: 1 Get device information finished
No details available.
Job: 2 Set library 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 88, in run
File "site-packages/calibre/gui2/device.py", line 511, in _books
File "site-packages/calibre/devices/kobo/driver.py", line 1704, in books
File "site-packages/calibre/devices/kobo/driver.py", line 161, in device_database_connection
CantOpenError: CantOpenError: unable to open database file

SMART_DEV ( 2.31: 1.006) run All IP addresses {'en1': [{'netmask': '255.255.255.0', 'addr': '192.168.0.95', 'broadcast': '192.168.0.255'}], 'lo0': [{'peer': '127.0.0.1', 'netmask': '255.0.0.0', 'addr': '127.0.0.1'}]}
DEBUG: 132.5 Have a Kobo device connected connected
DEBUG: 132.5 BEGIN Get Device Path
DEBUG: 132.5 Root path of device: /Volumes/SD_CARD/
DEBUG: 132.5 END Get Device Path
DEBUG: 132.5 KoboUtilities:get_device - self.device_path="/Volumes/SD_CARD/"
DEBUG: 132.5 KoboUtilities:get_device - drive_info: {'A': {u'last_library_uuid': None, u'location_code': 'A', u'date_last_connected': u'2017-03-17T16:56:02.802209+00:00', u'device_store_uuid': u'8c85a4a6-8e53-406f-9745-c02b881ea49d', u'calibre_version': u'2.81.0', u'device_name': u'Kobo Touch', u'prefix': '/Volumes/KOBOeReader/'}, 'main': {u'last_library_uuid': None, u'location_code': 'main', u'date_last_connected': u'2017-03-17T16:56:02.795252+00:00', u'device_store_uuid': u'ba0c1973-c7c2-4425-9b03-f8ce3a92b82e', u'calibre_version': u'2.81.0', u'device_name': u'Kobo Touch', u'prefix': '/Volumes/SD_CARD/'}}
DEBUG: 132.5 migrate_library_config_if_required - start
DEBUG: 132.5 get_library_config - library_config: {u'SchemaVersion': 0.1, u'profiles': {}, u'lastReadColumn': u'', u'currentReadingLocationColumn': u'', u'ratingColumn': u'', u'precentReadColumn': u''}
DEBUG: 132.5 get_plugin_pref - start - store_name='commonOptionsStore', option='individualDeviceOptions'
DEBUG: 132.5 get_prefs - start - store_name='backupOptionsStore'
DEBUG: 132.5 get_prefs - start - store_name='updateOptionsStore'
DEBUG: 132.5 rebuild_menus - self.supports_ratings=False, self.supports_tiles=False
DEBUG: 132.5 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 132.5 KoboUtilities:set_toolbar_button_tooltip - device connected. self.device.fwversion= (0, 0, 0)
DEBUG: 132.5 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Connected Device: Kobo Touch
Firmware version: 0.0.0
Driver: KoboTouch'
DEBUG: 132.5 rebuild_menus - have device.
JobEBUG: 139.7 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.__class__: <type 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG: 139.7 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: 139.7 Have a Kobo device connected connected
DEBUG: 139.7 BEGIN Get Device Path
DEBUG: 139.7 Root path of device: /Volumes/SD_CARD/
DEBUG: 139.7 END Get Device Path
DEBUG: 139.7 KoboUtilities:get_device - self.device_path="/Volumes/SD_CARD/"
DEBUG: 139.7 KoboUtilities:get_device - drive_info: {'A': {u'last_library_uuid': None, u'location_code': 'A', u'date_last_connected': u'2017-03-17T16:56:02.802209+00:00', u'device_store_uuid': u'8c85a4a6-8e53-406f-9745-c02b881ea49d', u'calibre_version': u'2.81.0', u'device_name': u'Kobo Touch', u'prefix': '/Volumes/KOBOeReader/'}, 'main': {u'last_library_uuid': None, u'location_code': 'main', u'date_last_connected': u'2017-03-17T16:56:02.795252+00:00', u'device_store_uuid': u'ba0c1973-c7c2-4425-9b03-f8ce3a92b82e', u'calibre_version': u'2.81.0', u'device_name': u'Kobo Touch', u'prefix': '/Volumes/SD_CARD/'}} 4 Get device information started

DEBUG: 139.7 migrate_library_config_if_required - start
DEBUG: 139.7 get_library_config - library_config: {u'SchemaVersion': 0.1, u'profiles': {}, u'lastReadColumn': u'', u'currentReadingLocationColumn': u'', u'ratingColumn': u'', u'precentReadColumn': u''}
DEBUG: 139.7 get_plugin_pref - start - store_name='commonOptionsStore', option='individualDeviceOptions'
DEBUG: 139.7 get_prefs - start - store_name='backupOptionsStore'
DEBUG: 139.7 get_prefs - start - store_name='updateOptionsStore'
DEBUG: 139.7 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 139.7 KoboUtilities:set_toolbar_button_tooltip - device connected. self.device.fwversion= (0, 0, 0)
DEBUG: 139.7 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Connected Device: Kobo Touch
Firmware version: 0.0.0
Driver: KoboTouch'
DeviceJob: 4 Get device information done, calling callback
Job:2017-03-17 16:58:13.497 Calibre[5899:535439] deliverNotificationWithTitle()
CantOpenError: unable to open database file

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 88, in run
File "site-packages/calibre/gui2/device.py", line 511, in _books
File "site-packages/calibre/devices/kobo/driver.py", line 1704, in books
File "site-packages/calibre/devices/kobo/driver.py", line 161, in device_database_connection
CantOpenError: CantOpenError: unable to open database file

* Notification delivered.


We're about to go away for the weekend, so any more will have to wait until we're back on Sunday. I haven't really got the time to fiddle around with the side-loading process or factory resets, which is annoying as there's a whole bunch of new books that will go on the Kobo that didn't come via the Big River (and hence won't show on the iPad).

Last edited by maddz; 03-17-2017 at 01:03 PM.
maddz is offline   Reply With Quote