View Single Post
Old 11-09-2014, 10:44 AM   #337
paola
Wizard
paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.paola ought to be getting tired of karma fortunes by now.
 
paola's Avatar
 
Posts: 2,841
Karma: 5843878
Join Date: Oct 2010
Location: UK
Device: Pocketbook Pro 903, (beloved Pocketbook 360 RIP), Kobo Mini, Kobo Aura
Quote:
Originally Posted by PeterT View Post
Preferences | Restart Calibre in debug mode
Thanks Peter!

Here is the error message from the GUI:
Quote:
calibre, version 2.9.0
ERROR: Error: Error communicating with device

database disk image is malformed

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 87, in run
File "site-packages/calibre/gui2/device.py", line 502, in _books
File "site-packages/calibre/devices/kobo/driver.py", line 1769, in books
DatabaseError: database disk image is malformed
and here is the log:
Spoiler:
Quote:
Traceback (most recent call last):
File "site-packages/calibre/gui2/ui.py", line 150, in __init__
File "site-packages/calibre/gui2/ui.py", line 164, in init_iaction
File "site-packages/calibre/customize/__init__.py", line 580, in load_actual_plugin
File "lib/python2.7/importlib/__init__.py", line 37, in import_module
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.similar_stories.action", line 12, in <module>
ImportError: No module named PyQt4.Qt
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
2014-11-09 15:40:32.811 Calibre[11616:1177897] deliverNotificationWithTitle()
* Notification delivered.
calibre Debug log
calibre 2.9 isfrozen: True is64bit: True
Darwin-14.0.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '14.0.0', 'Darwin Kernel Version 14.0.0: Fri Sep 19 00:26:44 PDT 2014; root:xnu-2782.1.97~2/RELEASE_X86_64')
Python 2.7.8
OSX: ('10.10', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: DeDRM && Kindle and Mobipocket DeDRM && K4PC, K4Mac, Kindle Mobi and Topaz DeDRM && K4PC, K4Mac, Mobi DeDRM && Inept Epub DeDRM && Inept PDF DeDRM && Ignoble Epub DeDRM && Goodreads Sync && eReader PDB 2 PML && Similar Stories && Obok DeDRM && Ex Libris && Reading List && Search The Internet && Kobo Utilities && KindleUnpack - The Plugin && KoboTouchExtended && Copy Cover To Device
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=False
Started up in 17.31 seconds with 483 books
DEBUG: 65.0 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.__class__: <type 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG: 65.0 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']
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/KOBOeReader/'
DEBUG: 0.0 Kobo device: Kobo Aura
DEBUG: 0.0 Version of driver: (2, 2, 20) Has kepubs: True
DEBUG: 0.0 Version of firmware: (3, 11, 0) Has kepubs: True
DEBUG: 0.0 Firmware supports cover image tree: True
DEBUG: 0.0 KoboTouch:books - opts.extra_customization= [u'#koboshelves', True, True, True, False, True, False, False, False, False, False, False, u'', True, False, False, False, False, False, False, u'', False, False, False, False]
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.3 KoboTouch:books - length bl after sync=195
DEBUG: 0.3 KoboTouch:books - reading device database
DEBUG: 0.4 Database Version=109
DEBUG: 0.4 KoboTouch:books - shelf list: [u'previews', u'TBR - fiction', u'TBR - non fiction', u'help', u'Wishlist', u'news', u'fiction poetry and memoirs', u'non fiction', u'work']
DEBUG: 0.4 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 IsDownloaded in ('true', 1)) ) 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.4 KoboTouch:books - looping on database - row=0
DEBUG: 0.4 KoboTouch:books - title='' authors= Kobo Inc.
DEBUG: 0.4 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)
Job: 1 Get device information finished
No details available.
Job: 2 Set library information finished
No details available.
DEBUG: 1.8 KoboTouch:update_booklist - exceptioTraceback (most recent call last):
File "site-packages/calibre/devices/kobo/driver.py", line 1603, in update_booklist
File "site-packages/calibre/devices/kobo/driver.py", line 718, in book_from_path
File "site-packages/calibre/devices/kobo/books.py", line 27, in __init__
File "site-packages/calibre/devices/usbms/books.py", line 39, in __init__
File "site-packages/calibre/ebooks/metadata/book/base.py", line 786, in __nonzero__
File "site-packages/calibre/ebooks/metadata/book/base.py", line 149, in __getattribute__
AttributeError: Metadata object has no attribute named: 'author'
Traceback (most recent call last):
File "site-packages/calibre/devices/kobo/driver.py", line 1603, in update_booklist
File "site-packages/calibre/devices/kobo/driver.py", line 718, in book_from_path
File "site-packages/calibre/devices/kobo/books.py", line 27, in __init__
File "site-packages/calibre/devices/usbms/books.py", line 39, in __init__
File "site-packages/calibre/ebooks/metadata/book/base.py", line 786, in __nonzero__
File "site-packages/calibre/ebooks/metadata/book/base.py", line 149, in __getattribute__
AttributeError: Metadata object has no attribute named: 'author'
Traceback (most recent call last):
File "site-packages/calibre/devices/kobo/driver.py", line 1603, in update_booklist
File "site-packages/calibre/devices/kobo/driver.py", line 718, in book_from_path
File "site-packages/calibre/devices/kobo/books.py", line 27, in __init__
File "site-packages/calibre/devices/usbms/books.py", line 39, in __init__
File "site-packages/calibre/ebooks/metadata/book/base.py", line 786, in __nonzero__
File "site-packages/calibre/ebooks/metadata/book/base.py", line 149, in __getattribute__
AttributeError: Metadata object has no attribute named: 'author'
Traceback (most recent call last):
File "site-packages/calibre/devices/kobo/driver.py", line 1603, in update_booklist
File "site-packages/calibre/devices/kobo/driver.py", line 718, in book_from_path
File "site-packages/calibre/devices/kobo/books.py", line 27, in __init__
File "site-packages/calibre/devices/usbms/books.py", line 39, in __init__
File "site-packages/calibre/ebooks/metadata/book/base.py", line 786, in __nonzero__
File "site-packages/calibre/ebooks/metadata/book/base.py", line 149, in __getattribute__
AttributeError: Metadata object has no attribute named: 'author'
database disk image is malformed

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 87, in run
File "site-packages/calibre/gui2/device.py", line 502, in _books
File "site-packages/calibre/devices/kobo/driver.py", line 1769, in books
DatabaseError: database disk image is malformed

