12-25-2014, 01:16 PM | #796 |
Connoisseur
Posts: 60
Karma: 1852838
Join Date: Jul 2007
Location: Russia
Device: Kobo Aura H₂O & iPad Pro 2020 12.9"
|
Hi.
I have a couple of authors that Kobo Utilities fail to update book covers for. I think it's because of the filename length and/or use of apostrophes: Spoiler:
All of the authors in question are local (in Russian/Cyrillic) and the generated filenames are being automatically transliterated by Calibre, if it helps. Calibre and all of the plugins are up to date. And this error was always there since I started using this plugin (since 1.8.0, IIRC). |
12-26-2014, 08:04 AM | #797 |
Grand Sorcerer
Posts: 12,172
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
David; you might be interested in this thread over in the CC forum. Set Library Information / JSON serializable error
|
Advert | |
|
12-28-2014, 08:30 PM | #798 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
12-28-2014, 08:33 PM | #799 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I also made a lot of changes over the last week. I don't remember going near this, but, I did refactor some code. And add a couple of new functions. And even updated the help! I'll probably put up a beta with this tonight. |
|
12-29-2014, 07:18 AM | #800 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
Advert | |
|
12-29-2014, 07:53 AM | #801 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Beta - Remove annotation files and Related books
Here is another beta with two new functions:
I also did some work on the help. It still needs a lot of work, but it is better than it was. I also created an ePub from it, but mainly because I was using the calibre editor to write it. As usual, I am interested in any reports on the new or existing function. Bugs with details of what went wrong will help me fix it. And any suggestions for improvements are welcome. But, I don't promise to implement them. |
12-29-2014, 08:47 AM | #802 |
Grand Sorcerer
Posts: 12,172
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
David; attached find two debug log files. Both are from the same sequence of operations
In one case, Kobo Utilities was configured NOT to backup reading location; in the other case, Kobo Utilities was configured to backup reading location. With the reading location being stored, the second attach of the Nexus 7 via Calibre Companion fails. Not sure how to proceed from here. Would you like me to try with a cleaner calibre environment (ie, calibre portable and possibly the production version of Kobo Utilities as opposed to the beta version)? |
12-29-2014, 09:33 AM | #803 |
Grand Sorcerer
Posts: 12,172
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
OK.. I retried with a simplified calibre portable installation and the production version of the utilities. Exact same error.
|
12-29-2014, 10:00 AM | #804 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Ok, I've installed the 1.8.11 beta and I've managed to get it to blow up good.
Code:
calibre, version 2.14.0 ERROR: Unhandled exception: <b>TypeError</b>:can't compare datetime.datetime to NoneType calibre 2.14 isfrozen: True is64bit: False Windows-7-6.1.7601-SP1 Windows ('32bit', 'WindowsPE') ('Windows', '7', '6.1.7601') Python 2.7.8 Windows: ('7', '6.1.7601', 'SP1', 'Multiprocessor Free') Successfully initialized third party plugins: DeDRM && Hyphenate This! && Favourites Menu && KindleUnpack - The Plugin && Count Pages && Manage Series && Kobo Utilities && Obok DeDRM && Find Duplicates && EpubSplit && Quality Check && Modify ePub Traceback (most recent call last): File "calibre_plugins.koboutilities.action", line 786, in handle_bookmarks File "calibre_plugins.koboutilities.action", line 1001, in store_current_bookmark File "calibre_plugins.koboutilities.action", line 3612, in _store_current_bookmark TypeError: can't compare datetime.datetime to NoneType I also selected ondevice:true and then selected the entire list to update the custom fields. Only one book had any values in the custom fields. |
12-29-2014, 10:14 AM | #805 |
Resident Curmudgeon
Posts: 74,037
Karma: 129333114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
In Store or Restore Bookmark, there should be options to clear the custom fields for any selected books and for any books no on the Reader.
Without this, we get a mess of in the custom fields that we might not want to keep. |
12-29-2014, 04:37 PM | #806 |
Grand Sorcerer
Posts: 6,235
Karma: 11768331
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I've tested "Remove Annotation Files => Empty" and I've got a fail: "Fail: Cleaning image directory" and the following log:
Spoiler:
Note: The failure text is "similar" as I'm using the Spanish version. |
12-29-2014, 05:58 PM | #807 |
Grand Sorcerer
Posts: 12,172
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
David; chaley has a change committed that he thought might fix the json error. I tried running from source but it didn't seem to work. https://github.com/kovidgoyal/calibre/pull/351
|
12-29-2014, 06:44 PM | #808 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Could you try the manual, non-background store? I think it will have the same error, but it does use a different code path, so maybe it won't. I just got an Android phone, so hopefully I can reproduce it with that. But, it might be the weekend before I can try. |
|
12-29-2014, 06:58 PM | #809 | |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
But, yes, I have considered adding this. I haven't bothered to because I can clear all the fields easily enough using the metadata editor. And so far the only reasons I have needed to do this has been to reset the status while testing the plugin. That makes it a very low priority for me. If I get a few people clamouring for it, maybe that will change. |
|
12-29-2014, 07:01 PM | #810 |
Grand Sorcerer
Posts: 12,172
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
|
OK... Issue is related to the background store option.
Time stamp shown is the last read time. If I do a non-background store, no issue. If I do a background store, failure. (Both runs in the same attached log; calibre restarted between runs) |
Tags |
kobo, kobo utilities |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Manga plugin | mastertea | Plugins | 6 | 01-06-2022 02:43 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
Kobo Utilities Plugin Question | nikev | Kobo Reader | 10 | 09-25-2018 11:55 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |