[BUG] HTTPError instance has no attribute 'errno'

Alexander Belchenko bialix at ukr.net
Wed Nov 16 01:20:52 GMT 2005


Today I'm trying to check some of John Meinel branches from 
http://bzr.arbash-meinel.com/branches/ but it seems that server not 
responding to my requests. But bzr raise error and fail with message:

bzr: ERROR: HTTPError instance has no attribute 'errno'
   command: 'c:\\utils\\bzr.py' 'miss'
       pwd: u'E:\\work\\Python\\bzr\\0.6\\meinel-win32'
     error: exceptions.AttributeError
   at E:\work\Python\bzr\0.6\win32-dev-1\bzrlib\commands.py line 514, in 
ignore_pipe()
   see "C:\.bzr.log" for debug information

I'm look at bzrlib.errors and did not find this HTTPError. But 
documentation for standard urllib2 module claims that:

"exception HTTPError
    A subclass of URLError, it can also function as a non-exceptional 
file-like return value (the same thing that urlopen() returns). This is 
useful when handling exotic HTTP errors, such as requests for 
authentication."


Well, I'm definitely got "exotic HTTP error", probably John know how 
much exotic?

Alexander




More information about the bazaar mailing list