[Zope] DNS lookup problem with urllib in external methods
oivvio polite
ol1@v10a.com
Mon, 23 Jul 2001 13:20:59 +0200
Have anyone seen this strange behavior.
urllib.urlget("http://some-url")
works perfectly well from a regular python script.
The the same line will produce an
Error Type: IOError
Error Value: [Errno socket error] host not found
when called from an external zope method.
However
urllib.urlget("http://some-ipnumber")
will work fine in that same external method.
Any ideas? Does zope use some special dns settings?
oivvio
--
oivvio polite
cell +46 (0)709 30 40 30 / phone +46 (0)8 669 64 18 / fax +46 (0)8 84 00 18
varvsgatan 10A / s-117 29 stockholm / sweden