bad error logging when hpfax/hpps initialization fails
Bug #1201767 reported by
Jiri Popelka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HPLIP |
New
|
Undecided
|
Unassigned | ||
Fedora |
Fix Released
|
Undecided
|
Bug Description
Steps to reproduce:
# mv /etc/hp/hplip.conf /etc/hp/
# /usr/lib/
Actual results:
Traceback (most recent call last):
File "/usr/lib/
bug("Error setting home directory: /etc/hp/hplip.conf not found")
File "/usr/lib/
log.
NameError: global name 'log' is not defined
Changed in fedora: | |
importance: | Unknown → Undecided |
status: | Unknown → Fix Released |
To post a comment you must log in.
Version-Release number of selected component:
hplip-3.13.6-2.fc19
Additional info: cups/backend/ hpfax cups/backend/ hpfax fc19.x86_ 64
reporter: libreport-2.1.5
cmdline: /usr/bin/python /usr/lib/
executable: /usr/lib/
kernel: 3.9.9-302.
runlevel: N 5
uid: 0
Truncated backtrace: bug:NameError: global name 'log' is not defined
hpfax:55:
Traceback (most recent call last): cups/backend/ hpfax", line 68, in <module> cups/backend/ hpfax", line 55, in bug stderr( "ERROR: %s\n" % msg)
File "/usr/lib/
bug("Error setting home directory: /etc/hp/hplip.conf not found")
File "/usr/lib/
log.
NameError: global name 'log' is not defined
Local variables in innermost frame:
msg: 'Error setting home directory: /etc/hp/hplip.conf not found'