View Single Post
Old 10-12-2020, 06:54 PM   #1408
Macondo
Member
Macondo began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jan 2017
Device: kindle paperwhite 3
OK, same problem which I desribed in post https://www.mobileread.com/forums/sh...postcount=1398
I didn't get the answer so I had to try to inspect problem more deeper by myself (even I'm not developer) and to find where mistake is. And I found it, just do not know how to solve it. Problem is with authorisation with goodreads. Here are details what I tried.

So, I tried several options:
Option one: uninstall goodreads and goodreads_sync plugins and install it again.
This didn't work. Again when I tried to link book to goodreads, I get same message:

here is the log I get in show details:
Quote:
calibre, version 5.2.0
ERROR: Unhandled exception: <b>SSLError</b>:[ASN1] nested asn1 error (_ssl.c:4145)

calibre 5.2 Portable embedded-python: True is64bit: False
Windows-10-10.0.19041-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: Count Pages (1, 10, 0) && DOC Input (1, 0, 1) && EpubMerge (2, 11, 0) && EpubSplit (2, 9, 0) && Extract ISBN (1, 5, 0) && Fantastic Fiction (1, 4, 0) && Find Duplicates (1, 7, 2) && Goodreads (1, 5, 1) && Goodreads Sync (1, 14, 6) && Goodreads_Rating (3, 1, 0) && Hyphenate This! (0, 1, 3) && KindleUnpack - The Plugin (0, 82, 3) && Manage Series (1, 2, 11) && Quality Check (1, 10, 1) && Reading List (1, 6, 15)
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 480, in search_to_link_books
File "calibre_plugins.goodreads_sync.core", line 421, in get_goodreads_id_for_isbn
File "calibre_plugins.goodreads_sync.core", line 178, in _request_get
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 1561, in request
File "calibre_plugins.goodreads_sync.httplib2.__init__" , line 999, in __init__
File "http\client.py", line 1394, in __init__
File "ssl.py", line 750, in create_default_context
File "ssl.py", line 574, in load_default_certs
File "ssl.py", line 566, in _load_windows_store_certs
ssl.SSLError: [ASN1] nested asn1 error (_ssl.c:4145)
option two: I started my backup calibre portable 4.23.0 on same computer, with plugins goodreads 1.4.0 and goodreads_sync 1.14.3 and everything working just fine.

option three: I installed calibre portable 5.2.0 in another folder on same computer, installed latest goodreads plugins from calibre, and then I saw another problem (with authorization with goodreads). And I get same message:
and the same log file for error.
Even when I tried to click on Help (in the right top corner) I get message:


Quote:
calibre, version 5.2.0
ERROR: Unhandled exception: <b>TypeError</b>:write() argument must be str, not bytes

calibre 5.2 Portable embedded-python: True is64bit: False
Windows-10-10.0.19041-SP0 Windows ('32bit', 'WindowsPE')
32bit process running on 64bit windows
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free')
Interface language: en_GB
Successfully initialized third party plugins: Goodreads (1, 5, 1) && Goodreads Sync (1, 14, 3)
Traceback (most recent call last):
File "calibre_plugins.goodreads_sync.config", line 1041, in help_link_activated
File "calibre_plugins.goodreads_sync.action", line 873, in show_help
File "calibre_plugins.goodreads_sync.action", line 871, in get_help_file_resource
TypeError: write() argument must be str, not bytes
I tried one more option:
I installed latest portable version on another computer, installed calibre plugins for goodreads from it, I authorized app with goodreads with no problem, linked book but when I tried to search for another edition I get message like ptomic, so I installed google_sync_beta from above post and again everything works fine.

So I am really stuck how is it possible and how to solve it. First I started thinking that problem is my computer, but again how is it possible that on same computer, in one version everything works fine in another not, and on another computer that version works just fine.
Macondo is offline   Reply With Quote