After updating my installation yesterday evening, I am no longer able to run anki.
Running anki results in the following traceback:
Traceback (most recent call last):
File "/usr/bin/anki", line 15, in <module>
File "/usr/lib64/python2.7/site-packages/aqt/__init__.py", line 210, in run rom aqt.profiles import ProfileManager
File "/usr/lib64/python2.7/site-packages/aqt/profiles.py", line 16, in <module> import anki.sync
File "/usr/lib64/python2.7/site-packages/anki/sync.py", line 71, in <module> _setupProxy()
File "/usr/lib64/python2.7/site-packages/anki/sync.py", line 45, in _setupProxy
p = httplib2.ProxyInfo.from_environment()
AttributeError: type object 'ProxyInfo' has no attribute 'from_environment'
I have noticed that, as part of my update yesterday, httplib2 has been brought to version 0.7.7-r1000.
As there are no other versions available in portage any more, I cannot check if downgrading httplib2 would be a solution for my problem - I assume it is as anki worked fine till yesterday evening.
Any suggestions? How can I get an older version back?
Many thanks in advance for helping.
Downloaded the httplib2-0.7.6.ebuild from Gentoo to local overlay and downloaded. Solved my problem with anki.
I do not know if the real issue is an anki problem (anki to be adapted to newer version of httplib2) in which case I should file a bug with Gentoo or an httplib2-0.7.7 problem.