Comment 1 for bug 413984

Revision history for this message
JonathanM (dizzybirdtrane) wrote :

I'm mistaken, .deb install scripts make symlinks:
/usr/lib/python2.6/dist-packages/NtfsConfig /usr/share/pycentral/ntfs-config/site-packages/....

python -V = Python 2.6.2

I already have python-gtk2 and python-gtk2-dev ubuntu repository packages installed.

pygtk 2.14.1 source code installs library files to /usr/lib/python2.6/site-packages/gtk-2.0/....
pygtk 2.14.1 ubuntu packages install to usr/lib/python-support/python-gtk2/python2.6/, usr/lib/python-support/python-gtk2/python2.5/, and /usr/share/python-support/python-gtk2/gtk-2.0/...

more testing:
mv /usr/lib/python2.6/dist-packages/NtfsConfig /usr/lib/python2.6/site-packages
then try to start the program, doesn't work. same error messages

here are the results of further testing, and what works and what appears to still be broken.
mv /usr/lib/python2.6/dist-packages/NtfsConfig /usr/lib/python2.5/site-packages
ntfs-config-root
INFO : Launching ntfs-config with gksu...
Traceback (most recent call last):
  File "/usr/sbin/ntfs-config-root", line 71, in <module>
    os.putenv("%s_user-XAUTHORITY" % PACKAGE, os.environ["XAUTHORITY"])
  File "/usr/lib/python2.5/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'XAUTHORITY'

next, I tried this:
sudo ntfs-config

that works! I don't know why, but apparently moving the NtfsConfig symlink folders in /usr/lib/python/2.6/dist-packages to /usr/lib/python/2.5/site-packages worked. any insight on this?