Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 05-12-2024, 09:03 AM   #46
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 490
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Quote:
Originally Posted by Bradles View Post
I've uploaded a new version which fixes the 403 Forbidden error. As I suspected, Cloudflare was blocking the request due to the user agent, so it was simply a matter of adding a header to the request.

calibre should recognize there's an updated version in the fullness of time.
Error is back
Wiggo is offline   Reply With Quote
Old 05-12-2024, 08:49 PM   #47
Bradles
Connoisseur
Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.
 
Bradles's Avatar
 
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
Thanks for bringing that to my attention Wiggo. It seems the user agent needed to be changed again. I've uploaded a new version that should fix the error. If not, let me know...
Bradles is offline   Reply With Quote
Advert
Old 05-14-2024, 11:21 AM   #48
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 490
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Works again.

Thank you so much, Bradles!
Wiggo is offline   Reply With Quote
Old 05-14-2024, 03:51 PM   #49
tlwright
Member
tlwright began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Oct 2018
Device: Android tablet; Kindle PW; Fire 10
Not sure if it's from the update or an older version but I'm unable to load my LT books to match in Calibre. Gives me an error
Quote:
" JSONDecodeError('Expecting value: line 1 column 1 (char 0)')
I went to make sure my username was correct and I was signed into the site. I have my settings as a screenshot if that helps.

Last edited by tlwright; 05-14-2024 at 03:54 PM. Reason: removed image
tlwright is offline   Reply With Quote
Old 05-14-2024, 07:27 PM   #50
Bradles
Connoisseur
Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.
 
Bradles's Avatar
 
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
Quote:
Originally Posted by tlwright View Post
JSONDecodeError
Some possibilities with this error:
  • Max results is not filled in.
  • Your config file is empty or corrupt. Physically check the file in the calibre config file location, which for me is
    Code:
    C:\Users\(username)\AppData\Roaming\calibre\plugins
  • There's a non-printing character in a book title. try changing to the "sample" library (user: sample, collection empty and taglist empty) and doing a test connection

If no luck I'll look into it further.
Bradles is offline   Reply With Quote
Advert
Old 05-21-2024, 03:14 PM   #51
tlwright
Member
tlwright began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Oct 2018
Device: Android tablet; Kindle PW; Fire 10
Sorry it took me so long to reply, I hadn't opened calibre in a week, and didn't remember to check here earlier.

Code:
{
  "librarything_coll": "All collections",
  "librarything_id_column": "#librarything_id",
  "librarything_key": "not required",
  "librarything_rating_column": "#librarything_rating",
  "librarything_sort": "author,title",
  "librarything_taglist": "",
  "librarything_user": "tlwright",
  "max_results": "100",
  "probable_match_threshold": "90",
  "use_calibre_identifier": true
}
is the contents of my file, and I've attached a screenshot of the error message plus what it looks like after I click the LT match icon in my toolbar.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-05-21 140953 (Medium).png
Views:	116
Size:	739.5 KB
ID:	208425  
tlwright is offline   Reply With Quote
Old 05-21-2024, 09:01 PM   #52
Bradles
Connoisseur
Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.
 
Bradles's Avatar
 
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
tlwright:

I strongly suspect that the issue is weird characters in one or more book titles or author fields in LT. For example, you have this book in your collection:



Note that foreign language characters (Unicode) and accents (ë, õ, â, etc.) should be fine.

The method I am using to retrieve your LT books is "all or nothing". I either get all the books or nothing at all, so I can't "check" the books for errors before displaying.

I was able to retrieve your books using the tag Cooking, so there's nothing wrong with your configuration or library.

I'll reach out to the calibre "Development" forum and see if there's any way to improve the situation.

In the meantime, if you're really set on using LT Match, you could check your LT catalog for weird characters in the title or author fields. Exporting your catalog to Excel might be the easiest way to do this.
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-05-22 074617.png
Views:	249
Size:	2.8 KB
ID:	208429  
Bradles is offline   Reply With Quote
Old 05-24-2024, 04:18 AM   #53
tlwright
Member
tlwright began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Oct 2018
Device: Android tablet; Kindle PW; Fire 10
It looks like I need to do a little cleanup in my library, lol. Thank you! I'll do some housekeeping, and see if that fixes the issue. LT did some funky things to a previous GR import, so that may be the cause.
tlwright is offline   Reply With Quote
Old 05-24-2024, 08:06 PM   #54
Bradles
Connoisseur
Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.
 
Bradles's Avatar
 
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
Yeah, you're not the first user to face this issue...

I did some more research and found that LibraryThing returns no results if any book in the result set has corrupt data. The response code is 200 (OK) but 0 bytes are returned to LT Match and that's why I'm getting an error trying to interpret 0 bytes as if it was data. I can handle this scenario better in terms of showing a more informative error message, but that doesn't help you much.

I've reached out to the LibraryThing developers, to see if the situation can be improved from their end. I'm not expecting to hear back until after the holiday weekend.

