|
|
#1 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 123
Karma: 998177
Join Date: Aug 2010
Device: Kindle 3
|
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? |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,633
Karma: 28549046
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.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,633
Karma: 28549046
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.
|
|
|
|
|
|
#5 |
|
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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?
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,633
Karma: 28549046
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.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Calibre and dict.org | aerenviel | Calibre | 9 | 03-18-2011 10:14 AM |
| dict.cc Wörterbuch | Moredread | PocketBook | 18 | 02-08-2011 03:44 AM |
| Failed epub file in iTunes Connect | larlarcook | ePub | 2 | 01-13-2011 04:30 PM |
| Failed file in iTunes Connect | larlarcook | Calibre | 4 | 01-08-2011 02:37 AM |
| How Sony failed to Connect, again | Stuart Young | Sony Reader | 1 | 06-01-2006 06:24 AM |