[Zope-CMF] Minor problem with local_pt and non-ascii portal
properties
Charlie Clark
charlie at begeistert.org
Thu Jun 21 09:50:24 EDT 2007
Hi,
it is not possible to do anything with a local_pt in the ZMI if any
of the Portal properties are non-ascii.
I have a site called "Düsseldorf" with a local_pt containing some
customisations for the homepage. With CMF 2.0 and Zope 2.9 this is
not a problem but CMF 2.1 and Zope 2.10 will cause an error
presumably due to the switch to Zope 3 PageTemplates. The tracaback
is below.
The first question is: am I doing something wrong using local_pt like
this? If not the second question is: what's the best way around this?
Charlie
Traceback (innermost last):
Module ZPublisher.Publish, line 119, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 42, in call_object
Module Shared.DC.Scripts.Bindings, line 313, in __call__
Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec
Module Products.PageTemplates.PageTemplateFile, line 129, in _exec
Module Products.PageTemplates.PageTemplate, line 89, in pt_render
Module zope.pagetemplate.pagetemplate, line 117, in pt_render
Module zope.tal.talinterpreter, line 271, in __call__
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 534, in do_optTag_tal
Module zope.tal.talinterpreter, line 516, in no_tag
Module zope.tal.talinterpreter, line 346, in interpret
Module zope.tal.talinterpreter, line 754, in do_insertStructure_tal
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
207: ordinal not in range(128)
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
More information about the Zope-CMF
mailing list