Public bug reported:

Binary package hint: hplip

in Feisty beta with all updates from 31 March 2007

tried to run HPLIP Toolbox from System > Preferences menu but it didn't work. 
When I tried hplip-toolbox from a terminal it gave the following error:
[EMAIL PROTECTED]:~$ hp-toolbox 
error: PyQt not installed. GUI not available. Exiting.
error: PyQt/Qt initialization error. Please check install of PyQt/Qt and try 
again.

so I install python-qt3 and ran it again when it gave this error:

[EMAIL PROTECTED]:~$ hp-toolbox

HP Linux Imaging and Printing System (ver. 1.7.1)
HP Device Manager ver. 7.0

Copyright (c) 2003-6 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode:  145
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 169
  Major opcode:  145
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
Traceback (most recent call last):
  File "/usr/lib/hplip/ui/devmgr4.py", line 707, in autoRefresh_toggled
    self.SaveConfig()
  File "/usr/lib/hplip/ui/devmgr4.py", line 1610, in SaveConfig
    user_cfg.commands.prnt = self.cmd_print
  File "/usr/lib/hplip/base/g.py", line 80, in __setattr__
    f = file(self.filename, 'w')
IOError: [Errno 13] Permission denied: '/home/greg/.hplip.conf'
Traceback (most recent call last):
  File "/usr/lib/hplip/ui/devmgr4.py", line 686, in InitialUpdate
    self.RescanDevices()
  File "/usr/lib/hplip/ui/devmgr4.py", line 718, in RescanDevices
    self.DeviceListRefresh()
  File "/usr/lib/hplip/ui/devmgr4.py", line 949, in DeviceListRefresh
    dev.queryDevice(quick=True) #, no_fwd=True)
  File "/usr/lib/hplip/base/device.py", line 1319, in queryDevice
    status_block = status.StatusType6(self)
  File "/usr/lib/hplip/base/status.py", line 983, in StatusType6
    print repr(e)
NameError: global name 'e' is not defined

ProblemType: Crash
Architecture: i386
Date: Sat Mar 31 16:19:14 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/lib/hplip/toolbox
InterpreterPath: /usr/bin/python2.5
Package: hplip 1.7.1-1ubuntu2
PackageArchitecture: i386
ProcCmdline: python /usr/bin/hp-toolbox
ProcCwd: /home/greg
ProcEnviron:
 SHELL=/bin/bash
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
PythonArgs: ['/usr/bin/hp-toolbox']
SourcePackage: hplip
Uname: Linux tux 2.6.20-13-generic #2 SMP Sun Mar 25 00:21:25 UTC 2007 i686 
GNU/Linux

** Affects: hplip (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
[apport] toolbox crashed with NameError in StatusType6()
https://launchpad.net/bugs/99326

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to