View Single Post
Old 12-27-2020, 09:38 AM   #811
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,217
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Hi, David.

I having some issues with Kindle Paperwhite.

1) When I click to fetch annotations, the list of Annotations is loaded and then this error appears:

Spoiler:

calibre, version 5.8.1
ERRO: Exceção sem tratamento: <b>TypeError</b>:'&lt;' not supported between instances of 'NoneType' and 'NoneType'

calibre 5.8.1 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: pt_BR
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 36, 0) && Package KFX (from KFX Input) (1, 36, 0) && ACE (1, 1, 1) && Annotations (1, 14, 0) && Calibre Power Search Plugin (1, 7, 0) && Count Pages (1, 11, 0) && Diaps Editing Toolbag (0, 3, 7) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && EpubSplit (3, 0, 0) && Find Duplicates (1, 8, 3) && Goodreads (1, 5, 1) && Goodreads Sync (1, 15, 0) && KFX metadata reader (from KFX Input) (1, 36, 0) && KFX Input (1, 36, 0) && Set KFX metadata (from KFX Output) (1, 47, 0) && KFX Output (1, 47, 0) && KindleUnpack - The Plugin (0, 82, 3) && LanguageTool (0, 1, 1) && Open With (1, 5, 13) && ScrambleEbook (0, 4, 5) && Skoob Books (1, 5, 0) && Skoob Sync (0, 3, 6) && Sum Column (0, 3, 1) && TTS to MP3 (0, 5, 8)
Traceback (most recent call last):
File "calibre_plugins.annotations.annotated_books", line 168, in sort
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'



2) After the error above, if I click on the Help button (on annotations window), it freezes calibre. This is the whole log from calibre-debug, after forcing it to close:
Spoiler:

