Bug 1045636 - [abrt] hplip: soapfax.py:133:getPhoneNum:KeyError: 'faxsetupwizard-faxvoicenumber-faxnumber'
Summary: [abrt] hplip: soapfax.py:133:getPhoneNum:KeyError: 'faxsetupwizard-faxvoicenu...
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:1cf36b995e760dcb3f7f1ecee8f...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-20 22:00 UTC by Jorg Bliesener
Modified: 2015-03-23 11:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-23 11:10:09 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (804 bytes, text/plain)
2013-12-20 22:00 UTC, Jorg Bliesener
no flags Details
File: environ (3.54 KB, text/plain)
2013-12-20 22:00 UTC, Jorg Bliesener
no flags Details

Description Jorg Bliesener 2013-12-20 22:00:16 UTC
Description of problem:
Add printer, specify IP address, click on "Next" in step 2, nothing appens, but the button changes to "Add Printer'. Click on "Add Printer". 

Program doesn't crash completely

Version-Release number of selected component:
hplip-3.13.11-4.fc20

Additional info:
reporter:       libreport-2.1.10
cmdline:        /usr/bin/python /usr/bin/hp-setup --gui
dso_list:       hplip-gui-3.13.11-4.fc20.x86_64
executable:     /usr/bin/hp-setup
kernel:         3.11.10-301.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            500

Truncated backtrace:
soapfax.py:133:getPhoneNum:KeyError: 'faxsetupwizard-faxvoicenumber-faxnumber'

Traceback (most recent call last):
  File "/usr/share/hplip/ui4/setupdialog.py", line 1240, in NextButton_clicked
    self.showAddPrinterPage()
  File "/usr/share/hplip/ui4/setupdialog.py", line 716, in showAddPrinterPage
    self.readwriteFaxInformation()
  File "/usr/share/hplip/ui4/setupdialog.py", line 1063, in readwriteFaxInformation
    self.fax_number = unicode(d.getPhoneNum())
  File "/usr/share/hplip/fax/soapfax.py", line 133, in getPhoneNum
    return fax_setup['faxsetupwizard-faxvoicenumber-faxnumber']
KeyError: 'faxsetupwizard-faxvoicenumber-faxnumber'

Local variables in innermost frame:
fax_setup: {}
self: <fax.soapfax.SOAPFaxDevice object at 0x3783590>
stream: <cStringIO.StringO object at 0x32bb688>

Comment 1 Jorg Bliesener 2013-12-20 22:00:24 UTC
Created attachment 839844 [details]
File: backtrace

Comment 2 Jorg Bliesener 2013-12-20 22:00:30 UTC
Created attachment 839845 [details]
File: environ

Comment 3 Jaromír Končický 2014-01-16 14:22:55 UTC
Hello. I need more information to track the problem. I unfortunately cannot reproduce it.
- I need debug output of the hp-setup script. Please run "hp-setup --gui --logging=debug" in terminal, do steps to reproduce the problem and post me everything what it prints into terminal (before it crashes).
- You can try editing the file "/usr/share/hplip/ui4/setupdialog.py". You might need to use root privileges ("sudo") for editing it. Go to line 704, it should be:
"        if fax_import_ok and prop.fax_build and \"
and edit it to
"        if 0 and fax_import_ok and prop.fax_build and \"
save and try to run the hp-setup again, do same steps to add a printer and tell me what happened.
Thanks.


Note You need to log in before you can comment on or make changes to this bug.