View Single Post
Old 12-30-2020, 03:03 PM   #5087
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,999
Karma: 4604635
Join Date: Dec 2011
Location: Midwest USA
Device: Kobo Clara Colour running KOReader
New Test Version Posted

2020-12-30
- Make included certifi and requests use same tmp file code and store under calibre tmp dir for cleanup.

@bigwoof's report pointed out that the certifi code wasn't doing what I thought it did and was, in fact, creating a new copy of the cacert.pem in a tmp file every time it was called.

Which lead me to look around a little more and realize that the requests.extract_zipped_paths() code extracted a data file once, but then never updated it. Ever. It would only get replaced if cleaned out of tmp. Which is an obscure bug just waiting to happen some day.

Now both temp files are created under Calibre's tmp dir and will therefore be refreshed each time Calibre is restarted.

I have no idea if it will help with the "Could not find a suitable TLS CA certificate bundle" reports, but we can hope.

Quote:
Originally Posted by ILB View Post
Hi,
I´m not sure if it´s a FFF or Calibre thing:
When I click on the title or author on the first page of my book (“title_page” in edit book)
Attachment 184378
the link doesn´t open automatically in my browser anymore.
I have to use “right click - copy link” and then paste it in my browser.

So far, a click on title or author opened the browser directly. Was there a change?
No change to that code in FFF. Although, it is customizable; so I can't promise you didn't change it.

Clicking those links in Calibre GUI reader works fine for me. In Edit Book, I now have to right-click->Open link.

If that's what you're talking about, I assume it's a deliberate change in Edit Book.
JimmXinu is online now   Reply With Quote