Gpoweroff does not support being installed with custom prefixes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gpoweroff |
Confirmed
|
Wishlist
|
Philip Peitsch |
Bug Description
I have Ubuntu 9.10 32-bit and Python 2.6. I've installed the software with (sudo python setup.py install) and everything was fine. But if I try to run it it outputs the following error:
marius@
Traceback (most recent call last):
File "/usr/local/
window = NewGpoweroffWin
File "/usr/local/
ui_filename = os.path.
File "/usr/local/
raise project_
gpoweroff.
Any ideas? Thanks!
summary: |
- Does not work after installing + Gpoweroff does not support being installed with custom prefixes |
Hi Marius,
That looks rather serious :-). Can you please tell me the location of 'AboutGpoweroff Dialog. ui'? From a command line you could find it by doing either: ialog.ui ialog.ui -print
locate AboutGpoweroffD
# or
find / -name AboutGpoweroffD
On my system it lives in /usr/share/ gpoweroff/ ui . It looks like you have everything stored under /usr/local, which I suspect may be throwing the script. Out of interest, what distro are you running?
Thanks for your feedback on this too by the way :)... it is much appreciated