[twill] Temporary Failure in Name Resolution

Titus Brown titus at caltech.edu
Wed Mar 21 08:00:59 PDT 2007

On Tue, Mar 20, 2007 at 02:49:09PM -0500, Krieghan J. Riley wrote:
-> I've been investigation this problem for a few days, now.  I'm somewhat
-> reluctant to post to this list, as this issue could easily be with my
-> network/development environment, etc.  However, twill code is in the
-> traceback, so I figure someone might be able to give me some pointers.
-> My twill script does a great deal of repetitive actions on a web
-> application.  Right now, the same operations get executed over and over
-> with different parameters.  Execution of the script goes as planned
-> until 10-15 minutes in it dumps with the following:
-> Traceback (most recent call last):
->   File "testclient.py", line 131, in ?
-> "/usr/lib/python2.4/site-packages/twill-0.9b1-py2.4.egg/twill/_browser.py", line 19, in http_open
->   File
-> "/usr/lib/python2.4/site-packages/twill-0.9b1-py2.4.egg/twill/other_packages/mechanize/_http.py", line 644, in do_open
-> urllib2.URLError: <urlopen error (-3, 'Temporary failure in name
-> resolution')>
-> The first part of the traceback, the part before it hits twill, is my
-> code.  The parts that it's tripping over have been executed repeatedly
-> over the course of execution - it's only after a certain amount of time
-> has passed that there's a problem.  I should also add that this problem
-> is consistent - there are no runs where it does not occur.  I have no
-> network problems that I know of.  I am somewhat stumped...

Hi, Krieghan,

first, I should say that I have no idea ;).

But: a Google search found this,


which suggests that perhaps you have too many open files?

This is an error deep in the bowels of urllib2, and it doesn't seem to
have a single obvious cause ;(.


More information about the twill mailing list