Exception occurs when selection "followup" (pcng_issue_followup) action tab.
When I click in "edit" (pcng_base_edit?fieldset=issuedata) or use this encoding in others fields this exception do not occurs.
The title is: Erro com acentuação
Environment:
python 2.4
Zope 2.9 (src)
Plone 2.5.1
PCNG 1.2.10
Site error
This site encountered an error trying to fulfill your request. The errors were:
Error Type
UnicodeDecodeError
Error Value
'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)
Request made at
2007/01/29 06:02:32.483 GMT-2
Logged In: YES
user_id=11084
Originator: NO
Provide the full traceback and provide a detailed description to reproduce with an out-of-the-box Plone installation.
Logged In: YES
user_id=1704506
Originator: YES
To reproduce:
* Create an issue with a title like "Erro de acentuação" (with ç or ã)
* Click in "followup" tab
(sorry about the bad english)
------
2007-01-29T06:05:05 ERROR Zope.SiteErrorLog http://10.1.2.195:8081/intranet/plonecollectorng.2007-01-26.0811908557/2/pcng_issue_followup
Traceback (innermost last):
Module ZPublisher.Publish, line 115, in publish
Module ZPublisher.mapply, line 88, in mapply
Module ZPublisher.Publish, line 41, in call_object
Module Shared.DC.Scripts.Bindings, line 311, in __call__
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
Module Products.CMFCore.FSPageTemplate, line 195, in _exec
Module Products.CacheSetup.patch_cmf, line 38, in FSPT_pt_render
Module Products.CacheSetup.patch_cmf, line 92, in PT_pt_render
- <FSPageTemplate at /intranet/pcng_issue_followup used for /intranet/plonecollectorng.2007-01-26.0811908557/2>
Module TAL.TALInterpreter, line 238, in __call__
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 749, in do_useMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 780, in do_defineSlot
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 728, in do_defineMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 772, in do_defineSlot
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 749, in do_useMacro
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 715, in do_condition
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 457, in do_optTag_tal
Module TAL.TALInterpreter, line 442, in do_optTag
Module TAL.TALInterpreter, line 437, in no_tag
Module TAL.TALInterpreter, line 281, in interpret
Module TAL.TALInterpreter, line 531, in do_insertText_tal
Module Products.PageTemplates.TALES, line 227, in evaluateText
Module Products.PageTemplates.TALES, line 221, in evaluate
- URL: /intranet/pcng_macros
- Line 14, Column 6
- Expression: string:u'#${here/getId}: ${here/Title}'
- Names:
{'container': <PloneSite at /intranet>,
'context': <PloneIssueNG at /intranet/plonecollectorng.2007-01-26.0811908557/2>,
'default': <Products.PageTemplates.TALES.Default instance at 0x2aaaaf952680>,
'here': <PloneIssueNG at /intranet/plonecollectorng.2007-01-26.0811908557/2>,
'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x2aaab60ca7a0>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x2aaaaf952ab8>,
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x2aaab60ca7a0>,
'request': <HTTPRequest, URL=http://10.1.2.195:8081/intranet/plonecollectorng.2007-01-26.0811908557/2/pcng_issue_followup>,
'root': <Application at >,
'template': <FSPageTemplate at /intranet/pcng_issue_followup used for /intranet/plonecollectorng.2007-01-26.0811908557/2>,
'traverse_subpath': [],
'user': <PropertiedUser 'admin'>}
Module Products.PageTemplates.Expressions, line 229, in __call__
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)
Logged In: YES
user_id=1704506
Originator: YES
Im so sorry! I make a mistake! Some custom that i made in "pcng_macro" cause this exception. Sorry again, i will look what i made to do this... sorry