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-10-2024, 08:12 PM   #1726
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,243
Karma: 74000000
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I wonder though. Is calibre being installed from the official Kovid site, or from the distributions own repository? Kovid tends to frown on the distribution supplied versions of calibre in that they tend to make changes for philosophical reasons which are not fully tested.

Sent from my Pixel 7a using Tapatalk
PeterT is offline   Reply With Quote
Old 05-10-2024, 10:02 PM   #1727
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: 36,419
Karma: 145748708
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by PeterT View Post
I wonder though. Is calibre being installed from the official Kovid site, or from the distributions own repository? Kovid tends to frown on the distribution supplied versions of calibre in that they tend to make changes for philosophical reasons which are not fully tested.
Given the use of Python 3.12, it's very likely to be a Linux distro installed version with an external Python install being used.
DNSB is offline   Reply With Quote
Old 05-14-2024, 11:29 PM   #1728
kiwidude
Calibre Plugins Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,642
Karma: 2162064
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Goodreads Sync v1.16.6

Release Notes
https://github.com/kiwidude68/calibr...s_sync-v1.16.6

Special thanks to StegSchreck for the contribution. This release will hopefully help those of you on Linux battling with the Python 3.12 issues...
kiwidude is offline   Reply With Quote
Old Today, 05:22 PM   #1729
Ambassador Dave
Junior Member
Ambassador Dave began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2024
Device: Kindle Paperwhite
Hi kiwidude, thank you and StegSchreck for taking a stab at helping "those of" us, much appreciated!

Quote:
Originally Posted by kiwidude View Post
Release Notes
https://github.com/kiwidude68/calibr...s_sync-v1.16.6

Special thanks to StegSchreck for the contribution. This release will hopefully help those of you on Linux battling with the Python 3.12 issues...
Unfortunately, as you suggested it can be difficult without a test environment. I happened into Calibre today to look for a book, saw the plugin update, updated & tried it. New error message:

Code:
AttributeError: 'HTTPSConnectionWithTimeout' object has no attribute 'key_file'
Long version (popup window show details)
Spoiler:
Quote:
calibre, version 7.11.0
ERROR: Unhandled exception: <b>AttributeError</b>:'HTTPSConnectionWithTimeout' object has no attribute 'key_file'

calibre 7.11 embedded-python: False
Linux-6.9.2-arch1-1-x86_64-with-glibc2.39 Linux ('64bit', 'ELF')
('Linux', '6.9.2-arch1-1', '#1 SMP PREEMPT_DYNAMIC Sun, 26 May 2024 01:30:29 +0000')
Python 3.12.3
Interface language: None
EXE path: /usr/bin/python3
Successfully initialized third party plugins: DeACSM (0, 0, 16) && DeDRM (10, 0, 3) && Goodreads Sync (1, 16, 6) && Obok DeDRM (10, 0, 3)
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.action", line 436, in search_goodreads_to_link_book
self.search_to_link_books(calibre_books)
File "calibre_plugins.goodreads_sync.action", line 458, in search_to_link_books
goodreads_id_for_isbn = self.grhttp.get_goodreads_id_for_isbn(isbn)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.goodreads_sync.core", line 416, in get_goodreads_id_for_isbn
(response, content) = self._request_get(url, suppress_status='404')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.goodreads_sync.core", line 176, in _request_get
response, content = h.request(url, method='GET')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1688, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1428, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1348, in _conn_request
conn.connect()
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1098, in connect
sock, self.key_file, self.cert_file,
^^^^^^^^^^^^^
AttributeError: 'HTTPSConnectionWithTimeout' object has no attribute 'key_file'


I'm more than glad to try out / troubleshoot / etc any other updates you may get/have to "battle" the Python updates. Unfortunately my light coding knowledge is in C++ (and some ancient expertise in Pascal & Perl) so I'm not much of a help with Python as far as proffering patches.

To address PeterT's question, yes, I use the distro's 'version' of Calibre. However, if I understand correctly, the Arch Linux 'version' simply utilizes an installer script to download and install Calibre direct from the source. Plugins are manually installed by users like me within Calibre.

DNSB's guess is correct, python is a separately maintained package for the distro. Arch Linux (and therefore Arch-based EndeavourOS) is a 'rolling' distro that updates parts as they come available.

Last, a quick apology for appearing to drop a message here then go silent. I thought by being subscribed to the topic I'd receive e-mail notifications of updates, but learned today didn't. I think I've got that turned on correctly now...
Ambassador Dave is offline   Reply With Quote
Reply

Tags
calibre, goodreads


Forum Jump

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


All times are GMT -4. The time now is 10:33 PM.


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