open...@hushmail.com wrote:
fs = cgi.FieldStorage()
url = fs.getvalue('url', http://www.openlayers.org;)
try:
insert a print url here...
y = urllib2.urlopen(url)
print y.read()
This script produces the urlopen error (11001, 'getaddrinfo
failed').
This is a name lookup failing
a print url here...
y = urllib2.urlopen(url)
print y.read()
This script produces the urlopen error (11001, 'getaddrinfo
failed').
This is a name lookup failing, whatever you're ending up with in
url is
either incorrect or the dns config of the server it's pointing at
is
incorrect
Hello Python User,
I am using python in an openlayers application to access another
server on my network via javascript. The proxy script works fine
when the application runs in Apache HTTP Server, but I get a
urlopen error (11001, 'getaddrinfo failed') error after moving
the application