[Zope3-dev] server error in apidoc (encoding pb)

Christophe Combelles ccomb at free.fr
Tue Jan 16 05:53:19 EST 2007


Did someone have a look on this error ? Is it a trivial thing, or a local 
configuration problem, or is it reproduceable?
(I write in utf-8, and I put # -*- coding: utf-8 -*- in my interfaces.py)

Christophe


Christophe Combelles a écrit :
> Hello,
> 
> When I put some accentuated character in the docstring of an interface
> and I want to see the interface doc in 
> apidoc->interfaces->search->IMyInterface,
> 
> I then get a server error:
> 
> 
>   File "/usr/lib/python2.4/site-packages/zope/tales/tales.py", line 696, 
> in evaluate
>     return expression(self)
>    - /usr/lib/zope3/lib/python/zope/app/apidoc/ifacemodule/index.pt
>    - Line 23, Column 4
>    - Expression: <PathExpr standard:u'view/getDoc'>
>    - Names:
>       {'args': (),
>        'context': <InterfaceClass 
> zblog.category.interfaces.ICategoryContainer>,
>        'default': <object object at 0xb7db0548>,
>        'loop': {},
>        'nothing': None,
>        'options': {},
>        'repeat': {},
>        'request': <zope.publisher.browser.BrowserRequest instance 
> URL=http://localhost:9673/++apidoc++/Interface/zblog.category.interfaces.ICategoryContainer/index.html>, 
> 
>        'template': 
> <zope.app.pagetemplate.viewpagetemplatefile.ViewPageTemplateFile object 
> at 0xb6a319ac>,
>        'usage': <zope.pagetemplate.pagetemplate.TemplateUsage object at 
> 0xb5c3ea4c>,
>        'view': <zope.app.pagetemplate.simpleviewclass.SimpleViewClass 
> from /usr/lib/zope3/lib/python/zope/app/apidoc/ifacemodule/index.pt 
> object at 0xb5c3ef4c>,
>        'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper 
> object at 0xb5bf9d6c>}
> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: http://mail.zope.org/mailman/options/zope3-dev/ccomb%40free.fr
> 
> 
> 



More information about the Zope3-dev mailing list