n creating book: 'Metadata object has no attribute named: 'author''
DEBUG: 1.8 prefix: /Volumes/KOBOeReader/ lpath: title: Up from slavery : an autobiography authors: Booker T. Washington mime: application/octet-stream date: 2010-07-17T00:40:06.100 ContentType: 6 ImageID: AAAAAAAAAAAAAAAAAAAAAA
DEBUG: 1.9 KoboTouch:update_booklist - exception creating book: 'Metadata object has no attribute named: 'author''
DEBUG: 1.9 prefix: /Volumes/KOBOeReader/ lpath: title: The celestial omnibus, and other stories authors: E. M. (Edward Morgan) Forster mime: application/octet-stream date: 2009-12-22T16:34:21.100 ContentType: 6 ImageID: AAAAAAAAAAAAAAAAAAAAAA
DEBUG: 1.9 KoboTouch:update_booklist - exception creating book: 'Metadata object has no attribute named: 'author''
DEBUG: 1.9 prefix: /Volumes/KOBOeReader/ lpath: title: The celestial omnibus and other stories authors: E. M. (Edward Morgan) Forster mime: application/octet-stream date: 2010-07-17T00:49:17.100 ContentType: 6 ImageID: AAAAAAAAAAAAAAAAAAAAAA
DEBUG: 2.6 KoboTouch:update_booklist - exception creating book: 'Metadata object has no attribute named: 'author''
DEBUG: 2.6 prefix: /Volumes/KOBOeReader/ lpath: title: Jerusalem; a novel authors: Lagerlöf, Selma,Howard, Velma Swanston, b. 1868 mime: application/octet-stream date: 2009-12-18T01:17:24.100 ContentType: 6 ImageID: AAAAAAAAAAAAAAAAAAAAAA
DeviceJob: 3 Get list of books on device done, calling callback
DeviceJob: 3 Get list of books on device callback returned
Job: 3 Get list of books on device finished
database disk image is malformed

Traceback (most recent call last):
File "site-packages/calibre/gui2/device.py", line 87, in run
File "site-packages/calibre/gui2/device.py", line 502, in _books
File "site-packages/calibre/devices/kobo/driver.py", line 1769, in books
DatabaseError: database disk image is malformed

READING LIST: Device disconnected
DEBUG: 134.0 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.__class__: <type 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG: 134.0 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: 134.0 KoboUtilites:_on_device_connection_changed - Device disconnected
DEBUG: 134.0 Have a Kobo device connected connected
DEBUG: 134.0 rebuild_menus - self.supports_ratings=True


My Aura is running 3.11.0, dated 16th of October. Thanks for your help!
paola is offline   Reply With Quote