I have an error with
the advanced_search_form on the last CPS version (svn of this day). It
seems come from the 'get vocabulary'. The CPS_update to restore the search
vocabulary have no effect... The directives (in the
zope.conf) 'rest-output-encoding'/'rest-output-encoding' have an influence
on this or not ?
Thanks for
your help...
Time 2005/06/16 13:19:21.695 GMT+2
User Name (User Id) admin (admin)
Request URL http://localhost/site2/advanced_search_form
Exception Type UnicodeDecodeError
Exception Value 'ascii' codec can't decode byte 0xe9 in position 9: ordinal not in range(128)
Traceback (innermost last):
* Module ZPublisher.Publish, line 101, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 39, in call_object
* Module Shared.DC.Scripts.Bindings, line 306, in __call__
* Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
* Module Products.CMFCore.FSPageTemplate, line 188, in _exec
* Module Products.CMFCore.FSPageTemplate, line 127, in pt_render
* Module Products.PageTemplates.PageTemplate, line 96, in pt_render
<FSPageTemplate at /site2/advanced_search_form>
* Module TAL.TALInterpreter, line 190, in __call__
* Module TAL.TALInterpreter, line 234, in interpret
* Module TAL.TALInterpreter, line 460, in do_setLocal_tal
* Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:CPSDefault/skins/cps_default/advanced_search_form.pt
Line 1, Column 0
_expression_: <PythonExpr here.processSearchForm(REQUEST=request)>
Names:
{'container': <CPSDefaultSite instance at b6022e90>,
'context': <CPSDefaultSite instance at b6022e90>,
'default': <Products.PageTemplates.TALES.Default instance at 0xb774da6c>,
'here': <CPSDefaultSite instance at b6022e90>,
'loop': <SafeMapping instance at b6d5a680>,
'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0xb7746f2c>,
'nothing': None,
'options': {'args': ()},
'repeat': <SafeMapping instance at b6d5a680>,
'request': <HTTPRequest, URL=""
'root': <Application instance at b636de30>,
'template': <FSPageTemplate at /site2/advanced_search_form>,
'traverse_subpath': [],
'user': admin}
* Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: here.processSearchForm(REQUEST=request)
* Module Python _expression_ "here.processSearchForm(REQUEST=request)", line 1, in <_expression_>
* Module Products.CMFCore.FSPythonScript, line 108, in __call__
* Module Shared.DC.Scripts.Bindings, line 306, in __call__
* Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
* Module Products.CMFCore.FSPythonScript, line 163, in _exec
* Module None, line 27, in processSearchForm
<FSPythonScript at /site2/processSearchForm>
Line 27
* Module Products.CPSSchemas.LayoutsTool, line 95, in renderLayout
* Module Products.CPSSchemas.Layout, line 377, in renderLayoutStructure
* Module Products.CPSSchemas.BasicWidgets, line 1173, in render
* Module Products.CPSSchemas.MethodVocabulary, line 220, in items
* Module Products.CMFCore.FSPythonScript, line 108, in __call__
* Module Shared.DC.Scripts.Bindings, line 306, in __call__
* Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
* Module Products.CMFCore.FSPythonScript, line 163, in _exec
* Module None, line 4, in getVocabularySearchPortalType
<FSPythonScript at /site2/getVocabularySearchPortalType>
Line 4
* Module Products.CMFCore.FSPythonScript, line 108, in __call__
* Module Shared.DC.Scripts.Bindings, line 306, in __call__
* Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
* Module Products.CMFCore.FSPythonScript, line 163, in _exec
* Module None, line 43, in getSortedContentTypes
<FSPythonScript at /site2/getSortedContentTypes>
Line 43
* Module None, line 41, in cmp_type
<FSPythonScript at /site2/getSortedContentTypes>
Line 41
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 9: ordinal not in range(128)
Display traceback as text
REQUEST
form
cookies
tree-s 'eJzT0MgpMOQKVneEA1dbda4CI67EkgJjLj0AeGcHew'
__ac_name 'pierre-d'
lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager instance at b6928650>>
other
TraversalRequestNameStack []
AUTHENTICATED_USER admin
URL 'http://localhost/site2/advanced_search_form'
SERVER_URL 'http://localhost'
AUTHENTICATION_PATH ''
traverse_subpath []
USER_PREF_LANGUAGES <Products.Localizer.Accept.AcceptLanguage instance at 0xb64e87ac>
_translation_service_cache <PlacefulTranslationService at /site2/translation_service used for /site2/portal_layouts/cpsdefault_search/w__ZCText>
PUBLISHED <FSPageTemplate at /site2/advanced_search_form>
AcceptLanguage <Products.Localizer.Accept.AcceptLanguage instance at 0xb64e87ac>
AcceptCharset <Products.Localizer.Accept.AcceptCharset instance at 0xb64e868c>
_ts_domain_cache {'default': <LocalizerDomain at /site2/translation_service/>}
ACTUAL_URL 'http://localhost/site2/advanced_search_form'
_localizer_placeful_mc_cache {'Localizer/default': <MessageCatalog at /site2/Localizer/default>}
URL0 http://localhost/site2/advanced_search_form
URL1 http://localhost/site2
URL2 http://localhost
BASE0 http://localhost
BASE1 http://localhost
BASE2 http://localhost/site2
BASE3 http://localhost/site2/advanced_search_form
environ
HTTP_COOKIE '__ac_name="pierre-d"; tree-s="eJzT0MgpMOQKVneEA1dbda4CI67EkgJjLj0AeGcHew"'
SERVER_SOFTWARE 'Zope/(Zope 2.7.6-final, python 2.3.4, linux2) ZServer/1.1 CPS/3.3'
SCRIPT_NAME ''
REQUEST_METHOD 'GET'
PATH_INFO '/site2/advanced_search_form'
SERVER_PROTOCOL 'HTTP/1.1'
channel.creation_time 1118920669
CONNECTION_TYPE 'keep-alive'
HTTP_ACCEPT_CHARSET 'ISO-8859-15,utf-8;q=0.7,*;q=0.7'
HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4'
HTTP_REFERER 'http://localhost/site2/'
SERVER_NAME 'portablesylvain.CDG-Nord'
REMOTE_ADDR '172.57.10.121'
PATH_TRANSLATED '/site2/advanced_search_form'
SERVER_PORT '80'
HTTP_HOST 'localhost'
HTTP_ACCEPT 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5'
GATEWAY_INTERFACE 'CGI/1.1'
HTTP_ACCEPT_LANGUAGE 'fr-fr,en-us;q=0.7,en;q=0.3'
HTTP_ACCEPT_ENCODING 'gzip,deflate'
HTTP_KEEP_ALIVE '300'
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
