Bug 996811

Summary: [abrt] hplip-3.13.7-1.fc18: wifi.py:628:getLocation:UnicodeDecodeError: 'ascii' codec can't decode byte 0xac in position 0: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Peter H. Jones <jones.peter.busi>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jones.peter.busi, jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:e68758a8ce99550af05a05ca16b0965e4f92a7e6
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-02 12:13:25 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:
Attachments:
Description Flags
File: backtrace
none
File: core_backtrace
none
File: environ
none
log file requested none

Description Peter H. Jones 2013-08-14 02:40:45 UTC
Description of problem:
Setting extended information box in available networks display screen.

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

Additional info:
reporter:       libreport-2.1.5
cmdline:        /usr/bin/python /bin/hp-wificonfig -d hp:/usb/Deskjet_3510_series?serial=CN3251NH8405R7
dso_list:       hplip-gui-3.13.7-1.fc18.x86_64
executable:     /bin/hp-wificonfig
kernel:         3.10.4-100.fc18.x86_64
runlevel:       N 5
uid:            1000

Truncated backtrace:
wifi.py:628:getLocation:UnicodeDecodeError: 'ascii' codec can't decode byte 0xac in position 0: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/share/hplip/ui4/wifisetupdialog.py", line 347, in ShowExtendedCheckBox_clicked
    self.loadNetworksTable()
  File "/usr/share/hplip/ui4/wifisetupdialog.py", line 377, in loadNetworksTable
    location = wifi.getLocation(bssid, ss)
  File "/usr/share/hplip/base/wifi.py", line 628, in getLocation
    </LocationRQ>""" % (bssid.encode("utf-8"), ss)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xac in position 0: ordinal not in range(128)

Local variables in innermost frame:
ss: 5
bssid: '\xac\xf1\xdfc\x9b\\'

Comment 1 Peter H. Jones 2013-08-14 02:40:50 UTC
Created attachment 786389 [details]
File: backtrace

Comment 2 Peter H. Jones 2013-08-14 02:40:55 UTC
Created attachment 786390 [details]
File: core_backtrace

Comment 3 Peter H. Jones 2013-08-14 02:41:01 UTC
Created attachment 786391 [details]
File: environ

Comment 4 Jiri Popelka 2013-08-16 16:24:23 UTC
Similar to bug #915067, needs more investigation.

Comment 5 Tim Waugh 2013-11-25 16:39:09 UTC
Are you able to reproduce the problem or did it happen only once?

Please run:

hp-wificonfig -g &>log.txt

then attach (using the 'Add an attachment' link above) log.txt file to this bug report.

Comment 6 Peter H. Jones 2013-12-01 13:23:25 UTC
Created attachment 831209 [details]
log file requested

Now running hplip-3.13.9-2.fc18.x86_64.

I had to plug in the printer with a USB cable when I ran the
command. Also, I had to give the WIFI password. I went through the
configuration process without a problem.

The problem seems to have ocurred only once.

Comment 7 Tim Waugh 2013-12-02 12:13:25 UTC
Thanks. There's nothing clearly wrong in the debug output, so it's hard to say what the cause might be.

If you see this happen again, please re-open the bug report.