calibre 5.8.1 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: pt_BR
Failed to initialize plugin: 'C:\\Users\\go_th\\AppData\\Roaming\\calibre\\plug ins\\DeDRM.zip'
Traceback (most recent call last):
File "calibre\customize\ui.py", line 703, in initialize_plugins
File "calibre\customize\ui.py", line 61, in load_plugin
File "calibre\customize\zipplugin.py", line 293, in load
File "importlib\__init__.py", line 127, in import_module
File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
File "<frozen importlib._bootstrap>", line 991, in _find_and_load
File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "calibre\customize\zipplugin.py", line 185, in exec_module
File "calibre\customize\zipplugin.py", line 181, in get_code
File "calibre_plugins.dedrm.__init__", line 168
print u"{0} v{1}: Copying needed library files from plugin's zip".format(PLUGIN_NAME, PLUGIN_VERSION)
^
SyntaxError: invalid syntax
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 36, 0) && Package KFX (from KFX Input) (1, 36, 0) && ACE (1, 1, 1) && Annotations (1, 14, 0) && Calibre Power Search Plugin (1, 7, 0) && Count Pages (1, 11, 0) && Diaps Editing Toolbag (0, 3, 7) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && EpubSplit (3, 0, 0) && Find Duplicates (1, 8, 3) && Goodreads (1, 5, 1) && Goodreads Sync (1, 15, 0) && KFX metadata reader (from KFX Input) (1, 36, 0) && KFX Input (1, 36, 0) && Set KFX metadata (from KFX Output) (1, 47, 0) && KFX Output (1, 47, 0) && KindleUnpack - The Plugin (0, 82, 3) && LanguageTool (0, 1, 1) && Open With (1, 5, 13) && ScrambleEbook (0, 4, 5) && Skoob Books (1, 5, 0) && Skoob Sync (0, 3, 6) && Sum Column (0, 3, 1) && TTS to MP3 (0, 5, 8)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 120.0 x 120.0
physicalDpi: 141.7674418604651 x 141.4020618556701
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.66] splash screen shown
[0.66] Initializing db...
[0.74] db initialized
[0.74] Constructing main UI...
DEBUG: 0.0 Annotations plugin: Error loading libiMobileDevice. This hasn't worked for a while, and is blacklisted in calibre v3.
DEBUG: 0.0 Annotations plugin: Error is: No module named 'calibre.devices.idevice'
DEBUG: 0.0 Annotations::reader_app_support.py - loading translations
DEBUG: 0.0 Annotations::common_utils.py - loading translations
DEBUG: 0.0 Annotations::appearance.py - loading translations
DEBUG: 0.0 Annotations::config.py - loading translations
DEBUG: 0.0 Annotations::annotated_books.py - loading translations
DEBUG: 0.1 Annotations::action.py - loading translations
DEBUG: 0.0 Goodreads Sync::dialogs.py - loading translations
DEBUG: 0.0 GoodreadsSync::action.py - loading translations
EpubMerge: DEBUG: 2020-12-27 10:19:52,920: calibre_plugins.epubmerge.epubmerge_plugin(158): macmenuhack file_path:C:\Users\go_th\AppData\Roaming\calibre\p lugins\fanficfare_macmenuhack.txt
DEBUG: 1.3 HttpHelper::__init__: proxy=None
[2.59] main UI initialized...
[2.59] Hiding splash screen
Starting QuickView
[3.53] splash screen hidden
[3.53] Started up in 3.53 seconds with 1328 books
Storage number map:
{(7, 0): [(3, 'C')],
(7, 1): [(1, 'D'), (2, 'Z')],
(7, 2): [(1, 'F')],
(7, 4): [(1, 'G')]}
Storage number for USBSTOR\DISK&VEN_KINDLE&PROD_INTERNAL_STORAGE&REV_ 0100\G090KB03824406RQ&0: StorageDeviceNumber(type=7, number=4, partition_number=0)
Drive letters for USBDevice(vendor_id=0x1949 product_id=0x4 bcd=0x100 devid=usb\vid_1949&pid_0004&rev_0100 devinst=5)
{'drive_letters': ['G'],
'pnp_id_map': {'G': '\\\\?\\usbstor#disk&ven_kindle&prod_internal_stor age&rev_0100#g090kb03824406rq&0#{53f56307-b6bf-11d0-94f2-00a0c91efb8b}'},
'readonly_drives': set(),
'sort_map': {'G': (4, 1)}}
Syncing cover thumbnails to workaround amazon cover bug
Restored 0 cover thumbnails that were destroyed by Amazon
Shortcut for 'Interface Action: Annotations (Annotations) - Find annotations' already registered by Find annotations
Job: 0 Obter informações do dispositivo started
DeviceJob: 0 Obter informações do dispositivo done, calling callback
DeviceJob: 0 Obter informações do dispositivo callback returned
Job: 1 Definir informações da biblioteca started
DeviceJob: 1 Definir informações da biblioteca done, calling callback
DeviceJob: 1 Definir informações da biblioteca callback returned
Job: 2 Obter listagem de livros do dispositivo started
DEBUG: 6.6 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= None
DEBUG: 6.6 USBMS: dirs are: G:\ documents
DEBUG: 6.7 USBMS: scan from root False G:\documents
DEBUG: 6.9 USBMS: count found in cache: 181, count of files in metadata: 181, need_sync: False
DEBUG: 6.9 USBMS: Finished fetching list of books from device. oncard= None
DEBUG: 6.9 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= carda
DEBUG: 6.9 USBMS: Fetching list of books from device. Device= KINDLE2 oncard= cardb
DeviceJob: 2 Obter listagem de livros do dispositivo done, calling callback
DeviceJob: metadata_downloaded: Starting set_books_in_library
DeviceJob: set_books_in_library: books to process= 181
DeviceJob: set_books_in_library finished: time= 0.009002447128295898
DeviceJob: metadata_downloaded: updating views
DeviceJob: metadata_downloaded: syncing
DeviceJob: metadata_downloaded: refreshing ondevice
DeviceJob: metadata_downloaded: sending metadata_available signal
DeviceJob: 2 Obter listagem de livros do dispositivo callback returned
Job: 0 Obter informações do dispositivo finished
Nenhum detalhe disponível.
Job: 2 Obter listagem de livros do dispositivo finished
Nenhum detalhe disponível.
Job: 1 Definir informações da biblioteca finished
Nenhum detalhe disponível.
Shortcut for 'Interface Action: Annotations (Annotations) - Find annotations' already registered by Find annotations
Shortcut for 'Interface Action: Annotations (Annotations) - Find annotations' already registered by Find annotations
Job: 2 Obter listagem de livros do dispositivo finished
Nenhum detalhe disponível.
calibre 5.8.1 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: pt_BR
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 36, 0) && Package KFX (from KFX Input) (1, 36, 0) && ACE (1, 1, 1) && Annotations (1, 14, 0) && Calibre Power Search Plugin (1, 7, 0) && Count Pages (1, 11, 0) && Diaps Editing Toolbag (0, 3, 7) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && EpubSplit (3, 0, 0) && Find Duplicates (1, 8, 3) && Goodreads (1, 5, 1) && Goodreads Sync (1, 15, 0) && KFX metadata reader (from KFX Input) (1, 36, 0) && KFX Input (1, 36, 0) && Set KFX metadata (from KFX Output) (1, 47, 0) && KFX Output (1, 47, 0) && KindleUnpack - The Plugin (0, 82, 3) && LanguageTool (0, 1, 1) && Open With (1, 5, 13) && ScrambleEbook (0, 4, 5) && Skoob Books (1, 5, 0) && Skoob Sync (0, 3, 6) && Sum Column (0, 3, 1) && TTS to MP3 (0, 5, 8)
Traceback (most recent call last):
File "calibre_plugins.annotations.annotated_books", line 168, in sort
TypeError: '<' not supported between instances of 'NoneType' and 'NoneType'

calibre 5.8.1 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: pt_BR
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 36, 0) && Package KFX (from KFX Input) (1, 36, 0) && ACE (1, 1, 1) && Annotations (1, 14, 0) && Calibre Power Search Plugin (1, 7, 0) && Count Pages (1, 11, 0) && Diaps Editing Toolbag (0, 3, 7) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && EpubSplit (3, 0, 0) && Find Duplicates (1, 8, 3) && Goodreads (1, 5, 1) && Goodreads Sync (1, 15, 0) && KFX metadata reader (from KFX Input) (1, 36, 0) && KFX Input (1, 36, 0) && Set KFX metadata (from KFX Output) (1, 47, 0) && KFX Output (1, 47, 0) && KindleUnpack - The Plugin (0, 82, 3) && LanguageTool (0, 1, 1) && Open With (1, 5, 13) && ScrambleEbook (0, 4, 5) && Skoob Books (1, 5, 0) && Skoob Sync (0, 3, 6) && Sum Column (0, 3, 1) && TTS to MP3 (0, 5, 8)
Traceback (most recent call last):
File "calibre_plugins.annotations.annotated_books", line 434, in show_annotated_books_dialog_clicked
File "calibre_plugins.annotations.annotated_books", line 442, in show_help
File "calibre_plugins.annotations.common_utils", line 510, in __init__
TypeError: QTextEdit.setHtml(): argument 1 has unexpected type 'bytes'
thiago.eec is offline   Reply With Quote