Bug 923704 - [abrt] hplip-3.13.2-1.fc18: soapfax.py:139:setStationName:UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)
Summary: [abrt] hplip-3.13.2-1.fc18: soapfax.py:139:setStationName:UnicodeEncodeError:...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 18
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:55b822d243dc44e576eb6c361ef...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-20 10:53 UTC by poul7777777
Modified: 2013-07-26 23:01 UTC (History)
2 users (show)

Fixed In Version: hplip-3.13.7-1.fc19
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-26 23:01:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (896 bytes, text/plain)
2013-03-20 10:53 UTC, poul7777777
no flags Details
File: core_backtrace (404 bytes, text/plain)
2013-03-20 10:53 UTC, poul7777777
no flags Details
File: environ (1.47 KB, text/plain)
2013-03-20 10:53 UTC, poul7777777
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1157701 0 None None None Never

Description poul7777777 2013-03-20 10:53:43 UTC
Description of problem:
I setup printer HP Laser Jet m1522nf  with hplip

Version-Release number of selected component:
hplip-3.13.2-1.fc18

Additional info:
cmdline:        /usr/bin/python /usr/bin/hp-setup --gui
dso_list:       hplip-gui-3.13.2-1.fc18.x86_64
executable:     /usr/bin/hp-setup
kernel:         3.8.3-203.fc18.x86_64
uid:            1000

Truncated backtrace:
soapfax.py:139:setStationName:UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/share/hplip/ui4/setupdialog.py", line 1231, in NextButton_clicked
    self.addPrinter()
  File "/usr/share/hplip/ui4/setupdialog.py", line 941, in addPrinter
    self.readwriteFaxInformation(False)
  File "/usr/share/hplip/ui4/setupdialog.py", line 1046, in readwriteFaxInformation
    d.setStationName(self.fax_name_company)
  File "/usr/share/hplip/fax/soapfax.py", line 139, in setStationName
    return self.post("/hp/device/set_config.html", {"FaxCompanyName": str(name)})
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-3: ordinal not in range(128)

Local variables in innermost frame:
self: <fax.soapfax.SOAPFaxDevice object at 0x402a490>
name: u'\u0424\u0410\u041a\u0421 HP LASERJET'

Comment 1 poul7777777 2013-03-20 10:53:48 UTC
Created attachment 713177 [details]
File: backtrace

Comment 2 poul7777777 2013-03-20 10:53:50 UTC
Created attachment 713178 [details]
File: core_backtrace

Comment 3 poul7777777 2013-03-20 10:53:53 UTC
Created attachment 713179 [details]
File: environ

Comment 4 poul7777777 2013-03-20 10:58:50 UTC
I setup printer HP Laser Jet m1522nf  with hplip

Package: hplip-3.13.2-1.fc18
OS Release: Fedora release 18 (Spherical Cow)

Comment 5 Jiri Popelka 2013-03-20 12:58:43 UTC
Reported upstream
https://bugs.launchpad.net/hplip/+bug/1157701

Comment 6 Fedora Update System 2013-07-24 08:57:30 UTC
hplip-3.13.7-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/FEDORA-2013-13508/hplip-3.13.7-1.fc19

Comment 7 Fedora Update System 2013-07-26 23:01:23 UTC
hplip-3.13.7-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.


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