02-11-2020, 12:36 PM | #1336 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2020
Device: kindle PW Gen10
|
i have actually no idea if that is a "good" or "proper" way, but after digging, i found a fix for me:
Code:
diff core.py core_orig.py 219d218 < request_token = {key.decode('utf-8'): value.decode('utf-8') for (key, value) in request_token.items()} 230d228 < access_token= {key.decode('utf-8'): value.decode('utf-8') for (key, value) in access_token.items()} |
02-11-2020, 08:09 PM | #1337 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
But, did the GR page get displayed? And did you allow access from plugin? Not doing the latter would give an error, though it should get caught. Could you run calibre in debug mode and post or PM me the log? The logs will show details of the communications with GR and I should be able to see the issue. |
|
Advert | |
|
02-11-2020, 08:20 PM | #1338 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
That looks like another difference in how the different Python versions handle strings. I'll look at whether that is the right way to handle it. |
|
02-12-2020, 07:59 AM | #1339 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
02-12-2020, 06:43 PM | #1340 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2020
Device: kindle PW Gen10
|
|
Advert | |
|
03-01-2020, 09:34 AM | #1341 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2020
Location: Canada
Device: Kindle Oasis 3
|
Amazon ASIN support?
My primary source for books is Amazon. Kindle books from Amazon do not have ISBNs, and Goodreads can work much better with Amazon's ASIN when searching and matching, etc.
When performing a batch search, I find that the plugin never matches anything automatically. I had to manually search and select for thousands of books. Is it possible to support or default to using ASIN as the relational database primary key? Also, it would be really helpful to support "fuzzy search" when matching Goodreads books to Calibre books, then just present a table of fuzzy searched results for confirmation if it can have secondary options in a dropdown menu, that would be even better. |
03-01-2020, 07:03 PM | #1342 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Adding ASIN matching here would be possible. But, it would mean duplicating code from the metadata source plugin. And that means maintaining it in two places. I don't really see an advantage in doing it this way, so I don't really think it is worth the extra work. |
|
03-31-2020, 07:28 PM | #1343 |
Library Breeder (She/Her)
Posts: 1,168
Karma: 1900479
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
Ok, the updated plugin is a bit faster. About 25 seconds per hundred books synced. However, that is tested on a library that has a small .db file. about 15MB. I haven't determinined if it is a matter of it being a large database or if it has to do with having a lot of tags. The rules for sync don't make a difference.
|
03-31-2020, 07:50 PM | #1344 | |
Library Breeder (She/Her)
Posts: 1,168
Karma: 1900479
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
Quote:
I know that Calibre hangs while it updates the books via sync with the old plugin, however It took me 8:27 to sync my read shelf using the new plugin. There are 1162 books. With the older plugin it took :25.94. I know this because I set the stopwatch to start when the sync box closed out and stop when the arrow icon turned into a finger when it was hovering over the Goodreads button on the menu bar. Also, when I say update page, because the progress bar is so slow I am able to see it literally say “page 1”……….”page 2”…………”page 3” and so on. I may have saig "Updating Page 1" but I think I meant "Page 1" and each page represents a book. I am not making this up, and I am not “perceiving” it to be slower. Why would I complain for months about this if I was just making perception errors that I could easily clear up with a stopwatch? I have many times brought this up here. I understand that this is a problem that only affects me because no one would have been quiet if they were dealing with this. Also, I don't appreciate your being condescending. I know that this is a hard problem to explain, and I have tried to explain it, but since it only happens to me it sounds like I am being nit-picky, but I am not. This is a great plugin, I love it, and I have contributed to it in the past. (I think), it is an integral part of my Calibre library. So having it work right is important. I don't doubt for a minute that you made the plugin fine, but for whatever reason it isn't playing nice with my library. Last edited by Rellwood; 03-31-2020 at 07:57 PM. Reason: rephrasing |
|
03-31-2020, 08:03 PM | #1345 |
Library Breeder (She/Her)
Posts: 1,168
Karma: 1900479
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
Could having two versions of Calibre be a reason? I have the 32bit and the 64bit. Could having both versions be a reason why the plugin is slow? Is there a way outside of removing Calibre from my coputer to test it?
No. I removed the older Calibre and it still runs a bit slower. About 100 books per 30 seconds. Last edited by Rellwood; 03-31-2020 at 08:16 PM. |
04-11-2020, 05:14 PM | #1346 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2020
Device: Kindle Oasis
|
Hello,
I am getting a strange error if I try to link my books to Goodreads. Code:
calibre, version 4.13.0 ERROR: Unhandled exception: <b>IndexError</b>:list index out of range calibre 4.13 embedded-python: True is64bit: True Darwin-19.4.0-x86_64-i386-64bit Darwin ('64bit', '') ('Darwin', '19.4.0', 'Darwin Kernel Version 19.4.0: Wed Mar 4 22:28:40 PST 2020; root:xnu-6153.101.6~15/RELEASE_X86_64') Python 2.7.16 OSX: ('10.15.4', ('', '', ''), 'x86_64') Interface language: None Successfully initialized third party plugins: Goodreads More Tags (1, 1, 0) && Find Duplicates (1, 6, 3) && Goodreads Sync (1, 14, 2) && Goodreads_Rating (3, 0, 0) && Goodreads (1, 4, 0) Traceback (most recent call last): File "calibre_plugins.goodreads_sync.action", line 458, in search_goodreads_to_link_book File "calibre_plugins.goodreads_sync.action", line 504, in search_to_link_books File "calibre_plugins.goodreads_sync.dialogs", line 1096, in selected_goodreads_book File "calibre_plugins.goodreads_sync.dialogs", line 971, in selected_goodreads_book IndexError: list index out of range |
04-12-2020, 06:44 AM | #1347 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
04-12-2020, 10:33 AM | #1348 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2020
Device: Kindle Oasis
|
Quote:
I think this plugin needs some improvement: - if the book finds result -> click "Approve" or "Reject" - if the book does not find any -> click "Skip" - If you checked all books -> click "OK". |
|
04-13-2020, 01:21 AM | #1349 | |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I'll fix this, but, in the meantime, just don't press "OK" when there are no books matched. |
|
04-13-2020, 03:50 AM | #1350 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2020
Device: Kindle Oasis
|
Quote:
Thank you for your support and fixing the issue. |
|
Tags |
calibre, goodreads |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Clipboard Search | kiwidude | Plugins | 29 | 04-02-2024 10:05 PM |
[GUI Plugin] Search the Internet | kiwidude | Plugins | 433 | 04-01-2024 05:48 PM |
[GUI Plugin] Open With | kiwidude | Plugins | 403 | 04-01-2024 08:39 AM |
[GUI Plugin] Quick Preferences | kiwidude | Plugins | 62 | 03-16-2024 11:47 PM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 07:47 PM |