[twill] Temporary Failure in Name Resolution

John J Lee jjl at pobox.com
Wed Mar 21 08:09:32 PDT 2007


On Wed, 21 Mar 2007, Titus Brown wrote:

> On Tue, Mar 20, 2007 at 02:49:09PM -0500, Krieghan J. Riley wrote:
[...]
> -> 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,
>
> https://develop.participatoryculture.org/trac/democracy/attachment/ticket/5633/d1.out
>
> 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 ;(.

This might be a bug I filed a patch for which should get fixed in Python 
2.5.1 (out in a few weeks?  not sure...).


John



More information about the twill mailing list