--> -->
gaierror | Python 2.4.3: /usr/bin/python Thu Sep 2 18:01:44 2010 |
A problem occurred in a Python script. Here is the sequence of
function calls leading up to the error, in the order they occurred.
| /var/www/html/browser/browser.py in main() |
345
|
346 if ( url is not None ):
|
347 parseURI( url )
|
348 printConcepts( out_format )
|
349 else:
|
| global parseURI = <function parseURI>, url = 'http://www.joh' |
| /var/www/html/browser/browser.py in parseURI(location='http://www.joh') |
162
|
163 try:
|
164 buffer = getfile(url)[0]
|
165 except UnsupportedURLSchema:
|
166 print "<p>Incorrect URL: %s</p><p>Please correct it and try again.</p>" % ( url )
|
| builtin buffer = <type 'buffer'>, global getfile = <function getfile>, url = 'http://www.joh' |
| /var/www/html/browser/browser.py in getfile(url='http://www.joh') |
89 from socket import gethostbyname
|
90 from string import atoi
|
91 ip = [ atoi(num) for num in gethostbyname( urlparse(url)[1] ).split('.')]
|
92 if ip[0]==10 or (ip[0]==192 and ip[1]==168):
|
93 raise RestrictedHostName
|
| ip undefined, atoi = <function atoi>, num undefined, gethostbyname = <built-in function gethostbyname>, urlparse = <function urlparse>, url = 'http://www.joh', ).split = <built-in method split of str object> |
gaierror: (-2, 'Name or service not known')
args =
(-2, 'Name or service not known')