Bug 1178044 - [abrt] fwbackups: fwlogger.py:106:logmsg:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Summary: [abrt] fwbackups: fwlogger.py:106:logmsg:UnicodeDecodeError: 'ascii' codec ca...
Keywords:
Status: CLOSED DUPLICATE of bug 983045
Alias: None
Product: Fedora
Classification: Fedora
Component: fwbackups
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stewart Adam
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:767251bce53d5391cb27efaf784...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-01 19:41 UTC by Wolfgang Reh
Modified: 2015-12-27 03:01 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 23:55:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (854 bytes, text/plain)
2015-01-01 19:41 UTC, Wolfgang Reh
no flags Details
File: environ (202 bytes, text/plain)
2015-01-01 19:41 UTC, Wolfgang Reh
no flags Details

Description Wolfgang Reh 2015-01-01 19:41:23 UTC
Version-Release number of selected component:
fwbackups-1.43.4-8.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/bin/fwbackups-run -l SystemBackup
executable:     /usr/bin/fwbackups-run
kernel:         3.17.7-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
fwlogger.py:106:logmsg:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/bin/fwbackups-run", line 122, in <module>
    logger.logmsg('WARNING', _("An error occurred while initializing the backup operation!"))
  File "/usr/lib/python2.7/site-packages/fwbackups/fwlogger.py", line 106, in logmsg
    print entry.encode('utf-8')
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)

Local variables in innermost frame:
severity: 'WARNING'
level: 20
self: <fwbackups.fwlogger.fwLogger object at 0x7f09a773a750>
date: 'J\xc3\xa4n 01 20:00:01'
entry: 'J\xc3\xa4n 01 20:00:01 :: WARNING : An error occurred while initializing the backup operation!'
message: 'An error occurred while initializing the backup operation!'

Comment 1 Wolfgang Reh 2015-01-01 19:41:26 UTC
Created attachment 975028 [details]
File: backtrace

Comment 2 Wolfgang Reh 2015-01-01 19:41:27 UTC
Created attachment 975029 [details]
File: environ

Comment 3 Christian Ziemski 2015-03-12 13:54:02 UTC
Hi!

That is the same problem as in 
https://bugzilla.redhat.com/show_bug.cgi?id=983045#c5


In /usr/lib/python2.7/site-packages/fwbackups/fwlogger.py

in line 103

    entry = '%s :: %s : %s' % (date, _(severity), message)

date and message need to be unicode to work

    entry = '%s :: %s : %s' % (date.encode("utf-8"), _(severity), message.encode("utf-8"))


(Some international month names do contain Umlauts or such ...)

Christian

Comment 4 Fedora End Of Life 2015-05-29 13:34:00 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. 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 EOL if it remains open with a Fedora  'version'
of '20'.

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.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 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 this bug is closed as described in the policy above.

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 5 Fedora End Of Life 2015-06-29 23:55:43 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 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. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

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

Comment 6 Stewart Adam 2015-12-27 03:01:14 UTC

*** This bug has been marked as a duplicate of bug 983045 ***


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