Bug 1223653 - python-cheetah: UnicodeEncodeError when compile a utf-8 attribute
Summary: python-cheetah: UnicodeEncodeError when compile a utf-8 attribute
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: python-cheetah
Version: epel7
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Mike Bonnet
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-05-21 06:54 UTC by Marius Žalinauskas
Modified: 2019-09-26 03:08 UTC (History)
2 users (show)

Fixed In Version: python-cheetah-2.4.4-5.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-09-26 03:08:04 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Debian BTS 584966 0 None None None Never

Description Marius Žalinauskas 2015-05-21 06:54:49 UTC
Description of problem:

Looks like a fix from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584966 has not reached EPEL dispite python-cheetah having the same version number 2.4.4 both in Debian and EPEL.


Version-Release number of selected component (if applicable):

python-cheetah-2.4.4-5.el7.centos.x86_64


How reproducible:

$ echo "#encoding UTF-8" > test.tmpl; echo "#attr langs_desc={'nb': 'Norwegian (Bokmål)'}" >> test.tmpl; cheetah-compile test; python test.py


Actual results:

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe5' in position 35: ordinal not in range(128)


Expected results:

Normal template compile
Additional info:

Comment 1 Marius Žalinauskas 2015-05-21 06:56:48 UTC
Debian commit to Cheetah's git repo: 073876f66e35501e289cc5dd1d60672e88c893f2

Comment 2 Fedora Update System 2019-09-10 02:25:10 UTC
FEDORA-EPEL-2019-a4155f715e has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-a4155f715e

Comment 3 Fedora Update System 2019-09-11 04:20:12 UTC
python-cheetah-2.4.4-5.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2019-a4155f715e

Comment 4 Fedora Update System 2019-09-26 03:08:04 UTC
python-cheetah-2.4.4-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


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