View Single Post
Old 12-13-2011, 03:45 AM   #14
karthikraman
Junior Member
karthikraman began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2011
Device: None
Weird Metadata error

Hi, I have been using calibre for quite a while, but have a metadata download problem on Ubuntu and Win7. I am behind a proxy (no authentication required), but I get the following error, which I am not able to make sense of (calibre v0.8.30):

Code:
Starting job: Download metadata for 1 books 
Running identify query with parameters: 
{u'authors': [u'Gary William Flake'], u'identifiers': {u'isbn': u'9780262062008'}, u'timeout': 30, u'title': u'Untitled'} 
Using plugins: Amazon.com, ISBNDB 
The log from individual plugins is below 

****************************** ISBNDB ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.11) Gecko/20101012 Firefox/3.6.11')] 
Found 0 results 
Downloading from ISBNDB took 26.3589999676 
Failed to make query to ISBNDb, aborting.
Traceback (most recent call last):
  File "site-packages\calibre\ebooks\metadata\sources\isbndb.py", line 109, in identify
  File "site-packages\calibre\ebooks\metadata\sources\isbndb.py", line 212, in make_query
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 199, in open_novisit
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_opener.py", line 193, in open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 344, in _open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1142, in http_open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
URLError:  

******************************************************************************** 

****************************** Amazon.com ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')] 
Found 0 results 
Downloading from Amazon.com took 21.0620000362 
Failed to make identify query: u'http://www.amazon.com/s/?sort=relevanceexprank&search-alias=aps&field-isbn=9780262062008&unfiltered=1'
Traceback (most recent call last):
  File "site-packages\calibre\ebooks\metadata\sources\amazon.py", line 602, in identify
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 199, in open_novisit
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_opener.py", line 193, in open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 344, in _open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1142, in http_open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
URLError:  

******************************************************************************** 
The identify phase took 26.42 seconds 
The longest time (26.359000) was taken by: ISBNDB 
Merging results from different sources and finding earliest publication dates from the xisbn service 
We have 0 merged results, merging took: 0.00 seconds 
Failed to download metadata for Untitled 

****************************** Amazon.com Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)')] 
Failed to download valid cover 
Took 21.0160000324 seconds 
No cached cover found, running identify
Failed to make identify query: u'http://www.amazon.com/s/?sort=relevanceexprank&search-alias=aps&field-isbn=9780262062008&unfiltered=1'
Traceback (most recent call last):
  File "site-packages\calibre\ebooks\metadata\sources\amazon.py", line 602, in identify
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 199, in open_novisit
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_opener.py", line 193, in open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 344, in _open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1142, in http_open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
URLError: 

No cover found 

******************************************************************************** 

****************************** Open Library Covers ****************************** 
Request extra headers: [('User-agent', 'Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1')] 
Failed to download valid cover 
Took 21.3439998627 seconds 
Failed to download cover for ISBN: 9780262062008
Traceback (most recent call last):
  File "site-packages\calibre\ebooks\metadata\sources\openlibrary.py", line 28, in download_cover
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 199, in open_novisit
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_mechanize.py", line 230, in _mech_open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_opener.py", line 193, in open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 344, in _open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 332, in _call_chain
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1142, in http_open
  File "site-packages\mechanize-0.2.4-py2.7.egg\mechanize\_urllib2_fork.py", line 1118, in do_open
URLError:  

******************************************************************************** 
Download complete, with 1 failures
Would me most grateful if someone can help me fix this.

Last edited by karthikraman; 12-13-2011 at 03:46 AM. Reason: adding calibre version
karthikraman is offline   Reply With Quote