View Single Post
Old 12-17-2014, 12:05 PM   #769
eXistenZ
Connoisseur
eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.eXistenZ for a long time would go to bed early.
 
Posts: 86
Karma: 17618
Join Date: Nov 2010
Device: Kobo GLO
Thank you to all people that relpied to help

About Shelves: No I use Smart Shelves but I'm aware of Calibre problems with them, so I disabled all the shelves options in Kobo touch Extended driver a long time ago.
Also I use Smart Shelves from months, and the duplicates appeared only recently, so calibre is not involved in the issue, I was only asking davidfor for a tool to manually managing shelves entry in the DB. I solved editing the DB in a SQLite editor. It was easier than expected

About the error message, I'm not sure this is realted to tne new firmware, new Calibre, new plug-in version or something else, I posted the error message hoping it was useful, because I'm not capable of understanding it.
@Davidfor: I tryed debug mode and here it is the result:
Spoiler:
Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 590, in initialize_plugins
File "site-packages/calibre/customize/ui.py", line 557, in initialize_plugin
InvalidPlugin: Inizializzazione del plugin Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 551, in initialize_plugin
File "calibre_plugins.dedrm.__init__", line 86, in initialize
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.dedrm.config", line 12, in <module>
ImportError: No module named PyQt4.Qt
non riuscita con messaggio:
Traceback (most recent call last):
File "site-packages/calibre/customize/ui.py", line 551, in initialize_plugin
File "calibre_plugins.dedrm.__init__", line 86, in initialize
File "site-packages/calibre/customize/zipplugin.py", line 179, in load_module
File "calibre_plugins.dedrm.config", line 12, in <module>
ImportError: No module named PyQt4.Qt

