View Single Post
Old 07-28-2013, 11:34 AM   #14
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,082
Karma: 14079267
Join Date: Oct 2007
Location: Almere, The Netherlands
Device: Kobo Sage
Quote:
Originally Posted by kovidgoyal View Post
Also, how many books do you have on your device, it may be that some code path used by the device drivers is slower in the new backend and I never noticed as I dont tend to put a lot of books on my devices.
This is the debug log from startup -> connect Aura (with 67 books on it):

Spoiler:
calibre Debug log
calibre 0.9.41 Portable isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE')
('Windows', 'XP', '5.1.2600')
Python 2.7.4
Windows: ('XP', '5.1.2600', 'SP3', 'Multiprocessor Free')
Starting up...
Traceback (most recent call last):
File "site-packages\calibre\devices\user_defined\driver.py", line 105, in do_delayed_plugin_initialization
ValueError: invalid literal for int() with base 16: ''
Traceback (most recent call last):
File "site-packages\calibre\gui2\ui.py", line 377, in initialize
File "calibre_plugins.find_duplicates.action", line 50, in initialization_complete
File "calibre_plugins.find_duplicates.duplicates", line 66, in __init__
File "calibre_plugins.find_duplicates.config", line 110, in get_exemption_lists
AttributeError: 'View' object has no attribute 'has_id'
DEBUG: 0.0 No Kobo Touch, Glo or Mini appears to be connected
Started up in 47.39 seconds with 73246 books
Job: 1 Get device information started
DeviceJob: 1 Get device information done, calling callback
DeviceJob: 1 Get device information callback returned
Job: 2 Get list of books on device started
DEBUG: 0.0 KoboTouch:books - oncard='None'
DEBUG: 0.0 KoboTouch:books - oncard='None', prefix='G:\'
DEBUG: 0.0 Kobo device: Kobo Aura HD
DEBUG: 0.0 Version of driver: (1, 5, 0) Has kepubs: True
DEBUG: 0.0 Version of firmware: (2, 8, 1) Has kepubs: True
DEBUG: 0.0 KoboTouch:books - opts.extra_customization= [u'', False, False, True, False, False, True, False, False, True, True, u'', True, False, False, True, False, False, False, True, u'', False, False]
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
Job: 1 Get device information finished
No details available.
DEBUG: 0.4 KoboTouch:books - length bl after sync=75
DEBUG: 0.4 KoboTouch:books - reading device database
DEBUG: 0.5 Database Version=79
DEBUG: 0.5 KoboTouch:books - shelf list: [u'READ']
DEBUG: 0.5 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: 0.5 KoboTouch:books - looping on database - row=9
DEBUG: 0.5 KoboTouch:books - title='' authors= Kobo Inc.
DEBUG: 0.5 KoboTouch:books - row= (u'', u'Kobo Inc.', None, u'file:///usr/local/Kobo/help/10UserGuide-Legal.kepub.epub', u'application/x-kobo-epub+zip', u'6', None, 0, 0, -1, 1, 1, None, None, u'', None)
DEBUG: 0.6 KoboTouch:books - looping on database - row=10
DEBUG: 0.6 KoboTouch:books - title='' authors= Kobo Inc.
DEBUG: 0.6 KoboTouch:books - row= (u'', u'Kobo Inc.', None, u'file:///usr/local/Kobo/help/09UserGuide-Contacting_FNAC.kepub.epub', u'application/x-kobo-epub+zip', u'6', None, 0, 0, -1, 1, 1, None, None, u'', None)
DEBUG: 3.4 KoboTouch:books - automatically managing metadata
DEBUG: 3.4 KoboTouch:books - about to sync_booklists
DEBUG: 3.4 USBMS: starting sync_booklists
DEBUG: 3.9 USBMS: finished sync_booklists
DEBUG: 3.9 KoboTouch:books - have done sync_booklists
DEBUG: 3.9 KoboTouch:books - end - oncard='None'
DEBUG: 3.9 KoboTouchExtended - Dropping DismissNewBookTiles database trigger
DEBUG: 3.9 KoboTouchExtended - Dropping BlockAnalyticsEvents database trigger
DEBUG: 3.9 KoboTouch:books - oncard='carda'
DEBUG: 3.9 KoboTouch:books - Asked to process 'carda', but do not have one!
DEBUG: 3.9 KoboTouch:books - oncard='cardb'
DEBUG: 3.9 KoboTouch:books - Asked to process 'cardb', but do not have one!
DeviceJob: 2 Get list of books on device done, calling callback


I left it for 15 minutes or so on an earlier try, so it's not just slow. Calibre eats one full core of CPU at that point (50% CPU on my Core2Duo.
mbovenka is online now   Reply With Quote