Ubuntu 10.04 32bit版+Python 3.1.2の環境で
httplib2を使ってたら
Issue 62に似た症状が発生して悩み中。
前回の修正で安定したと思ったのだけど、まだ怪しいところが残ってたらしい。
(前略)
return h.request(url)
File "/home/msmhrt/mypython/lib/python3.1/site-packages/httplib2-0.6.0-py3.1.egg/httplib2/__init__.py", line 1088, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/home/msmhrt/mypython/lib/python3.1/site-packages/httplib2-0.6.0-py3.1.egg/httplib2/__init__.py", line 859, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/home/msmhrt/mypython/lib/python3.1/site-packages/httplib2-0.6.0-py3.1.egg/httplib2/__init__.py", line 828, in _conn_request
response = conn.getresponse()
File "/usr/lib/python3.1/http/client.py", line 1014, in getresponse
method=self._method)
File "/usr/lib/python3.1/http/client.py", line 278, in __init__
self.fp = sock.makefile("rb")
AttributeError: 'NoneType' object has no attribute 'makefile'
Bitbucket.orgで
解決できそうなパッチを見つけたので、Python3向けに修正してから適用して様子見中。