By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 215 - Wrong path in /opt/kde3/bin/guidance-power-manager, python module xf86misc not found
Summary: Wrong path in /opt/kde3/bin/guidance-power-manager, python module xf86misc no...
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: 3.5.13.x [Trinity]
Hardware: Other Linux
: P3 major
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2010-06-06 11:09 CDT by huger
Modified: 2018-07-27 04:14 CDT (History)
3 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version: 4:3.5.12-0ubuntu6+r1106825+rebuild1
Application Name: kde-guidance-powermanager-kde3


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description huger 2010-06-06 11:09:04 CDT
The bash script /opt/kde3/bin/guidance-power-manager calls the python program guidance-power-manager.py in the wrong path: /usr/share/python-support/...

Further the needed python modules are not in the python search path.



I could fix this bug temporarily by changing the bash-script guidance-power-manager as following although a more elegant solution should be possible by adding respective pth files to the python search dirs.


#!/bin/sh
for dir in $(find /opt/kde3/share/pyshared /opt/kde3/share/python-support -type d); do
        PYTHONPATH=$PYTHONPATH:$dir
done
export PYTHONPATH
/opt/kde3/share/python-support/kde-guidance-powermanager-kde3/guidance-power-manager.py &
Comment 1 Darrell 2013-05-22 19:52:08 CDT
Is this report still valid?
Comment 2 Michele Calgaro 2018-07-27 04:14:04 CDT
Obsolete power manager module was removed in commit faf34a76a3 in 2014.
Commit a7b3f0dc2 fixes python import issues.
Bug closed.