ntfs-config won't run on Ubuntu Jaunty - No module named NtfsConfig.NtfsConfig
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntfs-config |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hey, I don't know how much testing has been done in newer versions of Ubuntu so I thought I'd go ahead and try this and give you some feedback. Is the code/program being updated for newer versions of Ubuntu? Feisty's pretty old at this point. The official version in the repositories is actually 0.5.5....and it looks quite different form the newest version...like, it's not python scripts so much as executable code, and way different set of install/build dependencies.
anyway, I used the .deb package on the website that's supposed to work for feisty and installed that. no problems...I'm using the newest version of ntfs-3g (just came out a few weeks ago).
two errors when run from the commandline:
jonathan@
Traceback (most recent call last):
File "/usr/sbin/
from NtfsConfig.
ImportError: No module named NtfsConfig.
jonathan@
Traceback (most recent call last):
File "/usr/bin/
from NtfsConfig.
ImportError: No module named NtfsConfig.
So, I know where those two files were installed...the debian installer put them in:
/usr/share/
I've heard some things about people saying this NtfsConfig directory should be in /usr/lib/____ (can't remember the specific place right now...what is it?), and if that's the case why isn't that made obvious somehow or actually done by the installer?
Let me know what else you need from me!
Jonathan
security vulnerability: | yes → no |
visibility: | private → public |
Changed in ntfs-config: | |
status: | Fix Committed → Fix Released |
I'm mistaken, .deb install scripts make symlinks: python2. 6/dist- packages/ NtfsConfig /usr/share/ pycentral/ ntfs-config/ site-packages/ ....
/usr/lib/
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/ .... python- support/ python- gtk2/python2. 6/, usr/lib/ python- support/ python- gtk2/python2. 5/, and /usr/share/ python- support/ python- gtk2/gtk- 2.0/...
pygtk 2.14.1 ubuntu packages install to usr/lib/
more testing: python2. 6/dist- packages/ NtfsConfig /usr/lib/ python2. 6/site- packages
mv /usr/lib/
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. python2. 6/dist- packages/ NtfsConfig /usr/lib/ python2. 5/site- packages ntfs-config- root", line 71, in <module> putenv( "%s_user- XAUTHORITY" % PACKAGE, os.environ[ "XAUTHORITY" ]) python2. 5/UserDict. py", line 22, in __getitem__
mv /usr/lib/
ntfs-config-root
INFO : Launching ntfs-config with gksu...
Traceback (most recent call last):
File "/usr/sbin/
os.
File "/usr/lib/
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?