View Single Post
Old 10-11-2023, 03:14 PM   #15
Djazzy
Member
Djazzy began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Oct 2023
Device: Kobo Libra 2
hello,

This no longer works correctly. all searches lead to errors. It worked well during the day and suddenly it didn't work anymore .

In fact, it only works if I put the "babelio_id:"
but that means having to look up the ID on the site for each book....
whereas before just with the right title without the id it worked very well

Code:
Running identify query with parameters: 
{'title': 'Paper money', 'authors': ['Ken Follett'], 'identifiers': {'isbn': '9782253160120'}, 'timeout': 30} 
Using plugins: Babelio_db (0, 8, 3) 
The log from individual plugins is below 

****************************** Babelio_db (0, 8, 3) ****************************** 
Found 0 results 
Downloading from Babelio_db took 21.920482397079468 
-+-+-+-+-+-+-+-+-+-+ Entry point +-+-+-+-+-+-+-+-+-+-
self.dgb_lvl              :  3
self.with_cover           :  True
self.with_pretty_comments :  True
self.with_detailed_rating :  True

In identify(self, log, result_queue, abort, title=.., authors=.., identifiers=.., timeout=30)

title             :  Paper money
identifiers       :  {'isbn': '9782253160120'}
authors           :  ['Ken Follett'] <class 'list'>
ISBN identifier trouvé, on cherche cet ISBN sur babelio :  https://www.babelio.com/resrecherche.php?Recherche=9782253160120&item_recherche=isbn
 Accessing url     :  https://www.babelio.com/resrecherche.php?Recherche=9782253160120&item_recherche=isbn
 (urlopen_with_retry) HTTP Error 404: Not Found , will retry in 3 seconds...
 (urlopen_with_retry) HTTP Error 404: Not Found , will retry in 6 seconds...
 (urlopen_with_retry) HTTP Error 404: Not Found , will retry in 12 seconds...
 exception occured...
 code :  404 reason :  Not Found
Plugin Babelio_db failed
Traceback (most recent call last):
  File "calibre_plugins.babelio_db.__init__", line 81, in urlopen_with_retry
  File "mechanize\_mechanize.py", line 257, in open
  File "mechanize\_mechanize.py", line 313, in _mech_open
mechanize._response.get_seek_wrapper_class.<locals>.httperror_seek_wrapper: HTTP Error 404: Not Found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "calibre\ebooks\metadata\sources\identify.py", line 47, in run
  File "calibre_plugins.babelio_db.__init__", line 393, in identify
  File "calibre_plugins.babelio_db.__init__", line 60, in __call__
  File "calibre_plugins.babelio_db.__init__", line 127, in ret_soup
  File "calibre_plugins.babelio_db.__init__", line 99, in urlopen_with_retry
Exception: ('(urlopen_with_retry) Failed while acessing url : ', 'https://www.babelio.com/resrecherche.php?Recherche=9782253160120&item_recherche=isbn') 

******************************************************************************** 
The identify phase took 22.09 seconds 
The longest time (21.920482) was taken by: Babelio_db 
Merging results from different sources 
We have 0 merged results, merging took: 0.00 seconds
Attached Thumbnails
Click image for larger version

Name:	erreur.jpg
Views:	197
Size:	24.6 KB
ID:	204223   Click image for larger version

Name:	erreur 2.jpg
Views:	179
Size:	30.5 KB
ID:	204224  
Djazzy is offline   Reply With Quote