Я пытался поиграться с Python API Freebase, как упомянуто здесь (http://code.google.com/p/freebase-python/wiki/GettingStarted). Однако, похоже, выдается какое-то сообщение, подобное этому
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python2.6/dist-packages/freebase-1.0.6-py2.6.egg/freebase/api/session.py", line 626, in mqlread
r = self._httpreq_json(service, 'POST', form=dict(query=qstr), headers=headers)
File "/usr/local/lib/python2.6/dist-packages/freebase-1.0.6-py2.6.egg/freebase/api/session.py", line 442, in _httpreq_json
resp, body = self._httpreq(*args, **kws)
File "/usr/local/lib/python2.6/dist-packages/freebase-1.0.6-py2.6.egg/freebase/api/session.py", line 428, in _httpreq
return self._http_request(url, method, body, headers)
File "/usr/local/lib/python2.6/dist-packages/freebase-1.0.6-py2.6.egg/freebase/api/httpclients.py", line 60, in __call__
body=body, headers=headers)
File "/usr/local/lib/python2.6/dist-packages/freebase-1.0.6-py2.6.egg/freebase/api/cookie_handlers.py", line 187, in request
(r, body) = Http.request(self, uri, headers=headers, **kws)
File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 1129, in request
(response, content) = self._request(conn, authority, uri, request_uri, method, body, headers, redirections, cachekey)
File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 901, in _request
(response, content) = self._conn_request(conn, request_uri, method, body, headers)
File "/usr/lib/python2.6/dist-packages/httplib2/__init__.py", line 871, in _conn_request
response = conn.getresponse()
File "/usr/lib/python2.6/httplib.py", line 988, 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'