Grand Sorcerer
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Originally Posted by thiago.eec
I've got some errors with beta 5.99.11:
1) Clicking on "Find annotations":
Spoiler:
Code:
calibre, version 5.99.11
ERRO: Exceção sem tratamento: <b>AttributeError</b>:'QDateTime' object has no attribute 'toTime_t'
calibre 5.99.11 embedded-python: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.10.1
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: pt_BR
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 49, 0) && DeDRM (10, 0, 2) && Package KFX (from KFX Input) (1, 49, 0) && ACE (1, 1, 4) && Annotations (1, 17, 6) && Calibre Power Search Plugin (2, 1, 2) && Check Books (0, 1, 2) && Count Pages (1, 11, 2) && Diaps Editing Toolbag (0, 3, 7) && EpubCheck (0, 2, 4) && EpubMerge (2, 13, 0) && EpubSplit (3, 3, 0) && Find Duplicates (1, 9, 5) && Goodreads (1, 5, 3) && KFX metadata reader (from KFX Input) (1, 49, 0) && KFX Input (1, 49, 0) && Set KFX metadata (from KFX Output) (1, 63, 0) && KFX Output (1, 63, 0) && KindleUnpack - The Plugin (0, 83, 1) && Open With (1, 7, 1) && Quality Check (1, 12, 0) && Skoob Books (1, 5, 4) && Skoob Sync (0, 4, 7) && Sum Column (0, 3, 1) && TTS to MP3 (0, 6, 0)
Traceback (most recent call last):
File "calibre_plugins.annotations.find_annotations", line 310, in inventory_available
File "calibre_plugins.annotations.find_annotations", line 371, in update_results
AttributeError: 'QDateTime' object has no attribute 'toTime_t'
2) Fetching annotations from a Kindle Paperwhite 7th Gen:
Spoiler:
Code:
calibre, version 5.99.11
ERRO: Exceção sem tratamento: <b>TypeError</b>:QTableView.sortByColumn(): argument 2 has unexpected type 'int'
calibre 5.99.11 embedded-python: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.10.1
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: pt_BR
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 49, 0) && DeDRM (10, 0, 2) && Package KFX (from KFX Input) (1, 49, 0) && ACE (1, 1, 4) && Annotations (1, 17, 6) && Calibre Power Search Plugin (2, 1, 2) && Check Books (0, 1, 2) && Count Pages (1, 11, 2) && Diaps Editing Toolbag (0, 3, 7) && EpubCheck (0, 2, 4) && EpubMerge (2, 13, 0) && EpubSplit (3, 3, 0) && Find Duplicates (1, 9, 5) && Goodreads (1, 5, 3) && KFX metadata reader (from KFX Input) (1, 49, 0) && KFX Input (1, 49, 0) && Set KFX metadata (from KFX Output) (1, 63, 0) && KFX Output (1, 63, 0) && KindleUnpack - The Plugin (0, 83, 1) && Open With (1, 7, 1) && Quality Check (1, 12, 0) && Skoob Books (1, 5, 4) && Skoob Sync (0, 4, 7) && Sum Column (0, 3, 1) && TTS to MP3 (0, 6, 0)
Traceback (most recent call last):
File "calibre_plugins.annotations.action", line 363, in fetch_usb_connected_device_annotations
File "calibre_plugins.annotations.action", line 410, in fetch_usb_device_annotations
File "calibre_plugins.annotations.action", line 305, in fetch_device_annotations
File "calibre_plugins.annotations.annotated_books", line 333, in __init__
TypeError: QTableView.sortByColumn(): argument 2 has unexpected type 'int'
|
I could have sworn that I tested the find with the beta yesterday. And the second is because you have set the sort order in the annotations import dialog. Both are dues to changes in how the Qt enumerations are done. I have fixed these, plus a couple of others in the attached beta. And added handling so they should be backwards compatible with calibre 3.48. There are probably still some to be found, but, hopefully not to many.
|