Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-17-2008, 08:06 PM   #1
Nirf
Junior Member
Nirf began at the beginning.
 
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.
Nirf is offline   Reply With Quote
Old 08-25-2008, 10:04 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 38,536
Karma: 19637653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Bump!
JSWolf is offline   Reply With Quote
 
Advertisement
Old 08-25-2008, 10:53 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,437
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://calibre.kovidgoyal.net/ticket/958
kovidgoyal is offline   Reply With Quote
Old 04-23-2009, 01:24 AM   #4
gabesword
Junior Member
gabesword began at the beginning.
 
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.
gabesword is offline   Reply With Quote
Old 04-23-2009, 01:43 AM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,437
Karma: 5383257
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()"
kovidgoyal is offline   Reply With Quote
Old 04-24-2009, 09:18 AM   #6
gabesword
Junior Member
gabesword began at the beginning.
 
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
gabesword is offline   Reply With Quote
Old 04-24-2009, 11:59 AM   #7
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 26,437
Karma: 5383257
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
that error indicates name resolution is not working on your machine
kovidgoyal is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ePub meta data brudigia ePub 4 07-26-2010 01:58 PM
Linux install of calibre & several problems spideyak Calibre 3 06-20-2010 03:43 AM
Problems accessing sdcard from calibre (and linux) carpii Calibre 14 03-11-2010 02:53 PM
set meta data with ebook-meta and ebook-convert krischik Calibre 6 01-19-2010 12:40 PM
Meta data problems melhall Sony Reader 1 03-31-2008 11:58 PM


All times are GMT -4. The time now is 08:27 AM.


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