You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2006-06-17.07:54:16.000>created_at=<Date2006-06-16.09:32:39.000>labels= ['library']
title="HTTPResponse instance has no attribute 'code'"updated_at=<Date2006-06-17.07:54:16.000>user='https://bugs.python.org/yodalf'
I get this error :
Traceback (most recent call last):
File "ogbot.py", line 247, in ?
main()
File "ogbot.py", line 89, in main
handle = urlopen(req)
File "/usr/lib/python2.4/urllib2.py", line 130, in
urlopen
return _opener.open(url, data)
File "/usr/lib/python2.4/urllib2.py", line 364, in open
response = meth(req, response)
File "/usr/lib/python2.4/urllib2.py", line 468, in
http_response
code, msg, hdrs = response.code, response.msg,
response.info()
AttributeError: HTTPResponse instance has no attribute
'code'
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: