Bug 870402 - [abrt] hplip-3.12.10-4.a.fc17: logger.py:321:error:UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 875: ordinal not in range(128)
Summary: [abrt] hplip-3.12.10-4.a.fc17: logger.py:321:error:UnicodeDecodeError: 'ascii...
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:155b1ac5f2f510411f6bb1332f1...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-26 11:51 UTC by Stanislav Lanskoy
Modified: 2013-08-02 08:19 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-01 18:39:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: core_backtrace (695 bytes, text/plain)
2012-10-26 11:51 UTC, Stanislav Lanskoy
no flags Details
File: environ (3.56 KB, text/plain)
2012-10-26 11:51 UTC, Stanislav Lanskoy
no flags Details
File: event_log (91 bytes, text/plain)
2012-10-26 11:51 UTC, Stanislav Lanskoy
no flags Details
File: backtrace (4.40 KB, text/plain)
2012-10-26 11:51 UTC, Stanislav Lanskoy
no flags Details
File: smolt_data (3.49 KB, text/plain)
2012-10-26 11:51 UTC, Stanislav Lanskoy
no flags Details
File: dso_list (33 bytes, text/plain)
2012-10-26 11:51 UTC, Stanislav Lanskoy
no flags Details
curl --remote-name http://10.10.77.83:8080/DevMgmt/FaxConfigDyn.xml (3.07 KB, text/xml)
2012-10-30 12:41 UTC, Stanislav Lanskoy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1073197 0 None None None 2012-10-30 15:15:55 UTC

Description Stanislav Lanskoy 2012-10-26 11:51:23 UTC
Description of problem:
hplip error

Version-Release number of selected component:
hplip-3.12.10-4.a.fc17

Additional info:
libreport version: 2.0.16
abrt_version:   2.0.16
cmdline:        /usr/bin/python /usr/bin/hp-setup -u
kernel:         3.6.2-4.fc17.x86_64

Comment 1 Stanislav Lanskoy 2012-10-26 11:51:26 UTC
Created attachment 633804 [details]
File: core_backtrace

Comment 2 Stanislav Lanskoy 2012-10-26 11:51:29 UTC
Created attachment 633805 [details]
File: environ

Comment 3 Stanislav Lanskoy 2012-10-26 11:51:32 UTC
Created attachment 633806 [details]
File: event_log

Comment 4 Stanislav Lanskoy 2012-10-26 11:51:34 UTC
Created attachment 633807 [details]
File: backtrace

Comment 5 Stanislav Lanskoy 2012-10-26 11:51:36 UTC
Created attachment 633808 [details]
File: smolt_data

Comment 6 Stanislav Lanskoy 2012-10-26 11:51:39 UTC
Created attachment 633809 [details]
File: dso_list

Comment 7 Jiri Popelka 2012-10-29 14:26:33 UTC
The problem seems to be in some "/DevMgmt/FaxConfigDyn.xml" file.
But I haven't been able to find the origin of this file.

Comment 8 Tim Waugh 2012-10-29 16:49:52 UTC
Probably comes from the hardware...

Comment 9 Jiri Popelka 2012-10-30 09:30:00 UTC
Stanislav, what's output of the following command (when the printer is on) ?
su -c "lpinfo -l -v"

Comment 10 Stanislav Lanskoy 2012-10-30 09:36:47 UTC
[stas@stas-fedora ~]$ su -c "lpinfo -l -v"
Пароль: 
WARNING: gnome-keyring:: couldn't connect to: /run/user/stas/keyring-CzEiC7/pkcs11: Нет такого файла или каталога
Device: uri = http
        class = network
        info = Протокол интернет-печати (http)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = ipps
        class = network
        info = Протокол интернет-печати (ipps)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = lpd
        class = network
        info = Хост или принтер LPD/LPR
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = https
        class = network
        info = Протокол интернет-печати (https)
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = socket
        class = network
        info = AppSocket/HP JetDirect
        make-and-model = Unknown
        device-id = 
        location = 
Device: uri = ipp
        class = network                                                                                                                                                                                              
        info = Протокол интернет-печати (ipp)                                                                                                                                                                        
        make-and-model = Unknown                                                                                                                                                                                     
        device-id =                                                                                                                                                                                                  
        location =                                                                                                                                                                                                   
