Package: hal-device-manager
Version: 0.4.5-1
Severity: normal
Hi,
I've got a stacktrace displayed in a python callback from
hal-device-manager. The program did not crash, but the "Advanced" tab is
not updated.
Steps to reproduce: get a machine with an IEEE 1394 device on it
(hopefully this is enough, I only have access to a single laptop with
such a device), and lauch hal-device-manager from a terminal so that you
can read the process's stderr.
look at the branch in the device tree corresponding to the device, and
click on the leaf of that branch. Look at the terminal, you should have
a stack trace. On my box, it goes:
Traceback (most recent call last):
File "/usr/share/hal/device-manager/DeviceManager.py", line 125, in
on_device_tree_selection_changed
self.update_device_notebook(device)
File "/usr/share/hal/device-manager/DeviceManager.py", line 481, in
update_device_notebook
self.update_tab_device(device)
File "/usr/share/hal/device-manager/DeviceManager.py", line 302, in
update_tab_device
bus.set_label(Const.BUS_NAMES[device.properties["info.bus"]])
KeyError: 'ieee1394'
In /usr/share/hal/device-manager/Const.py, the BUS_NAMES dictionary
indeed does not have an 'ieee1394' key. It has "ieee1394_host" and
"ieee1394_node", though, but I don't think these would be correct
entries since the leaf I clicked on is attached to an ieee1394 Node
which itself is attached to an ieee1394 host which is attached to the
PCI device.
I'd be happy to provide additional information in order to help
debugging this.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages hal-device-manager depends on:
ii hal 0.4.5-1 Hardware Abstraction Layer
ii python 2.3.4-6 An interactive high-level object-o
ii python2.3-dbus 0.23-1 simple interprocess messaging syst
ii python2.3-glade2 2.4.1-2 GTK+ bindings: Glade support
ii python2.3-gnome2 2.6.1-1 Python bindings for the GNOME desk
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]