Submitted by : simon at: 2009-10-29T12:20:58-07:00 (8 years ago)
Name :
Category : Severity : Status :
Optional subject :  
Optional comment :

Eg visit .../createform?page=語 . Perhaps the same as #1447, but a different traceback:

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 Products.ZWiki.Views, line 581, in createform
 Module Products.ZWiki.Views, line 731, in editform
 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 891, in do_useMacro
 Module zope.tal.talinterpreter, line 346, in interpret
 Module zope.tal.talinterpreter, line 536, in do_optTag_tal
 Module zope.tal.talinterpreter, line 521, in do_optTag
 Module zope.tal.talinterpreter, line 516, in no_tag
 Module zope.tal.talinterpreter, line 346, in interpret
 Module zope.tal.talinterpreter, line 949, in do_defineSlot
 Module zope.tal.talinterpreter, line 346, in interpret
 Module zope.tal.talinterpreter, line 891, in do_useMacro
 Module zope.tal.talinterpreter, line 346, in interpret
 Module zope.tal.talinterpreter, line 855, in do_condition
 Module zope.tal.talinterpreter, line 346, in interpret
 Module zope.tal.talinterpreter, line 536, in do_optTag_tal
 Module zope.tal.talinterpreter, line 521, in do_optTag
 Module zope.tal.talinterpreter, line 516, in no_tag
 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 745, in do_insertStructure_tal
 Module Products.PageTemplates.Expressions, line 221, in evaluateStructure
 Module zope.tales.tales, line 696, in evaluate
  - URL: pageheader
  - Line 40, Column 18
  - Expression: <PythonExpr here.talsafe(here.context(request,enlarge_current=1))>
  - Names:
     {'container': <Folder at /wiki>,
      'context': <ZWikiPage 'FrontPage' at 0x2311f10>,
      'default': <object object at 0x43528>,
      'here': <ZWikiPage 'FrontPage' at 0x2311f10>,
      'loop': {},
      'nothing': None,
      'options': {'action': 'Create',
                  'args': (<ZWikiPage 'FrontPage' at 0x2311f10>,
                           <HTTPRequest, URL=http://localhost:8180/wiki/FrontPage/createform>),
                  'id': u'\u8a9e',
                  'oldid': 'FrontPage',
                  'page': u'\u8a9e',
                  'text': ''},
      'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x2d2ae18>,
      'request': <HTTPRequest, URL=http://localhost:8180/wiki/FrontPage/createform>,
      'root': <Application at >,
      'template': <PageTemplateFile at /wiki/editform used for /wiki/FrontPage>,
      'user': <User 'simon'>}
 Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
  - __traceback_info__: here.talsafe(here.context(request,enlarge_current=1))
 Module PythonExpr, line 1, in <expression>
 Module Products.ZWiki.OutlineSupport, line 730, in context
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position 0: ordinal not in range(128)

fixed in darcs --simon, Thu, 29 Oct 2009 15:33:41 -0700 reply

Status: open => closed

Similar to #1447.