Device: uri = hp                                                                                                                                                                                                     
        class = direct                                                                                                                                                                                               
        info = HP Printer (HPLIP)                                                                                                                                                                                    
        make-and-model = Unknown                                                                                                                                                                                     
        device-id =                                                                                                                                                                                                  
        location =                                                                                                                                                                                                   
Device: uri = beh                                                                                                                                                                                                    
        class = network                                                                                                                                                                                              
        info = Backend Error Handler                                                                                                                                                                                 
        make-and-model = Unknown                                                                                                                                                                                     
        device-id =                                                                                                                                                                                                  
        location =                                                                                                                                                                                                   
Device: uri = smb                                                                                                                                                                                                    
        class = network                                                                                                                                                                                              
        info = Windows Printer via SAMBA                                                                                                                                                                             
        make-and-model = Unknown                                                                                                                                                                                     
        device-id =                                                                                                                                                                                                  
        location =                                                                                                                                                                                                   
Device: uri = hpfax                                                                                                                                                                                                  
        class = direct                                                                                                                                                                                               
        info = HP Fax (HPLIP)                                                                                                                                                                                        
        make-and-model = Unknown                                                                                                                                                                                     
        device-id =                                                                                                                                                                                                  
        location = 
[stas@stas-fedora ~]$

Comment 11 Jiri Popelka 2012-10-30 09:45:05 UTC
Hmm, that hasn't shown what I was expecting. Is it a network printer ? If yes, can you show me the output of:
/usr/lib/cups/backend/snmp <ip address or hostname of the printer>

Or do you know the exact model of the printer ?

Comment 12 Stanislav Lanskoy 2012-10-30 10:01:03 UTC
Ok, its HP LaserJet Pro 400 color MFP 475 dn
—
[stas@stas-fedora ~]$ /usr/lib/cups/backend/snmp 10.10.77.83
network socket://10.10.77.83 "HP LaserJet 400 colorMFP M475dn" "HP LaserJet 400 colorMFP M475dn" "MFG:Hewlett-Packard;CMD:PJL,PML,PCLXL,URP,PCL,PDF,POSTSCRIPT;MDL:HP LaserJet 400 colorMFP M475dn;CLS:PRINTER;DES:Hewlett-Packard LaserJet 400 colorMFP M475dn;MEM:MEM=169MB;COMMENT:RES=600x8;LEDMDIS:USB#ff#04#01;CID:HPLJPDLV1;" "Location_Not_Printable"
[stas@stas-fedora ~]$

Comment 13 Tim Waugh 2012-10-30 12:26:08 UTC
Could you please try running this command? Make sure the printer is on first.

curl --remote-name http://10.10.77.83:8080/DevMgmt/FaxConfigDyn.xml

You should end up with a FaxConfigDyn.xml file.  Could you please attach that to this bug report using the "Add an attachment" link on this page (above all the comments)? Thanks.

Comment 14 Stanislav Lanskoy 2012-10-30 12:41:38 UTC
Created attachment 635551 [details]
curl --remote-name http://10.10.77.83:8080/DevMgmt/FaxConfigDyn.xml

Ok

Comment 15 Jiri Popelka 2012-10-30 13:44:49 UTC
Thanks.
First let's try to get rid of the logger error.

Stanislav, can you edit /usr/share/hplip/base/logger.py and at line 321 replace
txt = "error: %s" % message.encode("utf-8")
with
txt = "error: %s" % message

Then try to reproduce the problem (have you been actually able to reproduce it ?).

Comment 16 Stanislav Lanskoy 2012-10-30 14:30:37 UTC
Thanks!
All is ok, printer and scanner and fax is functioning.
Thank you all!

Comment 17 Jiri Popelka 2012-10-30 15:15:55 UTC
I've reported the logger problem upstream as
https://bugs.launchpad.net/hplip/+bug/1073197

Comment 18 Jiri Popelka 2012-10-30 16:25:58 UTC
The problem with XML parsing was reported upstream as
https://bugs.launchpad.net/hplip/+bug/1073228

Comment 19 Fedora End Of Life 2013-07-04 06:58:26 UTC
This message is a reminder that Fedora 17 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 17. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '17'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 17's end of life.

Bug Reporter:  Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 17 is end of life. If you 
would still like  to see this bug fixed and are able to reproduce it 
against a later version  of Fedora, you are encouraged  change the 
'version' to a later Fedora version prior to Fedora 17's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 20 Fedora End Of Life 2013-08-01 18:39:34 UTC
Fedora 17 changed to end-of-life (EOL) status on 2013-07-30. Fedora 17 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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