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 01-08-2021, 01:47 PM   #46
thehornet
Junior Member
thehornet began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2021
Device: Kobo Glo HD
Hi!
I have updated Calibre today to 5.9. and I have 1.1.7 extension of Moly_hu (OS is Win10).
It is not working.
Here is the log of the problem:
Quote:
calibre, version 5.9.0
HIBA: Nincs találat: <p>Nem sikerült találni olyan könyveket, amelyek megfelelnek a keresésnek. Próbálkozzon <b>részletesebb</b> kereséssel. Például csak a szerző nevét és egyetlen megkülönböztető szót használjon a címből. <p>A teljes napló megtekintéséhez kattintson a "Részletek" gombra.

Running identify query with parameters:
{'title': 'A szekta', 'authors': ['Nick Cutter'], 'identifiers': {'isbn': '9789634192749', 'mobi-asin': 'f2e60088-07dc-4508-ae4f-5ade11f23728'}, 'timeout': 30}
Using plugins: Moly_hu (1, 1, 7)
The log from individual plugins is below

****************************** Moly_hu (1, 1, 7) ******************************
Found 0 results
Downloading from Moly_hu took 0.019215822219848633
Title: A szekta
Authors: ['Nick Cutter']

Plugin Moly_hu failed
Traceback (most recent call last):
File "calibre\ebooks\metadata\sources\identify.py", line 47, in run
File "calibre_plugins.moly_hu.__init__", line 55, in identify
File "calibre\__init__.py", line 312, in browser
File "calibre\utils\browser.py", line 48, 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)

************************************************** ******************************
The identify phase took 0.21 seconds
The longest time (0.019216) was taken by: Moly_hu
Merging results from different sources
We have 0 merged results, merging took: 0.00 seconds
What is the problem?
thehornet is offline   Reply With Quote
Old 04-23-2021, 09:26 AM   #47
Danceboy
Junior Member
Danceboy began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2020
Device: PocketBook Basic 3 614
Thank you very much!
Danceboy is offline   Reply With Quote
Advert
Old 10-06-2021, 01:20 PM   #48
MicPooh
Junior Member
MicPooh began at the beginning.
 
MicPooh's Avatar
 
Posts: 3
Karma: 10
Join Date: Oct 2021
Device: Kindle
Hello,
I have updated Calibre today to 5.28. and I have 1.1.7 extension of Moly_hu and have only problems even which books I try.
Here is the LOG:

calibre, version 5.28.0
HIBA: Nincs találat: <p>Nem sikerült találni olyan könyveket, amelyek megfelelnek a keresésnek. Próbálkozzon <b>részletesebb</b> kereséssel. Például csak a szerző nevét és egyetlen megkülönböztető szót használjon a címből. <p>A teljes napló megtekintéséhez kattintson a "Részletek" gombra.

Running identify query with parameters:
{'title': 'Alexandre Sargos', 'authors': ['Az ifjú Tolkien'], 'identifiers': {'mobi-asin': 'c2fb7f29-70ef-4e25-9ca4-8d77fde47054'}, 'timeout': 30}
Using plugins: Moly_hu (1, 1, 7)
The log from individual plugins is below

****************************** Moly_hu (1, 1, 7) ******************************
Found 0 results
Downloading from Moly_hu took 0.17680716514587402
Title: Alexandre Sargos
Authors: ['Az ifjú Tolkien']

search_title: Alexandre%20Sargos
search_author: Az%20ifj%C3%BA%20Tolkien
search_page: https://moly.hu/kereses?utf8=%E2%9C%...andre%20Sargos
Querying: https://moly.hu/kereses?utf8=%E2%9C%...andre%20Sargos
Failed to make identify query: 'https://moly.hu/kereses?utf8=%E2%9C%93&q=Az%20ifj%C3%BA%20Tolkien+ Alexandre%20Sargos'
Traceback (most recent call last):
File "mechanize\_urllib2_fork.py", line 1236, in do_open
File "http\client.py", line 1255, in request
File "http\client.py", line 1301, in _send_request
File "http\client.py", line 1250, in endheaders
File "http\client.py", line 1010, in _send_output
File "http\client.py", line 950, in send
File "http\client.py", line 1424, in connect
File "ssl.py", line 500, in wrap_socket
File "ssl.py", line 1040, in _create
File "ssl.py", line 1309, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "calibre_plugins.moly_hu.__init__", line 65, in identify
File "mechanize\_mechanize.py", line 257, in open
File "mechanize\_mechanize.py", line 287, in _mech_open
File "mechanize\_opener.py", line 193, in open
File "mechanize\_urllib2_fork.py", line 425, in _open
File "mechanize\_urllib2_fork.py", line 414, in _call_chain
File "calibre\utils\browser.py", line 29, in https_open
File "mechanize\_urllib2_fork.py", line 1240, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)>

