Completed

#0735 error with link "statistics"  

An error occured when I tried to...

-------------------------------------------------- Error type: UnicodeEncodeError Error value: ascii codec can't encode character u'\xe9' in position 19: ordinal not in range(128)

<p>Traceback (innermost last): <ul>

<li> Module ZPublisher.Publish, line 119, in publish</li>

<li> Module ZPublisher.mapply, line 88, in mapply</li>

<li> Module ZPublisher.Publish, line 42, in call_object</li>

<li> Module Shared.DC.Scripts.Bindings, line 313, in __call__</li>

<li> Module Shared.DC.Scripts.Bindings, line 350, in _bindAndExec</li>

<li> Module Products.CheckoutableTemplates.CTFiles, line 325, in _exec</li>

<li> Module Products.PageTemplates.PageTemplateFile, line 129, in _exec</li>

<li> Module Products.PageTemplates.PageTemplate, line 89, in pt_render</li>

<li> Module zope.pagetemplate.pagetemplate, line 117, in pt_render</li>

<li> Module zope.tal.talinterpreter, line 271, in __call__</li>

<li> Module zope.tal.talinterpreter, line 346, in interpret</li>

<li> Module zope.tal.talinterpreter, line 891, in do_useMacro</li>

<li> Module zope.tal.talinterpreter, line 346, in interpret</li>

<li> Module zope.tal.talinterpreter, line 536, in do_optTag_tal</li>

<li> Module zope.tal.talinterpreter, line 521, in do_optTag</li>

<li> Module zope.tal.talinterpreter, line 516, in no_tag</li>

<li> Module zope.tal.talinterpreter, line 346, in interpret</li>

<li> Module zope.tal.talinterpreter, line 949, in do_defineSlot</li>

<li> Module zope.tal.talinterpreter, line 346, in interpret</li>

<li> Module zope.tal.talinterpreter, line 855, in do_condition</li>

<li> Module zope.tal.talinterpreter, line 346, in interpret</li>

<li> Module zope.tal.talinterpreter, line 536, in do_optTag_tal</li>

<li> Module zope.tal.talinterpreter, line 521, in do_optTag</li>

<li> Module zope.tal.talinterpreter, line 516, in no_tag</li>

<li> Module zope.tal.talinterpreter, line 346, in interpret</li>

<li> Module zope.tal.talinterpreter, line 824, in do_loop_tal</li>

<li> Module zope.tal.talinterpreter, line 346, in interpret</li>

<li> Module zope.tal.talinterpreter, line 586, in do_setLocal_tal</li>

<li> Module zope.tales.tales, line 696, in evaluate<br /> <b>URL: Statistics</b><br /> <b>Line 81, Column 8</b><br /> <b>Expression: <PythonExpr url_quote_plus(section)></b><br /> <b>Names:</b><pre>{'container': <IssueTracker at /1>, 'context': <IssueTracker at /1>, 'default': <object object at 0x0070A528>, 'here': <IssueTracker at /1>, 'loop': {'sectioncount': <Products.PageTemplates.Expressions.PathIterator object at 0x0390BB30>}, 'nothing': None, 'options': {'args': ()}, 'repeat': <Products.PageTemplates.Expressions.SafeMapping object at 0x01BF73F0>, 'request': <HTTPRequest, URL=http://sinfdwp01:8080/1/Statistics>;, 'root': <Application at >, 'template': <CTPageTemplateFile at /1/Statistics>, 'user': <IssueUser bonvin>}</pre></li>

<li> Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__<br /> __traceback_info__: url_quote_plus(section)</li>

<li> Module PythonExpr, line 1, in <expression></li>

<li> Module DocumentTemplate.DT_Var, line 344, in url_quote_plus</li>

</ul>UnicodeEncodeError: ascii codec can't encode character u'\xe9' in position 19: ordinal not in range(128) </p>

Submitted by: <Rene Bonvin>
18-Apr 2008
7 months and 6 days old
Sections:Statistics
Type:bug report
Urgency:normal
Added Issue followup   -   <Peter Bengtsson> permanent link

I think it's because you're running an old copy before the appropriate unicode features were fully added. Go to the management tab inside the issuetracker e.g. http://localhost:8080/tracker/manage_ManagementForm and click the Update Everything button. See if that helps.

18-Apr 2008
 
Added Issue followup   -   No name or email permanent link

i did an update everything but the error is still present. for info we use accentuated caracters is it the problem..

18-Apr 2008
 
Changed status from Open to Taken   -   <Peter Bengtsson> permanent link

Hmm... That's odd then. Where do you have accentuated characters? In the status names or just in the issues?

18-Apr 2008
 
Changed status from Taken to Completed   -   <Peter Bengtsson> permanent link

This has been solved now and checked into trunk. I can't guarantee that your error was the same as the one I managed to reproduce and then fix but I think it was. I've checked it into the trunk so if you could please try that and let me know if it solved the problem. I had to really dig deep into the bowls of Zope to fix this problem.

20-Apr 2008
 
Added Issue followup   -   No name or email permanent link

Hello,
i had an accent in a section name, after removing it, the problem is solved
Thanks for your help

21-Apr 2008
 
Added Issue followup   -   <Peter Bengtsson> permanent link

You shouldn't have to remove the accent in the section name. Unless of course you can't upgrade to the latest version. Thanks for your bug report anyway.

21-Apr 2008
 
Name:
Email:
Spambot prevention:number?number?number?number? enter these numbers
File attachment:
File attachment:
Hide again hide file attachments
(<Rene Bonvin>, <Peter Bengtsson>)
Tell a Friend [with more options]

Subscription to changes

 
 

Recent issues