Samuel Thibault ha scritto: > Hello, > > Could you try to remove your .mouseTrap/ directory again, replace your > /usr/lib/pymodules/python2.5/mouseTrap/mouseTrap.py > with the one attached to this mail, and try again?
/usr/lib/pymodules/python2.5/mouseTrap/mouseTrap.py is a symlink, so I've tried putting the file you gave me in the location pointed by the link. The result is not very nice: > $ mousetrap > Traceback (most recent call last): > File "<string>", line 1, in <module> > File "mouseTrap.py", line 34, in <module> > from . import debug > ValueError: Attempted relative import in non-package The exceptions gets casted lots of time, which I am not reporting completely (the text is always the same). I've also tried to rename the mouseTrap.pyc, being unsure whether it required recompilation, but the result is the same. I remain available for further testing, if needed. :-) Thanks, Giovanni. -- Giovanni Mascellani <g.mascell...@gmail.com> Pisa, Italy Web: http://poisson.phc.unipi.it/~mascellani Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org GPG: 0x5F1FBF70 (FP: 1EB6 3D43 E201 4DDF 67BD 003F FCB0 BB5C 5F1F BF70)
signature.asc
Description: OpenPGP digital signature