************************************************** ******************************
The identify phase took 0.21 seconds
The longest time (0.176807) was taken by: Moly_hu
Merging results from different sources
We have 0 merged results, merging took: 0.00 seconds
MicPooh is offline   Reply With Quote
Old 10-06-2021, 11:50 PM   #49
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
As the error says, the certificate your computer has for this site has expired. On Windows, this is in a common store. If you visit the site with the current Microsoft browser, it should update the certificate.
davidfor is offline   Reply With Quote
Old 10-07-2021, 01:11 PM   #50
MicPooh
Junior Member
MicPooh began at the beginning.
 
MicPooh's Avatar
 
Posts: 3
Karma: 10
Join Date: Oct 2021
Device: Kindle
Quote:
Originally Posted by davidfor View Post
As the error says, the certificate your computer has for this site has expired. On Windows, this is in a common store. If you visit the site with the current Microsoft browser, it should update the certificate.
Yes, tried to visit with different browsers, reinstalled etc. still the same...
MicPooh is offline   Reply With Quote
Advert
Old 10-07-2021, 02:00 PM   #51
MicPooh
Junior Member
MicPooh began at the beginning.
 
MicPooh's Avatar
 
Posts: 3
Karma: 10
Join Date: Oct 2021
Device: Kindle
Quote:
Originally Posted by MicPooh View Post
Yes, tried to visit with different browsers, reinstalled etc. still the same...
Finally works now after many reinstall, refresh etc. Thanks
MicPooh is offline   Reply With Quote
Old 10-10-2021, 06:18 AM   #52
janus45
Junior Member
janus45 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Sep 2013
Device: Onyx Boox M92
Hi MicPooh!

Could you send brief description your solution, I have the same problem and I didn't find
the resolution two days ago.

Thanks in advance,
janus45
janus45 is offline   Reply With Quote
Old 10-14-2021, 02:27 AM   #53
Zoozo
Junior Member
Zoozo began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Oct 2021
Device: Kobo Forma
I have the following problem, did anyone enounter similar issue?
Is this a problem with the plugin or with moly.hu?
The details query URL-s only work (when I copy it in a browser) when I am logged in to moly.hu.
Thank you.

--------------------------

calibre, version 5.29.0
HIBA: Nincs találat: <p>Nem sikerült találni olyan könyveket, amelyek megfelelnek a keresésnek. Próbálkozzon <b>részletesebb</b> kereséssel. Például csak a szerző nevét és egyetlen megkülönböztető szót használjon a címből. <p>A teljes napló megtekintéséhez kattintson a "Részletek" gombra.

Running identify query with parameters:
{'title': 'Marsbéli krónikák', 'authors': ['Ray Bradbury'], 'identifiers': {}, 'timeout': 30}
Using plugins: Moly_hu (1, 1, 7)
The log from individual plugins is below

****************************** Moly_hu (1, 1, 7) ******************************
Found 0 results
Downloading from Moly_hu took 0.7992172241210938
Title: Marsbéli krónikák
Authors: ['Ray Bradbury']

search_title: Marsb%C3%A9li%20kr%C3%B3nik%C3%A1k
search_author: Ray%20Bradbury
search_page: https://moly.hu/kereses?utf8=%E2%9C%...3%B3nik%C3%A1k
Querying: https://moly.hu/kereses?utf8=%E2%9C%...3%B3nik%C3%A1k
Found 6 possible books (max: 25)
Orig: marsbeli kronikak, target: marsbeli kronikak – kisregenyek es elbeszelesek
Orig: marsbeli kronikak, target: marsbeli kronikak
Orig: marsbeli kronikak, target: marsbeli kronikak (teljes valtozat)
Orig: marsbeli kronikak, target: galaktika 37.
Orig: marsbeli kronikak, target: galaktika 221.
Orig: marsbeli kronikak, target: a pokolba tarto vonat
Failed to make details query: 'https://moly.hu/konyvek/ray-bradbury-marsbeli-kronikak-kisregenyek-es-elbeszelesek'
Traceback (most recent call last):
File "calibre_plugins.moly_hu.worker", line 43, in get_details
File "mechanize\_mechanize.py", line 241, in open_novisit
File "mechanize\_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals >.httperror_seek_wrapper: HTTP Error 500: Internal Server Error

Failed to make details query: 'https://moly.hu/konyvek/ray-bradbury-marsbeli-kronikak'
Traceback (most recent call last):
File "calibre_plugins.moly_hu.worker", line 43, in get_details
File "mechanize\_mechanize.py", line 241, in open_novisit
File "mechanize\_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals >.httperror_seek_wrapper: HTTP Error 500: Internal Server Error

Failed to make details query: 'https://moly.hu/konyvek/ray-bradbury-marsbeli-kronikak-teljes-valtozat'
Traceback (most recent call last):
File "calibre_plugins.moly_hu.worker", line 43, in get_details
File "mechanize\_mechanize.py", line 241, in open_novisit
File "mechanize\_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals >.httperror_seek_wrapper: HTTP Error 500: Internal Server Error

