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 658 - guidance - dbus error
Summary: guidance - dbus error
Status: RESOLVED INVALID
Alias: None
Product: TDE
Classification: Unclassified
Component: ubuntu (show other bugs)
Version: 3.5.13.x [Trinity]
Hardware: amd64 Other
: P5 minor
Assignee: Timothy Pearson
URL:
Depends on:
Blocks:
 
Reported: 2011-11-20 13:40 CST by Maho
Modified: 2018-07-28 03:16 CDT (History)
2 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maho 2011-11-20 13:40:31 CST
According to bug #215, I made modification to /opt/trinity/bin/guidance-power-manager, so it looks like that:
#v+
#!/bin/sh

for dir in $(find /opt/trinity/share/pyshared /opt/trinity/share/python-support -type d); do
        PYTHONPATH=$PYTHONPATH:$dir
done
export PYTHONPATH

echo $PYTHONPATH

/opt/trinity/share/python-support/kde-guidance-powermanager-trinity/guidance-power-manager.py &
#v-

After I run it, I get such error: 
#v+
Traceback (most recent call last):
  File "/opt/trinity/share/python-support/kde-guidance-powermanager-trinity/guidance-power-manager.py", line 1121, in <module>
    mainWindow = PowermanagerApp(None, "main window")
  File "/opt/trinity/share/python-support/kde-guidance-powermanager-trinity/guidance-power-manager.py", line 1058, in __init__
    self.pmwidget = PowerManager(self,name)
  File "/opt/trinity/share/python-support/kde-guidance-powermanager-trinity/guidance-power-manager.py", line 96, in __init__
    self.powermanager = PowerManage()
  File "/opt/trinity/share/python-support/kde-guidance-powermanager-trinity/powermanage.py", line 102, in __init__
    self._initHAL()
  File "/opt/trinity/share/python-support/kde-guidance-powermanager-trinity/powermanage.py", line 252, in _initHAL
    hal_manager_obj = self.bus.get_object("org.freedesktop.Hal", "/org/freedesktop/Hal/Manager")
  File "/usr/lib/pymodules/python2.7/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/pymodules/python2.7/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/pymodules/python2.7/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/pymodules/python2.7/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/pymodules/python2.7/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Launch helper exited with unknown return code 1

#v-

Ubuntu 11.04 (natty)
Comment 1 Timothy Pearson 2012-05-14 02:09:06 CDT
The guidance modules are deprecated and are slowly being replaced with better alternatives written in a language other than Python.  This likely will not be fixed as a result.
Comment 2 Michele Calgaro 2018-07-28 03:16:30 CDT
Guidance power manager module has been removed quite some time ago. This bug is no longer valid.