View Single Post
Old 09-07-2016, 03:58 AM   #1585
mbovenka
Wizard
mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.mbovenka ought to be getting tired of karma fortunes by now.
 
Posts: 2,079
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
I'm having an issue with my brand-spanking new Aura One. It gets detected as a 'generic Kobo' ('Kobo Touch/Glo/Mini/Aura HD/Aura') and not as an Aura One. Is it supposed to be that way?

It is especially an issue with the Kobo Utilities plugin, which uses the Type to create the autobackup filenames. That creates funky filenames Windows doesn't much like...

I have added the Calibre debug log, in case it is of any use.

Spoiler:
calibre Debug log
calibre 2.66 [64bit] embedded-python: True is64bit: True
Windows-8-6.2.9200 Windows ('64bit', 'WindowsPE')
('Windows', '8', '6.2.9200')
Python 2.7.9
Windows: ('8', '6.2.9200', '', 'Multiprocessor Free')
Successfully initialized third party plugins: DeDRM (6, 5, 1) && Manage Series (1, 2, 8) && catawiki (0, 0, 2) && Quality Check (1, 9, 11) && Fantastic Fiction (1, 1, 6) && Goodreads (1, 1, 11) && KePub Metadata Reader (2, 7, 1) && Barnes & Noble (1, 2, 14) && BOL_NL (3, 8, 10) && Count Pages (1, 6, 9) && KindleUnpack - The Plugin (0, 81, 2) && KoboTouchExtended (2, 8, 0) && KePub Metadata Writer (2, 7, 1) && Extract ISBN (1, 4, 4) && Fantastic Fiction Adults (1, 0, 4) && Obok DeDRM (6, 3, 6) && Webscription (1, 1, 0) && KePub Output (2, 7, 1) && Find Duplicates (1, 6, 2) && Kobo Utilities (2, 4, 1)
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 127.664921466 x 127.590697674
Starting up...
DEBUG: 0.0 obok::utilities.py - loading translations
DEBUG: 0.0 obok::dialogs.py - loading translations
DEBUG: 0.0 obok::config.py - loading translations
DEBUG: 0.0 obok::action_err.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
DEBUG: 0.0 KoboUtilites::dialogs.py - loading translations
DEBUG: 0.0 KoboUtilites::action.py - loading translations
Storage number map:
{(7L, 0L): [(4L, 'C')], (7L, 1L): [(1L, 'E')]}
Storage number for USBSTOR\DISK&VEN_KOBO&PROD_EREADER-4.0.7523&REV_0110\N709680011242&0: StorageDeviceNumber(type=7L, number=1L, partition_number=0L)
Drive letters for USBDevice(vendor_id=0x2237 product_id=0x4225 bcd=0x110 devid=usb\vid_2237&pid_4225&rev_0110 devinst=2)
{u'drive_letters': ['E'],
u'pnp_id_map': {'E': u'\\\\?\\usbstor#disk&ven_kobo&prod_ereader-4.0.7523&rev_0110#n709680011242&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'},
u'readonly_drives': set([]),
u'sort_map': {'E': (1L, 1L)}}
DEBUG: 20.1 Have a Kobo device connected connected
DEBUG: 20.1 BEGIN Get Device Path
DEBUG: 20.1 Root path of device: E:\
DEBUG: 20.1 END Get Device Path
DEBUG: 20.1 KoboUtilities:get_device - self.device_path="E:\"
DEBUG: 20.1 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG: 20.1 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 20.1 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouchExtended'
DEBUG: 22.2 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.__class__: <type 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG: 22.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: 22.2 Have a Kobo device connected connected
DEBUG: 22.2 BEGIN Get Device Path
DEBUG: 22.2 Root path of device: E:\
DEBUG: 22.2 END Get Device Path
DEBUG: 22.2 KoboUtilities:get_device - self.device_path="E:\"
DEBUG: 22.2 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 22.2 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KoboTouchExtended'
Job: 1 Set library information started
DeviceJob: 1 Set library information done, calling callback
SMART_DEV ( 0.10: 0.097) _attach_to_port try ip address "" on port 9090
SMART_DEV ( 1.05: 0.821) startup_on_demand listening on port 9090
SMART_DEV ( 1.14: 0.027) _attach_to_port try ip address "" on port 54982
SMART_DEV ( 1.20: 0.000) startup_on_demand broadcast socket listening on port 54982
DeviceJob: 1 Set library information callback returned
Job: 2 Get device information started
Job: 1 Set library information finished
No details available.
DeviceJob: 2 Get device information done, calling callback
DeviceJob: 2 Get device information callback returned
Job: 3 Set library information started
DeviceJob: 3 Set library information done, calling callback
DeviceJob: 3 Set library information callback returned
Job: 4 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 0x0000000078DB3DD8>
DEBUG: 0.0 KoboTouch:books - oncard='None', prefix='E:\'
DEBUG: 0.0 Kobo device: Kobo Touch/Glo/Mini/Aura HD/Aura
DEBUG: 0.0 Version of driver: (2, 8, 0) Has kepubs: True
DEBUG: 0.0 Version of firmware: (4, 0, 7523) Has kepubs: True
DEBUG: 0.0 Firmware supports cover image tree: True
DEBUG: 0.0 KoboTouchExtended:settings: settings= <calibre.utils.config_base.OptionValues object at 0x0000000078DB3E80>
DEBUG: 0.0 KoboTouch:books - opts.extra_customization= []
DEBUG: 0.0 KoboTouch:books - driver options= Driver:KoboTouchExtended, Options - format_map: [u'epub', u'kepub', u'pdf', u'txt', u'cbz', u'cbr'], use_subdirs: False, read_metadata: True, use_author_sort: False, save_template: {authors} - {title}, extra_customization: [], manage_collections: False, collections_columns: , create_collections: False, delete_empty_collections: True, ignore_collections_names: , upload_covers: True, keep_cover_aspect: False, upload_grayscale: False, show_archived_books: True, show_previews: False, show_recommendations: False, update_series: True, update_device_metadata: True, modify_css: True, support_newer_firmware: True, debugging_title: , driver_version: 2.8.0, extra_features: True, upload_encumbered: False, skip_failed: False, hyphenate: False, replace_lang: False, smarten_punctuation: False, clean_markup: True, full_page_numbers: True, disable_hyphenation: False, file_copy_dir:
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
SMART_DEV ( 2.26: 1.008) run All IP addresses {'{DF572573-A4FF-11E5-B989-806E6F6E6963}': [{'broadcast': '127.255.255.255', 'netmask': '255.0.0.0', 'addr': '127.0.0.1'}], '{5B09173B-6A84-4D21-87C3-BD721EB0E535}': [{'addr': '169.254.101.53'}], '{FB9E5A1C-970A-4FE3-A88F-546A6A940162}': [{'broadcast': '192.168.192.255', 'netmask': '255.255.255.0', 'addr': '192.168.192.3'}], '{6517BCBE-7D0A-4CB1-8C84-14B3FFAFC80F}': [{'addr': '169.254.196.192'}]}
Job: 3 Set library information finished
No details available.
Job: 2 Get device information finished
No details available.
DEBUG: 0.8 KoboTouch:books - length bl after sync=532
DEBUG: 0.8 KoboTouch:books - reading device database
DEBUG: 0.9 Database Version: 129
DEBUG: 0.9 KoboTouch:books - shelf list: [u'READ', u'ReadingList']
DEBUG: 0.9 KoboTouch:books - query= SELECT Title, Attribution, DateCreated, ContentID, MimeType, ContentType, ImageID, ReadStatus, ___ExpirationStatus, FavouritesIndex, Accessibility, IsDownloaded, Series, SeriesNumber, ___UserID, ExternalId FROM content where BookID is Null and ((Accessibility = -1 and IsDownloaded in ('true', 1 )) or (Accessibility in (1,2) ) ) and not ((___ExpirationStatus=3 or ___ExpirationStatus is Null) and ContentType = 6) AND (externalId IS NULL OR externalId = '') AND contentId NOT LIKE 'file:///mnt/sd/%'
DEBUG: 2.9 KoboTouch:books - automatically managing metadata
DEBUG: 3.0 KoboTouch:books - about to sync_booklists
DEBUG: 3.0 USBMS: starting sync_booklists
DEBUG: 3.8 USBMS: finished sync_booklists
DEBUG: 3.8 KoboTouch:books - have done sync_booklists
DEBUG: 3.8 KoboTouch:books - end - oncard='None'
DEBUG: 3.8 KoboTouch:books - oncard='carda'
DEBUG: 3.8 KoboTouch:books - Asked to process 'carda', but do not have one!
DEBUG: 3.8 KoboTouch:books - oncard='cardb'
DEBUG: 3.8 KoboTouch:books - Asked to process 'cardb', but do not have one!
DeviceJob: 4 Get list of books on device done, calling callback
DeviceJob: metadata_downloaded: Starting set_books_in_library
DeviceJob: set_books_in_library: books to process= 532
Job: 4 Get list of books on device finished
No details available.
DeviceJob: set_books_in_library finished: time= 0.100000143051
DeviceJob: metadata_downloaded: updating views
DeviceJob: metadata_downloaded: syncing
DEBUG: 25.0 KoboTouchExtended:settings: settings= <calibre.utils.config_base.OptionValues object at 0x00000000CBED1F60>
DEBUG: 25.0 KoboTouchExtended:settings: settings= <calibre.utils.config_base.OptionValues object at 0x00000000CBED1860>
DeviceJob: metadata_downloaded: refreshing ondevice
DeviceJob: metadata_downloaded: sending metadata_available signal
DEBUG: 52.1 KoboUtilites:_on_device_metadata_available - Start
DEBUG: 52.1 Have a Kobo device connected connected
DEBUG: 52.1 BEGIN Get Device Path
DEBUG: 52.1 Root path of device: E:\
DEBUG: 52.1 END Get Device Path
DEBUG: 52.1 KoboUtilities:get_device - self.device_path="E:\"
DEBUG: 52.1 KoboUtilities:get_device - drive_info: {'main': {u'calibre_version': u'2.66.0', u'location_code': 'main', u'device_name': u'Kobo Aura One', u'last_library_uuid': None, u'prefix': 'E:/', u'date_last_connected': u'2016-09-07T07:43:16.066000+00:00', u'device_store_uuid': u'a4faecbc-185a-4e7d-a592-11ef177932dd'}}
DEBUG: 52.1 migrate_library_config_if_required - start
DEBUG: 52.1 get_library_config - library_config: {u'ratingColumn': u'', u'precentReadColumn': u'', u'SchemaVersion': 0.1, u'currentReadingLocationColumn': u'', u'lastReadColumn': u'', u'profiles': {u'Default': {u'customColumnOptions': {u'percentReadColumn': u'', u'ratingColumn': u'', u'lastReadColumn': u'', u'currentReadingLocationColumn': u''}, u'profileName': u'Default', u'updateOptionsStore': {u'firmwareUpdateCheckLastTime': 0, u'doFirmwareUpdateCheck': False, u'doEarlyFirmwareUpdate': False}, u'forDevice': u'*Any Device', u'storeOptionsStore': {u'storeOnConnect': False, u'promptToStore': True, u'doNotStoreIfReopened': False, u'storeIfMoreRecent': False}}}}
DEBUG: 52.1 get_prefs - start - store_name='storeOptionsStore'
DEBUG: 52.1 get_plugin_pref - start - store_name='commonOptionsStore', option='individualDeviceOptions'
DEBUG: 52.1 get_prefs - start - store_name='backupOptionsStore'
DEBUG: 52.1 get_prefs - start - store_name='updateOptionsStore'
DEBUG: 52.1 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 52.1 KoboUtilities:set_toolbar_button_tooltip - device connected. self.device.fwversion= (4, 0, 7523)
DEBUG: 52.1 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Connected Device: Kobo Touch/Glo/Mini/Aura HD/Aura
Firmware version: 4.0.7523
Driver: KoboTouchExtended'
DEBUG: 52.1 KoboUtilites:_on_device_metadata_available - self.current_device_profile: {u'customColumnOptions': {u'percentReadColumn': u'', u'ratingColumn': u'', u'lastReadColumn': u'', u'currentReadingLocationColumn': u''}, u'profileName': u'Default', u'updateOptionsStore': {u'firmwareUpdateCheckLastTime': 0, u'doFirmwareUpdateCheck': False, u'doEarlyFirmwareUpdate': False}, u'forDevice': u'*Any Device', u'storeOptionsStore': {u'storeOnConnect': False, u'promptToStore': True, u'doNotStoreIfReopened': False, u'storeIfMoreRecent': False}}
DEBUG: 52.1 KoboUtilites:_on_device_metadata_available - self.current_backup_config: {u'backupZipDatabase': True, u'backupCopiesToKeepSpin': 5, u'backupDestDirectory': u'C:/Users/marco/Documents/Software/Kobo DB', u'doDailyBackp': False, u'backupEachCOnnection': True}
DEBUG: 52.1 KoboUtilites:_on_device_metadata_available - About to start auto backup
DEBUG: 52.1 auto_backup_device_database - start
DEBUG: 52.1 BEGIN Get Device Path
DEBUG: 52.1 Root path of device: E:\
DEBUG: 52.1 END Get Device Path
DEBUG: 52.1 auto_backup_device_database - destination directory= C:/Users/marco/Documents/Software/Kobo DB
DEBUG: 52.1 auto_backup_device_database - about to get version info from device...
DEBUG: 52.1 auto_backup_device_database - version_info= ['N709680011242', '3.0.35+', '4.0.7523', '3.0.35+', '3.0.35+', '00000000-0000-0000-0000-000000000373']
DEBUG: 52.1 auto_backup_device_database - device_information= ('Kobo Touch/Glo/Mini/Aura HD/Aura', '', '', '', {'main': {u'calibre_version': u'2.66.0', u'location_code': 'main', u'device_name': u'Kobo Aura One', u'last_library_uuid': None, u'prefix': 'E:/', u'date_last_connected': u'2016-09-07T07:43:44.310000+00:00', u'device_store_uuid': u'a4faecbc-185a-4e7d-a592-11ef177932dd'}})
DEBUG: 52.1 auto_backup_device_database - device_name= KoboTouch/Glo/Mini/AuraHD/Aura
DEBUG: 52.1 auto_backup_device_database - backup_file_template= KoboReader-KoboTouch/Glo/Mini/AuraHD/Aura-N709680011242-
DEBUG: 52.1 auto_backup_device_database - backup_options= {'device_path': 'E:\\', u'backupEachCOnnection': True, 'device_name': 'KoboTouch/Glo/Mini/AuraHD/Aura', 'serial_number': 'N709680011242', u'backupZipDatabase': True, u'backupCopiesToKeepSpin': 5, u'backupDestDirectory': u'C:/Users/marco/Documents/Software/Kobo DB', 'database_file': u'E:\\.kobo\\KoboReader.sqlite', 'backup_file_template': 'KoboReader-{0}-{1}-{2}', u'doDailyBackp': False}
DEBUG: 52.1 KoboUtilitiesAction::_firmware_update
DEBUG: 52.3 auto_backup_device_database - end
DEBUG: 52.3 Have a Kobo device connected connected
DEBUG: 52.3 BEGIN Get Device Path
DEBUG: 52.3 Root path of device: E:\
DEBUG: 52.3 END Get Device Path
DEBUG: 52.3 KoboUtilities:get_device - self.device_path="E:\"
DEBUG: 52.3 KoboUtilities:get_device - drive_info: {'main': {u'calibre_version': u'2.66.0', u'location_code': 'main', u'device_name': u'Kobo Aura One', u'last_library_uuid': None, u'prefix': 'E:/', u'date_last_connected': u'2016-09-07T07:43:16.066000+00:00', u'device_store_uuid': u'a4faecbc-185a-4e7d-a592-11ef177932dd'}}
DEBUG: 52.3 migrate_library_config_if_required - start
DEBUG: 52.3 get_library_config - library_config: {u'ratingColumn': u'', u'precentReadColumn': u'', u'SchemaVersion': 0.1, u'currentReadingLocationColumn': u'', u'lastReadColumn': u'', u'profiles': {u'Default': {u'customColumnOptions': {u'percentReadColumn': u'', u'ratingColumn': u'', u'lastReadColumn': u'', u'currentReadingLocationColumn': u''}, u'profileName': u'Default', u'updateOptionsStore': {u'firmwareUpdateCheckLastTime': 0, u'doFirmwareUpdateCheck': False, u'doEarlyFirmwareUpdate': False}, u'forDevice': u'*Any Device', u'storeOptionsStore': {u'storeOnConnect': False, u'promptToStore': True, u'doNotStoreIfReopened': False, u'storeIfMoreRecent': False}}}}
DEBUG: 52.3 get_prefs - start - store_name='storeOptionsStore'
DEBUG: 52.3 get_plugin_pref - start - store_name='commonOptionsStore', option='individualDeviceOptions'
DEBUG: 52.3 get_prefs - start - store_name='backupOptionsStore'
DEBUG: 52.3 get_prefs - start - store_name='updateOptionsStore'
DEBUG: 52.3 rebuild_menus - self.supports_ratings=True, self.supports_tiles=True
DEBUG: 52.3 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG: 52.3 KoboUtilities:set_toolbar_button_tooltip - device connected. self.device.fwversion= (4, 0, 7523)
DEBUG: 52.3 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Connected Device: Kobo Touch/Glo/Mini/Aura HD/Aura
Firmware version: 4.0.7523
Driver: KoboTouchExtended'
DEBUG: 52.3 rebuild_menus - have device.
DeviceJob: 4 Get list of books on device callback returned
Job: 5 Send metadata to device started
DEBUG: 28.4 KoboTouchExtended:sync_booklists:Setting ImageId fields
Job: 4 Get list of books on device finished
No details available.
DEBUG: 28.5 KoboTouchExtended:sync_booklists:Got 0 rows to update
DEBUG: 28.5 KoboTouchExtended:sync_booklists:done setting ImageId fields
DEBUG: 28.5 KOBO:sync_booklists - start
DEBUG: 28.5 KoboTouch:update_device_database_collections - oncard='main'
DEBUG: 28.5 KoboTouch:update_device_database_collections - set_debugging_title to ''
DEBUG: 28.5 KTCollectionsBookList:get_collections - start - collection_attributes= [u'']
DEBUG: 28.5 KTCollectionsBookList:get_collections - collection_attributes= [u'']
DEBUG: 28.6 KTCollectionsBookList:get_collections - end
DEBUG: 28.6 No Collections - reseting ReadStatus
DEBUG: 28.6 KoboTouch:update_device_database_collections - managing bookshelves and series.
DEBUG: 28.6 KoboTouch:update_device_database_collections - Number of series set=0 Number of books=499
DEBUG: 28.6 KoboTouch:update_device_database_collections - Finished
DEBUG: 28.6 USBMS: starting sync_booklists
DEBUG: 29.4 USBMS: finished sync_booklists
DEBUG: 29.4 KOBO:sync_booklists - end
DeviceJob: 5 Send metadata to device done, calling callback
DeviceJob: 5 Send metadata to device callback returned
Job: 6 Backing up Kobo device database started
DEBUG: 0.0 do_device_database_backup - start
logger - do_device_database_backup - start
DEBUG: 0.0 do_device_database_backup - backup_options= {'device_path': 'E:\\', u'backupEachCOnnection': True, 'device_name': 'KoboTouch/Glo/Mini/AuraHD/Aura', 'serial_number': 'N709680011242', u'backupZipDatabase': True, u'backupCopiesToKeepSpin': 5, u'backupDestDirectory': u'C:/Users/marco/Documents/Software/Kobo DB', 'database_file': u'E:\\.kobo\\KoboReader.sqlite', 'backup_file_template': 'KoboReader-{0}-{1}-{2}', u'doDailyBackp': False}
DEBUG: 0.0 do_device_database_backup - copies_to_keep= 5
DEBUG: 0.0 do_device_database_backup - backup_file_name=KoboReader-KoboTouch/Glo/Mini/AuraHD/Aura-N709680011242-20160907-094345
DEBUG: 0.0 do_device_database_backup - backup_file_path=C:/Users/marco/Documents/Software/Kobo DB\KoboReader-KoboTouch/Glo/Mini/AuraHD/Aura-N709680011242-20160907-094345.sqlite
DEBUG: 0.0 do_device_database_backup - database_file=E:\.kobo\KoboReader.sqlite
DeviceJob: 6 Backing up Kobo device database done, calling callback
DeviceJob: 6 [Errno 2] No such file or directory: u'C:/Users/marco/Documents/Software/Kobo DB\\KoboReader-KoboTouch/Glo/Mini/AuraHD/Aura-N709680011242-20160907-094345.sqlite'

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "calibre_plugins.koboutilities.jobs", line 193, in do_device_database_backup
File "shutil.py", line 83, in copyfile
IOError: [Errno 2] No such file or directory: u'C:/Users/marco/Documents/Software/Kobo DB\\KoboReader-KoboTouch/Glo/Mini/AuraHD/Aura-N709680011242-20160907-094345.sqlite'
Backing up Kobo device database
callback returned
Job: 5 Send metadata to device finished
No details available.
Job: 6 Backing up Kobo device database finished
[Errno 2] No such file or directory: u'C:/Users/marco/Documents/Software/Kobo DB\\KoboReader-KoboTouch/Glo/Mini/AuraHD/Aura-N709680011242-20160907-094345.sqlite'

Traceback (most recent call last):
File "site-packages\calibre\gui2\device.py", line 87, in run
File "calibre_plugins.koboutilities.jobs", line 193, in do_device_database_backup
File "shutil.py", line 83, in copyfile
IOError: [Errno 2] No such file or directory: u'C:/Users/marco/Documents/Software/Kobo DB\\KoboReader-KoboTouch/Glo/Mini/AuraHD/Aura-N709680011242-20160907-094345.sqlite'

Started up in 75.49 seconds with 190358 books
mbovenka is offline   Reply With Quote