upgrade to 8.04 and No module named GnuPGInterface

Milos Prudek prudek at bvx.cz
Sat May 24 21:53:30 UTC 2008


Today I upgraded from 7.04 to 7.10. And I wanted to upgrade to 8.04. Adept 
Updater failed:

  
File "/tmp/kde-root/adept_updaterz738Vb.tmp-extract/DistUpgradeFetcherCore.py", 
line 34, in <module>

import GnuPGInterface

ImportError
:
No module named GnuPGInterface


So I checked and verified that I have python-gnupginterface package installed. 
Curiously, this package installs 
folder /usr/share/python-support/python-gnupginterface with 
a "GnuPGInterface.py" but no __init__.py.

In python command line, print sys.path shows that /usr/share/python-support/ 
is not among python paths.

If I cd into /usr/share/python-support/python-gnupginterface and launch Python 
I can "import GnuPGInterface". But when I run DistUpgradeFetcherCore.py in 
that folder it always fails with No module named GnuPGInterface.

 I do not know much about setting python path.

-- 
Milos Prudek




More information about the kubuntu-users mailing list