latest python-cheetah breaks koji.
Mike Bonnet
mikeb at redhat.com
Wed Sep 30 21:08:51 UTC 2009
On 09/30/2009 04:05 AM, Steve Traylen wrote:
> Hi,
> I would just submit a bug but unsure to which package to submit in
> the first instance.
>
> On FC11 with
> Hi
>
> With,
>
> koji-hub-1.3.1-2.fc11.noarch
> koji-1.3.1-2.fc11.noarch
> koji-builder-1.3.1-2.fc11.noarch
> koji-web-1.3.1-2.fc11.noarch
> koji-utils-1.3.1-2.fc11.noarch
> python-cheetah-2.0.1-5.fc11.x86_64
>
> then everything is good.
>
> Updating only python-cheetah to
>
> python-cheetah-2.2.2-1.fc11.x86_64
>
> then python-web dumps to the browser as below, full traceback attached.
> Downgrading back to
> python-cheetah-2.0.1-5.fc11.x86_64
>
> then all is good.
>
> File "/usr/lib64/python2.6/site-packages/Cheetah/Compiler.py", line
> 1588, in __init__
> source = unicode(source)
>
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
> 374: ordinal not in range(128)
>
> full back trace attached.
Sorry about that, my fault. I hadn't finished testing Koji with the new Cheetah before I pushed it. This patch should fix the errors:
http://mikeb.fedorapeople.org/0001-handle-all-strings-as-unicode-for-compatibility-with.patch
It'll be pushed to the Koji git repo shortly.
More information about the Fedora-buildsys-list
mailing list