Update: LT Support are not able to offer support as the LT APIs are "officially" disabled (but really only not supported) while they work on the LT redesign. (5 years and counting.)

Last edited by Bradles; 05-28-2024 at 07:57 PM. Reason: Response from LT Support
Bradles is offline   Reply With Quote
Old 09-01-2024, 02:06 AM   #55
slk33
Junior Member
slk33 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2024
Device: windows
Hi,
I did downloaded and ran a match a couple of days ago. I've since then added some books that were in Calibre to LT and went to do a match again and it's not loading any of the recently added books.
Originally, I had 2717 books in LT. Today I have 2732, but it's still only loading 2717.
Suggestions?
Thanks.
slk33 is offline   Reply With Quote
Old 09-01-2024, 04:27 PM   #56
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,447
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by slk33 View Post
Hi,
I did downloaded and ran a match a couple of days ago. I've since then added some books that were in Calibre to LT and went to do a match again and it's not loading any of the recently added books.
Originally, I had 2717 books in LT. Today I have 2732, but it's still only loading 2717.
Suggestions?
Thanks.
LibraryThing is using Cloudflare and that could be blocking you. Since @Bradles has not been on since July 21, I suggest you PM him with your problem.

But before you can PM, you have to go to the Feedback forum and find the thread to request PMs be enabled as you don't have enough posts for PMs to be enabled.

Last edited by JSWolf; 09-01-2024 at 04:30 PM.
JSWolf is offline   Reply With Quote
Old 09-01-2024, 04:34 PM   #57
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 40,555
Karma: 157444380
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by JSWolf View Post
LibraryThing is using Cloudflare and that could be blocking you. Since @Bradles has not been on since July 21, I suggest you PM him with your problem.

But before you can PM, you have to go to the Feedback forum and find the thread to request PMs be enabled as you don't have enough posts for PMs to be enabled.
Jon, as near as I can tell, @slk33 already has PM access. Please note that PM access has little if anything to do with the number of posts since looking at the Kobo µSD card requests thread, close to 80% of the first time posters have PMs enabled.

In other words, please check your facts before posting!
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2024-09-01 123420.png
Views:	50
Size:	15.8 KB
ID:	210541  
DNSB is offline   Reply With Quote
Old 09-01-2024, 06:58 PM   #58
Bradles
Connoisseur
Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.Bradles is not intimidated by interfenestral monkeys.
 
Bradles's Avatar
 
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
Quote:
Originally Posted by slk33 View Post
Hi,
I did downloaded and ran a match a couple of days ago. I've since then added some books that were in Calibre to LT and went to do a match again and it's not loading any of the recently added books.
Originally, I had 2717 books in LT. Today I have 2732, but it's still only loading 2717.
Suggestions?
Thanks.
Hi slk33,

Please check that your settings in LibraryThing Match "match" the properties of the books you have added:
  • LibraryThing collection (I set it to "All collections")
  • LibraryThing taglist (optional, but make sure you're not excluding newly added books if it is filled in)
  • Max results (make sure it is large enough to return all books)
Also, make sure you're newly added books aren't marked "Private" in LT. LT Match can only see public books in a public catalog.

If still no luck, we'll look into it further...
Bradles is offline   Reply With Quote
Old 09-01-2024, 08:38 PM   #59
slk33
Junior Member
slk33 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Aug 2024
Device: windows
So I tried it again, without changing anything, and it loaded the newly added books.
Perhaps it has something to do with when the upload it or whatever to Cloudflare?
I'm going to add about 200 more books tonight, as soon as I can figure out how to make a column for the isbn so I can import them.
I'll try to load the new LT list tomorrow and let you know what happens.
Thanks for the prompt response!
slk33 is offline   Reply With Quote
Old 09-08-2024, 12:47 PM   #60
Wiggo
Leftutti
Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.Wiggo ought to be getting tired of karma fortunes by now.
 
Wiggo's Avatar
 
Posts: 490
Karma: 1153449
Join Date: Feb 2019
Location: Bavaria
Device: iPad Pro, Kobo Libra 2
Hi Bradles

Loading LT books I get this error
Quote:
<HTTPError 524: ''>
Edit: I don't know why, but it worked on the 4th attempt - sorry

Edit2: Tested a few more times and still works. Must have caught an unfavourable moment earlier

Last edited by Wiggo; 09-08-2024 at 01:07 PM.
Wiggo is offline   Reply With Quote
Reply

Tags
calibre, librarything, ltmatch


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] Save Virtual Libraries To Column (GUI) chaley Plugins 14 04-04-2021 06:25 AM
LibraryThing Match plugin - beta testers wanted Bradles Calibre 19 03-19-2021 04:55 AM
LibraryThing Match (calibre plugin) coming soon Bradles Plugins 5 02-18-2021 07:05 AM
LibraryThing metadata download plugin rtype Plugins 30 09-08-2015 08:24 PM
Librarything using Ctrl-D in GUI bwk Calibre 24 04-03-2012 12:34 PM


All times are GMT -4. The time now is 01:09 PM.


MobileRead.com is a privately owned, operated and funded community.