Created
June 12, 2012 20:10
-
-
Save krusty/2919850 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
012-06-12 17:06:54,351 - root - 2396 - ERROR [127.0.0.1 ALL DEV 2396] - collector_search_job job error: 'NoneType' object has no attribute 'makefile' | |
Traceback (most recent call last): | |
File "/opt/source/src/workers/smb_search_jobs.py", line 77, in collector_search_job | |
for i in src.search(identity, credentials): | |
File "/opt/source/src/dataaccess/sources/yahoo.py", line 48, in search | |
results = self.get_json_content(_base_place_url, params) | |
File "/opt/source/src/dataaccess/sources/source.py", line 184, in get_json_content | |
return json.loads(self.get_content(url, params=params, credentials=credentials, usecache=usecache)) | |
File "/opt/source/src/dataaccess/sources/source.py", line 239, in get_content | |
header, content = self.send_request(uri, method='GET', credentials=credentials) | |
File "/opt/source/src/dataaccess/sources/source.py", line 163, in send_request | |
return self.get_conn(credentials).request(uri, method=method) | |
File "/opt/source/libs/httplib2/__init__.py", line 1129, in request | |
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey) | |
File "/opt/source/libs/httplib2/__init__.py", line 901, in _request | |
(response, content) = self._conn_request(conn, request_uri, method, body, headers) | |
File "/opt/source/libs/httplib2/__init__.py", line 871, in _conn_request | |
response = conn.getresponse() | |
File "/usr/lib/python2.6/httplib.py", line 984, in getresponse | |
method=self._method) | |
File "/usr/lib/python2.6/httplib.py", line 330, in __init__ | |
self.fp = sock.makefile('rb', 0) | |
AttributeError: 'NoneType' object has no attribute 'makefile' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment