[email protected] 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, whatever you're ending up with in url is
either incorrect or the dns config of the server it's pointing at is
incorrect...
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
http://mail.python.org/mailman/listinfo/python-list