hal_lpadmin crashed with ImportError in <module>()

Bug #391999 reported by Frits Letteboer
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
hal-cups-utils (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

Binary package hint: hal-cups-utils

Just did an upgrade from 9.04 to Karmic devel and this popped up.

ProblemType: Crash
Architecture: amd64
CupsErrorLog: E [25/Jun/2009:10:21:12 +0200] CUPS-Add-Modify-Printer: Unauthorized
Date: Thu Jun 25 10:14:27 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/lib/hal/scripts/hal_lpadmin
InterpreterPath: /usr/bin/python2.6
Lpstat: device for Samsung-SCX-4200: usb://Samsung/SCX-4300%20Series
MachineType: System manufacturer System Product Name
NonfreeKernelModules: nvidia
Package: hal-cups-utils 0.6.19+git20090217-0ubuntu7
Papersize: a4
PpdFiles: Samsung-SCX-4200: Samsung SCX-4200, SpliX V. 2.0.0
ProcAttrCurrent: unconfined
ProcCmdLine: root=/dev/mapper/ubu-jaunty_root rootflags=data=writeback ro quiet splash quiet
ProcCmdline: /usr/bin/python /usr/lib/hal/scripts/hal_lpadmin --add
ProcEnviron: PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.30-10.12-generic
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 2, in <module>
     import dbus, sys, os, time, signal, re, glob
 ImportError: No module named dbus
Uname: Linux 2.6.30-10-generic x86_64
UserGroups:

dmi.bios.date: 04/13/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0401
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5Q PRO TURBO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0401:bd04/13/2009:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5QPROTURBO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Frits Letteboer (f-letteboer) wrote :
visibility: private → public
Revision history for this message
Apport retracing service (apport) wrote : Possible regression detected

This crash has the same stack trace characteristics as bug #177567. However, the latter was already fixed in an earlier package version than the one in this report. This might be a regression or because the problem is in a dependent package.

tags: removed: need-duplicate-check
tags: added: regression-retracer
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

With the deprecation of HAL, the hal-cups-utils get deprecated upstream and removed from Ubuntu, so any bugs in the hal_lpadmin script will not get fixed any more. A replacement for the script will soon appear in the system-config-printer-common package.

Changed in hal-cups-utils (Ubuntu):
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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