Bug 870402
| Summary: | [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) | ||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Stanislav Lanskoy <wisekaa03> | ||||||||||||||||
| Component: | hplip | Assignee: | Tim Waugh <twaugh> | ||||||||||||||||
| Status: | CLOSED UPSTREAM | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||
| Version: | 17 | CC: | jpopelka, twaugh | ||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||
| Whiteboard: | abrt_hash:155b1ac5f2f510411f6bb1332f14cd4f14c6e84a | ||||||||||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||
| Last Closed: | 2013-08-01 18:39:30 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
Stanislav Lanskoy
2012-10-26 11:51:23 UTC
Created attachment 633804 [details]
File: core_backtrace
Created attachment 633805 [details]
File: environ
Created attachment 633806 [details]
File: event_log
Created attachment 633807 [details]
File: backtrace
Created attachment 633808 [details]
File: smolt_data
Created attachment 633809 [details]
File: dso_list
The problem seems to be in some "/DevMgmt/FaxConfigDyn.xml" file. But I haven't been able to find the origin of this file. Probably comes from the hardware... Stanislav, what's output of the following command (when the printer is on) ? su -c "lpinfo -l -v" [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 ~]$
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 ? 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 ~]$ 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. Created attachment 635551 [details] curl --remote-name http://10.10.77.83:8080/DevMgmt/FaxConfigDyn.xml Ok 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 ?).
Thanks! All is ok, printer and scanner and fax is functioning. Thank you all! I've reported the logger problem upstream as https://bugs.launchpad.net/hplip/+bug/1073197 The problem with XML parsing was reported upstream as https://bugs.launchpad.net/hplip/+bug/1073228 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. 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. |