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

Tres Seaver tseaver at palladion.com
Tue Jan 16 10:40:48 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christophe Combelles wrote:
> 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>}


Please give us the *full* traceback:  we can't even see what error is
occuring here, except that something is going wrong in 'view/getDoc'.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFrPIA+gerLs4ltQ4RAj2tAJ9o5wySWu5nD94p2iF2Ht2K+mlc6gCgz4RY
ZwgDhICeKxd2uX3ZF1fEZOg=
=2ejP
-----END PGP SIGNATURE-----



More information about the Zope3-dev mailing list