Public bug reported:

Binary package hint: hal-cups-utils

I don't care much about this error or cups, as I am actually trying to
use a usb/parallel convertor to control electronics. But there is what
looks like a typo in the python code:

Nov  5 20:00:06 score kernel: [1031822.460000] usb 1-2: new full speed USB 
device using uhci_hcd and address 13
Nov  5 20:00:06 score kernel: [1031822.664000] usb 1-2: configuration #1 chosen 
from 1 choice
Nov  5 20:00:06 score NetworkManager: <debug> [1194321606.296508] 
nm_hal_device_added(): New device added (hal udi is 
'/org/freedesktop/Hal/devices/usb_device_4348_5584_noserial'). 
Nov  5 20:00:06 score kernel: [1031822.704000] drivers/usb/class/usblp.c: 
usblp0: USB Bidirectional printer dev 13 if 0 alt 0 proto 2 vid 0x4348 pid 
0x5584
Nov  5 20:00:06 score NetworkManager: <debug> [1194321606.386101] 
nm_hal_device_added(): New device added (hal udi is 
'/org/freedesktop/Hal/devices/usb_device_ffffffff_ffffffff_noserial'). 
Nov  5 20:00:06 score NetworkManager: <debug> [1194321606.596959] 
nm_hal_device_added(): New device added (hal udi is 
'/org/freedesktop/Hal/devices/usb_device_4348_5584_noserial_usbraw'). 
Nov  5 20:00:07 score hal_lpadmin: Unable to connect to CUPS: 
'httpConnectionEncrypt failed'.  Is CUPS running?
Nov  5 20:00:07 score hal_lpadmin: File "/usr/lib/hal/scripts/hal_lpadmin", 
line 413, in main     h = HalLpAdmin()
Nov  5 20:00:07 score hal_lpadmin: File "/usr/lib/hal/scripts/hal_lpadmin", 
line 387, in __init__     self.addPrinter()
Nov  5 20:00:07 score hal_lpadmin: File "/usr/lib/hal/scripts/hal_lpadmin", 
line 399, in addPrinter     printer = HalPrinter()
Nov  5 20:00:07 score hal_lpadmin: File "/usr/lib/hal/scripts/hal_lpadmin", 
line 18, in __init__     os.exit (1)
Nov  5 20:00:07 score hal_lpadmin: AttributeError: 'module' object has no 
attribute 'exit'

/usr/lib/hal/scripts/hal_lpadmin:
     15         except RuntimeError, e:
     16             syslog (LOG_ERR,
     17                     "Unable to connect to CUPS: '%s'.  Is CUPS 
running?" % e)
     18             os.exit (1)

line 18 should probably say "sys.exit(1)"

** Affects: hal-cups-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
hal_lpadmin reports cups error incorrectly
https://bugs.launchpad.net/bugs/160386
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to