![]() |
#1 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Aug 2008
Device: PRS-505
|
Linux version of Calibre, problems with Meta Data
Hey, I used the windows version of Calibre and it worked absolutely flawlessly in every respect. Boy was I impressed, so I'd like to shout out a thanks to the developer of calibre, Kovid Goyal. Fantastic work. I'm now using the Linux version, and it still works well with just one hiccup. The metadata and cover image retrieval features don't work well (even though I'm signed up at the websites and all that). Here are the error messages I get in both cases:
Could not fetch ISBNDB metadata. Error: [Errno socket error] (-2, 'Name or service not known') and Detailed traceback: Traceback (most recent call last): File "library.pyz/calibre.gui2.dialogs.metadata_single", line 260, in fetch_cover File "library.pyz/calibre.ebooks.metadata.library_thing", line 41, in cover_from_isbn File "library.pyz/mechanize._mechanize", line 203, in open File "library.pyz/mechanize._mechanize", line 229, in _mech_open File "library.pyz/mechanize._opener", line 181, in open File "library.pyz/urllib2", line 399, in _open File "library.pyz/urllib2", line 360, in _call_chain File "library.pyz/mechanize._http", line 700, in http_open File "library.pyz/mechanize._http", line 677, in do_open URLError: for the cover image. Help, suggestions? thanks in advance. |
![]() |
![]() |
![]() |
#2 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 78,985
Karma: 144284074
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Bump!
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,160
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2009
Device: T-Mobile G1 (Google Android)
|
I am having the same problem as the original poster. I have recently built a new PC and put a fresh Linux install on it. Calibre on my old PC worked fine on 64bit Linux. Now it works ok, but it gets the:
Could not fetch ISBNDB metadata. Error: [Errno socket error] (-2, 'Name or service not known') error when I try to grab metadata. I took a look at the ticket for it. I am not using a proxy. Here is the output of calibre-debug -c "from calibre import browser; print browser.open('http://google.com').read()" Traceback (most recent call last): File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/debug.py", line 150, in main File "<string>", line 1, in <module> AttributeError: 'function' object has no attribute 'open' Segmentation fault Is there anything I can do to get the metadata downloading working? Either way, thanks a lot for Calibre. I'm a happy user. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,160
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
it should be
Code:
calibre-debug -c "from calibre import browser; print browser().open('http://google.com').read()" |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2009
Device: T-Mobile G1 (Google Android)
|
Here is the output:
$ calibre-debug -c "from calibre import browser; print browser().open('http://google.com').read()" Traceback (most recent call last): File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/debug.py", line 150, in main File "<string>", line 1, in <module> File "/usr/lib/python2.6/site-packages/mechanize/_mechanize.py", line 209, inopen File "/usr/lib/python2.6/site-packages/mechanize/_mechanize.py", line 236, in_mech_open File "/usr/lib/python2.6/site-packages/mechanize/_opener.py", line 191, in open File "/usr/lib/python2.6/urllib2.py", line 401, in _open '_open', req) File "/usr/lib/python2.6/urllib2.py", line 361, in _call_chain result = func(*args) File "/usr/lib/python2.6/site-packages/mechanize/_http.py", line 729, in http_open File "/usr/lib/python2.6/site-packages/mechanize/_http.py", line 706, in do_open urllib2.URLError: <urlopen error [Errno -2] Name or service not known> Segmentation fault |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,160
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
that error indicates name resolution is not working on your machine
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ePub meta data | brudigia | ePub | 4 | 07-26-2010 12:58 PM |
Linux install of calibre & several problems | spideyak | Calibre | 3 | 06-20-2010 02:43 AM |
Problems accessing sdcard from calibre (and linux) | carpii | Calibre | 14 | 03-11-2010 01:53 PM |
set meta data with ebook-meta and ebook-convert | krischik | Calibre | 6 | 01-19-2010 11:40 AM |
Meta data problems | melhall | Sony Reader | 1 | 03-31-2008 10:58 PM |