Bug#641732: apt-p2p: Failed to load application: cannot import name OpProgress

2011-09-25 Thread Cameron Dale
I looked at fixing this, which is actually not that difficult. The OpProgress just needs to be imported from a different location. However, I noticed some other differences with the way the new version of python-apt works, that I think is causing apt-p2p to fail to parse all Packages files. This i

Bug#641732: apt-p2p: Failed to load application: cannot import name OpProgress

2011-09-15 Thread Andrew O. Shadura
Package: apt-p2p Version: 0.1.6 Severity: important Starting apt-p2p/usr/lib/pymodules/python2.6/apt_p2p_Khashmir/DHT.py:8: DeprecationWarning: the sha module is deprecated; use the hashlib module instead import os, sha, random Traceback (most recent call last): File "/usr/lib/python2.6/dist-