View Single Post
Old 02-12-2018, 02:21 PM   #373
thekn
Junior Member
thekn began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Feb 2018
Device: kindle
Exclamation

Hi Pr.BarnArt,

I came across this forum while searching for a solution to an issue when using the BOL_NL plugin. After I start downloading the metadata and covers it results in an error after 2-3 minutes (depending on my query). After checking the log I found the following error messages for each of the books in the search query:

BOL_NL - Version 3.8.19

Code:
****************************** BOL_NL (3, 8, 19) ****************************** 
Found 0 results 
Downloading from BOL_NL took 0.672827005386 
Plugin BOL_NL failed
Traceback (most recent call last):
  File "site-packages/calibre/ebooks/metadata/sources/identify.py", line 48, in run
  File "calibre_plugins.BOL_NL.__init__", line 267, in identify
  File "calibre_plugins.BOL_NL.__init__", line 174, in create_query
  File "lib/python2.7/urllib2.py", line 154, in urlopen
  File "lib/python2.7/urllib2.py", line 435, in open
  File "lib/python2.7/urllib2.py", line 548, in http_response
  File "lib/python2.7/urllib2.py", line 467, in error
  File "lib/python2.7/urllib2.py", line 407, in _call_chain
  File "lib/python2.7/urllib2.py", line 654, in http_error_302
  File "lib/python2.7/urllib2.py", line 435, in open
  File "lib/python2.7/urllib2.py", line 548, in http_response
  File "lib/python2.7/urllib2.py", line 473, in error
  File "lib/python2.7/urllib2.py", line 407, in _call_chain
  File "lib/python2.7/urllib2.py", line 556, in http_error_default
HTTPError: HTTP Error 404: Not Found
Code:
****************************** BOL_NL Covers ****************************** 
Request extra headers: [('User-agent', u'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36')] 
Failed to download valid cover 
Took 0.748715877533 seconds 
No cached cover found, running identify
Failed to download cover from BOL_NL
Traceback (most recent call last):
  File "site-packages/calibre/ebooks/metadata/sources/covers.py", line 49, in run
  File "calibre_plugins.BOL_NL.__init__", line 488, in download_cover
  File "calibre_plugins.BOL_NL.__init__", line 267, in identify
  File "calibre_plugins.BOL_NL.__init__", line 174, in create_query
  File "lib/python2.7/urllib2.py", line 154, in urlopen
  File "lib/python2.7/urllib2.py", line 435, in open
  File "lib/python2.7/urllib2.py", line 548, in http_response
  File "lib/python2.7/urllib2.py", line 467, in error
  File "lib/python2.7/urllib2.py", line 407, in _call_chain
  File "lib/python2.7/urllib2.py", line 654, in http_error_302
  File "lib/python2.7/urllib2.py", line 435, in open
  File "lib/python2.7/urllib2.py", line 548, in http_response
  File "lib/python2.7/urllib2.py", line 473, in error
  File "lib/python2.7/urllib2.py", line 407, in _call_chain
  File "lib/python2.7/urllib2.py", line 556, in http_error_default
HTTPError: HTTP Error 404: Not Found
Code:
****************************** BOL_NL Covers ****************************** 
Request extra headers: [('User-agent', u'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36')] 
Downloaded cover: 512x840 
Took 0.531849861145 seconds 
Downloading cover from: //s.s-bol.com/imgbase0/imagebase3/large/FC/6/3/7/2/9200000028282736.jpg
Failed to download cover from: //s.s-bol.com/imgbase0/imagebase3/large/FC/6/3/7/2/9200000028282736.jpg
Traceback (most recent call last):
  File "calibre_plugins.BOL_NL.__init__", line 513, in download_cover
  File "site-packages/mechanize/_mechanize.py", line 239, in open_novisit
  File "site-packages/mechanize/_mechanize.py", line 270, in _mech_open
BrowserStateError: can't fetch relative reference: not viewing any document
In the cases above it was looking for the book "Rogue Squadron: Star Wars Legends (X-Wing) (Star Wars: X-Wing - Legends)" but the error is repeating for each search item.

I noticed that you are still very active on this forum, hope you will find this information useful. If you need any additional information, just let me know. Hope to use your plug-in very soon!!


Last edited by thekn; 02-12-2018 at 03:14 PM.
thekn is offline   Reply With Quote