[Zope-dev] UnicodeDecodeError from PageTemplate rendering after upgrading to Zope 2.12.7
Marco Bizzarri
marco.bizzarri at gmail.com
Tue Aug 31 06:03:12 EDT 2010
On Tue, Aug 31, 2010 at 11:40 AM, Chris Withers <chris at simplistix.co.uk>wrote:
> Hi All,
>
> After a recent upgraded to Zope 2.12, I'm now seeing errors like the
> following when using IE (version 8) or Safari (version 4.0.3) to view
> page templates. Chrome and Firefox work fine.
>
> Traceback (innermost last):
> Module ZPublisher.Publish, line 127, in publish
> Module ZPublisher.mapply, line 77, in mapply
> Module ZPublisher.Publish, line 47, in call_object
> <snip>
> Module Shared.DC.Scripts.Bindings, line 324, in __call__
> Module Shared.DC.Scripts.Bindings, line 361, in _bindAndExec
> Module Products.PageTemplates.ZopePageTemplate, line 335, in _exec
> Module Products.PageTemplates.ZopePageTemplate, line 432, in pt_render
> Module Products.PageTemplates.PageTemplate, line 80, in pt_render
> Module zope.pagetemplate.pagetemplate, line 115, in pt_render
> Module zope.tal.talinterpreter, line 271, in __call__
> <snip>
> Module zope.tal.talinterpreter, line 343, in interpret
> Module zope.tal.talinterpreter, line 751, in do_insertStructure_tal
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xa0 in position
> 366: ordinal not in range(128)
>
> Has anyone seen this or anything similar before?
> Any solutions spring to mind?
>
>
Hi Chris.
No solution, actually, but I would suggest to sniff the traffic between you
and the server; I suspect different headers cause problems, here.
Regards
Marco
> cheers,
>
> Chris
>
> --
> Simplistix - Content Management, Batch Processing & Python Consulting
> - http://www.simplistix.co.uk
> _______________________________________________
> Zope-Dev maillist - Zope-Dev at zope.org
> https://mail.zope.org/mailman/listinfo/zope-dev
> ** No cross posts or HTML encoding! **
> (Related lists -
> https://mail.zope.org/mailman/listinfo/zope-announce
> https://mail.zope.org/mailman/listinfo/zope )
>
--
Marco Bizzarri
http://code.google.com/p/qt-asterisk/
http://notenotturne.blogspot.com/
http://iliveinpisa.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope-dev/attachments/20100831/7f8c49cf/attachment.html
More information about the Zope-Dev
mailing list