Bug 1399382

Summary: [abrt] hamster-time-tracker: string.py:207:safe_substitute:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)
Product: [Fedora] Fedora Reporter: Kamil Páral <kparal>
Component: hamster-time-trackerAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: fschwarz, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/610c00d86efdeb1f97a150df13ee000674c12983
Whiteboard: abrt_hash:be0ab91160a6ea7f6061bc3263cf906f504bd566;VARIANT_ID=workstation;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-12 10:11:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace
none
File: environ none

Description Kamil Páral 2016-11-28 23:29:00 UTC
Description of problem:
Trying to export work summary as html. Empty file saved.

Version-Release number of selected component:
hamster-time-tracker-2.0-0.9.rc1.fc25

Additional info:
reporter:       libreport-2.8.0
cmdline:        python2 /usr/bin/hamster-windows-service
dso_list:       python-libs-2.7.12-7.fc25.x86_64
executable:     /usr/bin/hamster-windows-service
kernel:         4.8.10-300.fc25.x86_64
pkg_fingerprint: 4089 D8F2 FDB1 9C98
pkg_vendor:     Fedora Project
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
string.py:207:safe_substitute:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/hamster/overview.py", line 507, in on_report_chosen
    reports.simple(self.facts, start, end, format, path)
  File "/usr/lib/python2.7/site-packages/hamster/reports.py", line 60, in simple
    writer.write_report(facts)
  File "/usr/lib/python2.7/site-packages/hamster/reports.py", line 99, in write_report
    self._write_fact(fact)
  File "/usr/lib/python2.7/site-packages/hamster/reports.py", line 278, in _write_fact
    self.fact_rows.append(Template(self.fact_row_template).safe_substitute(data))
  File "/usr/lib64/python2.7/string.py", line 207, in safe_substitute
    return self.pattern.sub(convert, self.template)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

Local variables in innermost frame:
mapping: {'category': u'CVNS', 'end': '10:40', 'description': '', 'date_iso': '2016-09-04', 'tags': '', 'end_iso': '2016-09-04T10:40:59', 'start': '10:17', 'duration_minutes': '23', 'activity': u'CVNS 2016 - rozbor 2015', 'duration': '23min', 'duration_decimal': '0.38', 'date': '04. z\xc3\xa1\xc5\x99 2016', 'start_iso': '2016-09-04T10:17:00'}
convert: <function convert at 0x7f218616af50>
args: ({'category': u'CVNS', 'end': '10:40', 'description': '', 'date_iso': '2016-09-04', 'tags': '', 'end_iso': '2016-09-04T10:40:59', 'start': '10:17', 'duration_minutes': '23', 'activity': u'CVNS 2016 - rozbor 2015', 'duration': '23min', 'duration_decimal': '0.38', 'date': '04. z\xc3\xa1\xc5\x99 2016', 'start_iso': '2016-09-04T10:17:00'},)
kws: {}
self: <string.Template object at 0x7f21860e37d0>

Comment 1 Kamil Páral 2016-11-28 23:29:04 UTC
Created attachment 1225520 [details]
File: backtrace

Comment 2 Kamil Páral 2016-11-28 23:29:05 UTC
Created attachment 1225521 [details]
File: environ

Comment 3 Fedora End Of Life 2017-11-16 14:45:02 UTC
This message is a reminder that Fedora 25 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 25. 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 '25'.

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 25 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 4 Fedora End Of Life 2017-12-12 10:11:27 UTC
Fedora 25 changed to end-of-life (EOL) status on 2017-12-12. Fedora 25 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.