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 11-09-2011, 04:07 AM   #1
Starko
Zealot
Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.
 
Posts: 123
Karma: 998177
Join Date: Aug 2010
Device: Kindle 3
Question Failed to connect to dict.org

Traceback (most recent call last):
File "site-packages\calibre\gui2\viewer\dictionary.py", line 38, in run
File "site-packages\calibre\gui2\viewer\dictionary.py", line 31, in define
File "site-packages\calibre\utils\dictclient.py", line 43, in __init__
File "socket.py", line 224, in meth
gaierror: [Errno 11004] getaddrinfo failed
-----------------
why do i get this when i try to do a dictionary lookup?
Starko is offline   Reply With Quote
Old 11-09-2011, 04:33 AM   #2
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,102
Karma: 5101571
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Because the viewr is trying to connect to the dict.org server to lookup the word and failing.
kovidgoyal is online now   Reply With Quote
Old 11-10-2011, 05:35 AM   #3
Starko
Zealot
Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.Starko ought to be getting tired of karma fortunes by now.
 
Posts: 123
Karma: 998177
Join Date: Aug 2010
Device: Kindle 3
I will rephrase my question:
Why does viewer fails when trying to connect to the dict.org server to lookup the word? I hope the answer is not :
Because
File "site-packages\calibre\gui2\viewer\dictionary.py", line 38, in run
File "site-packages\calibre\gui2\viewer\dictionary.py", line 31, in define
File "site-packages\calibre\utils\dictclient.py", line 43, in __init__
File "socket.py", line 224, in meth
gaierror: [Errno 11004] getaddrinfo failed
Starko is offline   Reply With Quote
Old 11-10-2011, 05:58 AM   #4
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,102
Karma: 5101571
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
A getaddrinfo failed means the DNS lookup failed. Which means you dont have a working internet connection. Most likely culprint is stale proxy settings.
kovidgoyal is online now   Reply With Quote
Old 11-10-2011, 02:31 PM   #5
Halo
Connoisseur
Halo did not drink the Kool Aid.Halo did not drink the Kool Aid.Halo did not drink the Kool Aid.Halo did not drink the Kool Aid.Halo did not drink the Kool Aid.Halo did not drink the Kool Aid.Halo did not drink the Kool Aid.Halo did not drink the Kool Aid.Halo did not drink the Kool Aid.Halo did not drink the Kool Aid.Halo did not drink the Kool Aid.
 
Halo's Avatar
 
Posts: 96
Karma: 72130
Join Date: Nov 2008
Location: San Francisco Bay Area, CA, USA
Device: Sony PRS-505, Kindle DX 1st Gen, Kindle Fire 1st Gen
Could a user-friendly error message be added to calibre for this case?
Halo is offline   Reply With Quote
Old 11-10-2011, 09:58 PM   #6
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,102
Karma: 5101571
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There is a user friendly error message. The OP was posting the traceback from the error message. There's no way to present a user friendly version of the traceback as with internet connectivity too many things can go wrong.
kovidgoyal is online now   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
Calibre and dict.org aerenviel Calibre 9 03-18-2011 09:14 AM
dict.cc Wörterbuch Moredread PocketBook 18 02-08-2011 02:44 AM
Failed epub file in iTunes Connect larlarcook ePub 2 01-13-2011 03:30 PM
Failed file in iTunes Connect larlarcook Calibre 4 01-08-2011 01:37 AM
How Sony failed to Connect, again Stuart Young Sony Reader 1 06-01-2006 05:24 AM


All times are GMT -4. The time now is 02:01 AM.


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