Package: hal-device-manager
Version: 0.5.7-2
Severity: grave
Justification: renders package unusable


Attempting to run hal-device-manager fails with a Python error:-

n# hal-device-manager 
Traceback (most recent call last):
  File "/usr/bin/hal-device-manager", line 7, in ?
      import pygtk
      ImportError: No module named pygtk

This appears to actually be the result of a Python problem:-

# python
Python 2.3.5 (#2, Jul 30 2006, 15:57:01) 
[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
>>> dir (pygtk)
['__all__', '__builtins__', '__doc__', '__file__', '__name__',
'_get_available_versions', '_pygtk_dir_pat', '_pygtk_required_version',
'fnmatch', 'glob', 'os', 'require', 'sys']

but with /usr/bin/python2.4:-

# /usr/bin/python2.4 
Python 2.4.4c0 (#2, Jul 30 2006, 15:43:58) 
[GCC 4.1.2 20060715 (prerelease) (Debian 4.1.1-9)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pygtk
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  ImportError: No module named pygtk

However, trying to execute hal-device manager with the system default
Python also fails:-

# python `which hal-device-manager`
Traceback (most recent call last):
  File "/usr/bin/hal-device-manager", line 15, in ?
      from DeviceManager import DeviceManager
  File "/usr/share/hal/device-manager/DeviceManager.py", line 6, in ?
    import dbus
ImportError: No module named dbus


This renders the package useless on my system, though I'm not sure if
this is an accident of Python configuration. I'm running a pretty much
default Python setup though...

Mike

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17.7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages hal-device-manager depends on:
ii  hal                           0.5.7-2    Hardware Abstraction Layer
ii  python-glade2 [python2.4-glad 2.8.6-4    GTK+ bindings: Glade support
ii  python-gnome2 [python2.4-gnom 2.12.4-3   Python bindings for the GNOME desk
ii  python2.4                     2.4.3-8    An interactive high-level object-o
ii  python2.4-dbus                0.62-4     simple interprocess messaging syst

hal-device-manager recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to