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
What steps will reproduce the problem?
1. Download and install trunk
2. Install python-httplib2 (on ubuntu)
3. Edit session.py, change line 391 to say "except Exception, e:"
4. Run the test suite
What is the expected output? What do you see instead?
Expected "all tests passed"
Got:
ERROR: test_write (__main__.TestFreebase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "test_all.py", line 74, in test_write
mss.login()
File "/usr/lib/python2.5/site-packages/freebase/api/session.py", line
392, in login
raise MetawebError("login error: %s", e)
MetawebError: ('login error: %s', AttributeError("'module' object has no
attribute 'HttpLib2ErrorWithResponse'",))
try again in the Python interpreter:
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import httplib2
>>> httplib2.HttpLib2ErrorWithResponse
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'HttpLib2ErrorWithResponse'
>>>
What version of the product are you using? On what operating system?
trunk on Ubuntu 8.04
Please provide any additional information below.
This may be a documentation issue. If you require a particular version of
httplib2 (i.e. not the one that comes with Ubuntu 8.04), you may get that
particular Exception, which I see does actually exist in httplib2's trunk.
Original issue reported on code.google.com by frey...@gmail.com on 7 Sep 2008 at 4:54
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
frey...@gmail.com
on 7 Sep 2008 at 4:54The text was updated successfully, but these errors were encountered: