Bug 466485

Summary: stacktrace if cups not running
Product: [Fedora] Fedora Reporter: Mads Kiilerich <mads>
Component: hal-cups-utilsAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.6.17-2.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-10-16 13:46:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mads Kiilerich 2008-10-10 14:27:03 UTC
Description of problem:
Writes in /var/log/messages:
Oct 10 15:39:38 dev-mk hal_lpadmin: Unable to connect to CUPS: 'httpConnectionEncrypt failed'.  Is CUPS running?
Oct 10 15:39:38 dev-mk hal_lpadmin: File "/usr/libexec/hal_lpadmin", line 476, in main#012    h = HalLpAdmin()
Oct 10 15:39:38 dev-mk hal_lpadmin: File "/usr/libexec/hal_lpadmin", line 449, in __init__#012    self.addPrinter()
Oct 10 15:39:38 dev-mk hal_lpadmin: File "/usr/libexec/hal_lpadmin", line 461, in addPrinter#012    printer = HalPrinter()
Oct 10 15:39:38 dev-mk hal_lpadmin: File "/usr/libexec/hal_lpadmin", line 51, in __init__#012    sys.exit (1)
Oct 10 15:39:38 dev-mk hal_lpadmin: SystemExit: 1


Version-Release number of selected component (if applicable):
hal-cups-utils-0.6.17-1.fc10.i386


Expected results:
Logging a warning - ie the first line - is fine. But showing a stack trace makes it look more fatal than it is.

Comment 1 Tim Waugh 2008-10-16 13:46:24 UTC
Should be fixed now.  Thanks for the report.