2014-12-17 17:28:48.416 calibre-debug[5668:507] CoreText performance note: Client called CTFontCreateWithName() using name "Helvetica" and got font with PostScript name "Helvetica-Light". For best performance, only use PostScript names when calling this API.
2014-12-17 17:28:48.417 calibre-debug[5668:507] CoreText performance note: Set a breakpoint on CTFontLogSuboptimalRequest to debug.
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
calibre Log di debug
calibre 2.12 isfrozen: True is64bit: True
Darwin-13.4.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '13.4.0', 'Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64')
Python 2.7.8
OSX: ('10.9.5', ('', '', ''), 'x86_64')
Failed to initialize plugin: DeDRM (6, 0, 1)
Failed to initialize plugin: u'/Users/existenz/Library/Preferences/calibre/plugins/DeDRM.zip'
Successfully initialized third party plugins: Anobii Fetcher && Modify ePub && INMONDADORI && Annotations && Count Pages && ANOBII && Kobo Utilities && KoboTouchExtended && KePub Output
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.6 No Kobo Touch, Glo or Mini appears to be connected
DEBUG: 1.6 rebuild_menus - have device.
DEBUG: 1.6 rebuild_menus - self.supports_ratings=False
Key u'A' for shortcut Apri la cartella contenente is already used by Aggiungi libri, ignoring
Key u'A' for shortcut Apri la cartella contenente is already used by Aggiungi libri, ignoring
2014-12-17 17:28:51.145 calibre-debug[5668:507] Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScriptingAdditions: dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScriptingAdditions, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScriptingAdditions: mach-o, but wrong architecture
calibre-debug: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/QXPScriptingAdditions.osax" declares no loadable handlers.
2014-12-17 17:34:01.633 Calibre[5724:507] deliverNotificationWithTitle()
* Notification delivered.
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'
Started up in 17.78 seconds with 3868 books
DEBUG: 312.6 KoboUtilities:_on_device_connection_changed - self.plugin_device_connection_changed.__class__: <type 'PyQt5.QtCore.pyqtBoundSignal'>
DEBUG: 312.6 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 Recupera informazioni sul dispositivo started
DeviceJob: 1 Recupera informazioni sul dispositivo done, calling callback
DeviceJob: 1 Recupera informazioni sul dispositivo callback returned
Job: 2 Imposta informazioni sulla biblioteca started
DeviceJob: 2 Imposta informazioni sulla biblioteca done, calling callback
DeviceJob: 2 Imposta informazioni sulla biblioteca callback returned
Job: 3 Recupera la lista dei libri del dispositivo 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 HD
DEBUG: 0.0 Version of driver: (2, 2, 20) Has kepubs: True
DEBUG: 0.0 Version of firmware: (3, 12, 0) Has kepubs: True
DEBUG: 0.0 Firmware supports cover image tree: True
DEBUG: 0.0 KoboTouch:books - opts.extra_customization= [u'#scaffale, #collana', True, True, True, True, True, True, False, True, True, False, True, u'', True, False, True, True, True, True, False, u'', 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
Job: 2 Imposta informazioni sulla biblioteca finished
Nessun dettaglio disponibile.
Job: 1 Recupera informazioni sul dispositivo finished
Nessun dettaglio disponibile.
DEBUG: 5.4 KoboTouch:books - length bl after sync=1793
DEBUG: 5.4 KoboTouch:books - reading device database
DEBUG: 5.5 Database Version=111
DEBUG: 5.5 KoboTouch:books - shelf list: []
DEBUG: 5.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) ) or (Accessibility in (-1, 4, 6) and ___UserId = '') ) 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: 20.2 KoboTouch:update_booklist - exception creating book: 'Metadata object has no attribute named: 'author''
DEBUG: 20.2 prefix: /Volumes/KOBOeReader/ lpath: title: Tvtti i trionfi, carri, mascheaate ò canti carnascialeschi andati per Firenze, dal te[m]po del… authors: Anton Francesco Grazzini,Anton Francesco Grazzini,Medici, Lorenzo de'. Trionfo di Bacco, e Darianna mime: application/octet-stream date: 2010-01-02T03:36:57.001 ContentType: 6 ImageID: AAAAAAAAAAAAAAAAAAAAAA
DEBUG: 20.5 KoboTouch:books - about to sync_booklists
DEBUG: 20.5 USBMS: starting sync_booklists
DEBUG: 24.0 USBMS: finished sync_booklists
DEBUG: 24.0 KoboTouch:books - have done sync_booklists
DEBUG: 24.0 KoboTouch:books - end - oncard='None'
DEBUG: 24.0 KoboTouch:books - oncard='carda'
DEBUG: 24.0 KoboTouch:books - oncard='carda', prefix='/Volumes/SENZATITOLO/'
DEBUG: 24.0 Kobo device: Kobo Aura HD
DEBUG: 24.0 Version of driver: (2, 2, 20) Has kepubs: True
DEBUG: 24.0 Version of firmware: (3, 12, 0) Has kepubs: True
DEBUG: 24.0 Firmware supports cover image tree: True
DEBUG: 24.0 KoboTouch:books - opts.extra_customization= [u'#scaffale, #collana', True, True, True, True, True, True, False, True, True, False, True, u'', True, False, True, True, True, True, False, u'', False]
DEBUG: 24.0 KoboTouch:books - prefs['manage_device_metadata']= manual
DEBUG: 24.0 KoboTcalibre 2.12 isfrozen: True is64bit: True
Darwin-13.4.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '13.4.0', 'Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64')
Python 2.7.8
OSX: ('10.9.5', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: Anobii Fetcher && Modify ePub && INMONDADORI && Annotations && Count Pages && ANOBII && Kobo Utilities && KoboTouchExtended && KePub Output
Traceback (most recent call last):
File "calibre_plugins.koboutilities.action", line 762, in handle_bookmarks
File "calibre_plugins.koboutilities.action", line 1642, in _get_selected_ids
File "site-packages/calibre/gui2/library/models.py", line 665, in id
AttributeError: 'KTCollectionsBookList' object has no attribute 'id'

calibre 2.12 isfrozen: True is64bit: True
Darwin-13.4.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '13.4.0', 'Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64')
Python 2.7.8
OSX: ('10.9.5', ('', '', ''), 'x86_64')
Successfully initialized third party plugins: Anobii Fetcher && Modify ePub && INMONDADORI && Annotations && Count Pages && ANOBII && Kobo Utilities && KoboTouchExtended && KePub Output
Traceback (most recent call last):
File "calibre_plugins.koboutilities.action", line 702, in update_metadata
File "calibre_plugins.koboutilities.action", line 1642, in _get_selected_ids
File "site-packages/calibre/gui2/library/models.py", line 665, in id
AttributeError: 'KTCollectionsBookList' object has no attribute 'id'


Anyway I noticed something related to this issue:
1) I have KoboTools on the contextual menu, but when I select it from there no submenu appears.
2) I Have also KoboTools in the menu bar, also from there I noticed strange behaviours, when I am in the Calibre Main library (Kobo connected of course) all the entries in KoboTools menu are greyed.
If I move to the reader's memory all the entries in KoboTools menu activates, after that they remain active also if I return to the Calibre Library.
3) the "AttributeError: 'KTCollectionsBookList' object has no attribute 'id'" happens only if I select books in the main kobo memory, and then try to use kobo tool

I hope what I wrote is clear enough, my english is far away from beeing perfect

Anyway I'm starting to think to a rude solution, totally deleting Calibre and it's preferences, then reistalling it and plugins from scratch, the only problem is I use Calibre from Years, I dont'know if I'm capable of comfiguring it again in all it's parts
eXistenZ is offline