hal_lpadmin crashed with ImportError in <module>()

Bug #144586 reported by Marc66thomas
28
Affects Status Importance Assigned to Milestone
hal-cups-utils (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: hal-cups-utils

I believe this is from the restricted driver "Nvidia-settings"

ProblemType: Crash
Architecture: i386
Date: Sat Sep 22 17:34:20 2007
DistroRelease: Ubuntu 7.10
ExecutablePath: /usr/lib/hal/scripts/hal_lpadmin
InterpreterPath: /usr/bin/python2.5
NonfreeKernelModules: nvidia
Package: hal-cups-utils 0.6.13+svn83-0ubuntu1
PackageArchitecture: i386
ProcCmdline: /usr/bin/python /usr/lib/hal/scripts/hal_lpadmin --add
ProcCwd: /usr/lib/hal/scripts
ProcEnviron: PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/lib/hal:/usr/lib/hal/scripts:/usr/bin
PythonArgs: ['/usr/lib/hal/scripts/hal_lpadmin', '--add']
SourcePackage: hal-cups-utils
Title: hal_lpadmin crashed with ImportError in <module>()
Traceback:
 Traceback (most recent call last):
   File "/usr/lib/hal/scripts/hal_lpadmin", line 5, in <module>
     import cups, cupshelpers, ppds
 ImportError: No module named cups
Uname: Linux marc-laptopUBU 2.6.22-12-generic #1 SMP Sun Sep 23 18:11:30 GMT 2007 i686 GNU/Linux

Tags: apport-crash
Revision history for this message
Marc66thomas (marcmmtthomas) wrote :
Revision history for this message
Marc66thomas (marcmmtthomas) wrote : Re: [Bug 144586] Re: hal_lpadmin crashed with ImportError in <module>()

Usability Resolved after Nvidia restricted driver reinstalled.

On 9/25/07, Apport retracing service <email address hidden> wrote:
>
> ** Tags removed: need-duplicate-check
>
> --
> hal_lpadmin crashed with ImportError in <module>()
> https://bugs.launchpad.net/bugs/144586
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
MT

Marc Thomas
213.291.1881 (rings my cell and land line LA)
206.387.3865 (rings my cell and land line) for Seattle folks, use this first
323.606.1363 (for text messages to my cell)
<email address hidden>

Changed in hal-cups-utils:
status: New → Fix Committed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

hal-cups-utils (0.6.13+svn86-0ubuntu1) hardy; urgency=low

  * New upstream release
     o Subversion snapshot r86
     o Use "lsusb" and "hp-makeuri" instead of "hp-probe" and "hp-info", this
       needs less I/O.
     o Fork the creation of the print queue into a sub-process. This is
       needed as on detection of an HP LaserJet 1018/1020 HPLIP loads
       (triggered by UDEV) the firmware into the printer and this uncouples
       the printer from the usblp kernel module. This lets HAL assume that
       the printer got disconnected and HAL kills the hal_lpadmin process
       which creates the queue. The child process does not get killed so
       that this is the only solution to get a queue automatically created
       for these printers.
     o Do only one notification at the tray icon when a new printer got set
       up, also if it needs two queues (printer and fax). Otherwise the tray
       icon will disappear on clicking the first notification and the second
       one appears without icon.
     o Replaced a wrong "os.exit()" by "sys.exit()" (LP: #160386).
     o Made check for removal of manufacturer name from model name
       case-insensitive (LP: #150219).
     o Let hal_admin not fail if "lsusb" or "hp-makeuri" are not installed.
       Simply do not use HPLIP URIs then.
  * debian/patches/01_interpreter_path.patch: Regenerated.
  * debian/control: Added dependency on python-cups (LP: #144586).
  * debian/control: Added "Recommends: hplip, usbutils". These are needed
    to automatically set up print queues with HPLIP.

 -- Till Kamppeter <email address hidden> Fri, 07 Dec 2007 20:49:31 +0000

Changed in hal-cups-utils:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.