DNS Lookup errors with urllib

  • Thread starter Etienne Labuschagne
  • Start date
E

Etienne Labuschagne

When using urllib's urlretrieve, I get an exception complaining that a DNS
lookup failed. The name does however resolve when using ping and the
internet browser.

The name is also hard-coded in windows 2000's hosts file.

Any suggestions?

Thanks
Etienne
 
J

John J. Lee

Etienne Labuschagne said:
When using urllib's urlretrieve, I get an exception complaining that a
DNS lookup failed. The name does however resolve when using ping and
the internet browser.
[...]

Post the traceback.


John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top