************************************************** ******************************
The identify phase took 0.86 seconds
The longest time (0.799217) was taken by: Moly_hu
Merging results from different sources
We have 0 merged results, merging took: 0.00 seconds
Zoozo is offline   Reply With Quote
Old 10-20-2021, 06:50 AM   #54
snowdog
Member
snowdog began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Mar 2011
Device: Kindle PW2 2013
Quote:
Originally Posted by Zoozo View Post
I have the following problem, did anyone enounter similar issue?
Is this a problem with the plugin or with moly.hu?
The details query URL-s only work (when I copy it in a browser) when I am logged in to moly.hu.
Thank you.
URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1123)>r

In my opinion, neither the moly.hu site nor the plugin is faulty.

The moly.hu plugin works fine with Calibre version 4.x.x. The error occurs only in Calibre version 5.x.x. The main difference between the two versions is in python. Calibre 4.x.x uses paython2, while Calibre 5.x.x uses python 3.

One possible solution: https://www.mobileread.com/forums/sh...postcount=1139

Last edited by snowdog; 10-20-2021 at 07:36 AM.
snowdog is offline   Reply With Quote
Old 11-04-2021, 08:10 AM   #55
snowdog
Member
snowdog began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Mar 2011
Device: Kindle PW2 2013
Fix for moly.hu changes

Fix for moly.hu changes to tags code

The Moly_hu version 4.0.1 works with Calibre 4.x versions.
The Moly_hu version 5.0.1 works with Calibre 5.x versions.
Attached Files
File Type: zip Moly_hu 4.0.1.zip (8.7 KB, 203 views)
File Type: zip Moly_hu 5.0.1.zip (9.0 KB, 399 views)

Last edited by snowdog; 11-04-2021 at 03:09 PM.
snowdog is offline   Reply With Quote
Old 11-08-2021, 09:14 AM   #56
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,510
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Added to the first post.
pdurrant is offline   Reply With Quote
Old 11-28-2021, 05:39 AM   #57
snowdog
Member
snowdog began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Mar 2011
Device: Kindle PW2 2013
error fix

isbn search error fix

The Moly_hu version 5.0.2 works with Calibre 5.x versions.
Attached Files
File Type: zip Moly_hu 5.0.2.zip (9.1 KB, 419 views)
snowdog is offline   Reply With Quote
Old 11-28-2021, 03:29 PM   #58
pdurrant
The Grand Mouse 高貴的老鼠
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 71,510
Karma: 306214458
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
Quote:
Originally Posted by snowdog View Post
isbn search error fix

The Moly_hu version 5.0.2 works with Calibre 5.x versions.
Added to the first post.
pdurrant is offline   Reply With Quote
Old 11-30-2021, 08:58 AM   #59
daevidt
Junior Member
daevidt began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2021
Device: Kindle Paperwhite 4
Hello,

I downloaded the latest version (5.0.2) (@calibre 5.32) and it works well under Calibre GUI.

But I would like to use the plugin with "fetch-ebook-metadata" command for an ISBN-based fetch, it fails with the following error message. Please help.

--

Running identify query with parameters:
{'title': None, 'authors': [], 'identifiers': {'isbn': '9789630595933'}, 'timeout': 30}
Using plugins: Moly_hu (5, 0, 2), Google (1, 0, 2), Amazon.com (1, 2, 21)
The log from individual plugins is below

****************************** Moly_hu (5, 0, 2) ******************************
Found 0 results
Downloading from Moly_hu took 0.050016164779663086
Title: None
Authors: []

Plugin Moly_hu failed
Traceback (most recent call last):
File "calibre/ebooks/metadata/sources/identify.py", line 46, in run
File "calibre_plugins.moly_hu.__init__", line 59, in identify
query = self.create_query(log, title=title, authors=authors, identifiers=identifiers)
File "calibre_plugins.moly_hu.__init__", line 136, in create_query
search_author = urllib.parse.quote(authors[0].encode('utf-8'))
IndexError: list index out of range
daevidt is offline   Reply With Quote
Old 11-30-2021, 09:51 AM   #60
daevidt
Junior Member
daevidt began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Nov 2021
Device: Kindle Paperwhite 4
OK I think I found the problem, at this point the authors is [], not None, something like this would solve the issue:

#__init__.py

#line 124:

if title is not None or (authors is not None and len(authors)>0):

#line 133:

if authors is not None and len(authors) > 0:

However, the cover images download still don't work...

Parsed URL for cover: ['https://moly.hu/system/covers/big/covers_158299.jpg?1395405100']

but:

*********** Moly_hu Covers **********
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.87 Safari/537.36')]
Failed to download valid cover
Took 1.7404556274414062e-05 seconds

*******************
daevidt is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Source Plugin] ADLIBRIS (SE) Pr.BarnArt Plugins 49 01-11-2021 03:45 PM
[Metadata Source Plugin] BIBLIOETECA biblioeteca Plugins 12 10-28-2015 12:39 PM
[Metadata Source Plugin] Moly.hu [Deprecated] Daermond Plugins 7 09-23-2012 03:48 AM
[Metadata Source Plugin] catawiki drMerry Plugins 0 06-28-2011 08:42 PM


All times are GMT -4. The time now is 05:29 PM.


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