[CPS-users-fr] Erreur: No layout method 'layout_dir_search_noid' for layout 'members_search'

Alain MAINAR a.mainar at ccml.fr
Jeu 14 Déc 14:38:48 CET 2006


Rebonjour,

Désolé de vous déranger une fois de plus, mais après avoir procédé au réimport du profil CPSSubscriptions (que ce soit uniquement l'étape "Layout tools" ou l'intégralité, ceci sur le serveur de production et le serveur de test), nous obtenons un nouveau message, encore plus obscur pour nous (Type IndexError / Value list index out of range) !

Aurions nous fait une erreur ? Ou oublié quelque chose.

Merci par avance.

AM

Voici le message:

Time 2006/12/14 14:35:16.253 GMT+1 
User Name (User Id) a.mainar (a.mainar) 
Request URL http://srvdoc/cps/sections/actualites/bulletin-d-information5337/content_notify_email_form 
Exception Type IndexError 
Exception Value list index out of range 

Traceback (innermost last): 

Module ZPublisher.Publish, line 115, in publish 
Module ZPublisher.mapply, line 88, in mapply 
Module ZPublisher.Publish, line 41, in call_object 
Module Shared.DC.Scripts.Bindings, line 311, in __call__ 
Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec 
Module Products.CMFCore.FSPageTemplate, line 195, in _exec 
Module Products.CMFCore.FSPageTemplate, line 134, in pt_render 
Module Products.PageTemplates.PageTemplate, line 104, in pt_render
<FSPageTemplate at /cps/content_notify_email_form used for /cps/sections/actualites/bulletin-d-information5337> 
Module TAL.TALInterpreter, line 238, in __call__ 
Module TAL.TALInterpreter, line 281, in interpret 
Module TAL.TALInterpreter, line 507, in do_setLocal_tal 
Module Products.PageTemplates.TALES, line 221, in evaluate
URL: file:CPSSubscriptions/skins/cps_subscriptions/content_notify_email_form.pt
Line 1, Column 0
Expression: <PythonExpr dir.renderSearchDetailed(request=request, validate=validate, callback='content_notify_email_do_search_results', layout_mode='search_noid', call_context=here)>
Names:
{'container': <CPSDefaultSite at /cps>,
 'context': <ProxyDocument at /cps/sections/actualites/bulletin-d-information5337>,
 'default': <Products.PageTemplates.TALES.Default instance at 0x01547CB0>,
 'here': <ProxyDocument at /cps/sections/actualites/bulletin-d-information5337>,
 'loop': <Products.PageTemplates.TALES.SafeMapping object at 0x08E77AD0>,
 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x0153B260>,
 'nothing': None,
 'options': {'args': ()},
 'repeat': <Products.PageTemplates.TALES.SafeMapping object at 0x08E77AD0>,
 'request': <HTTPRequest, URL=http://srvdoc/cps/sections/actualites/bulletin-d-information5337/content_notify_email_form>,
 'root': <Application at >,
 'template': <FSPageTemplate at /cps/content_notify_email_form used for /cps/sections/actualites/bulletin-d-information5337>,
 'traverse_subpath': [],
 'user': <CPSUser a.mainar>}Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
__traceback_info__: dir.renderSearchDetailed(request=request, validate=validate, callback='content_notify_email_do_search_results', layout_mode='search_noid', call_context=here) 
Module Python expression "dir.renderSearchDetailed(request=request, validate=validate, callback='content_notify_email_do_search_results', layout_mode='search_noid', call_context=here)", line 1, in <expression> 
Module Products.CPSDirectory.BaseDirectory, line 712, in renderSearchDetailed 
Module Products.CPSSchemas.Layout, line 272, in prepareLayoutWidgets 
Module Products.CPSSchemas.BasicWidgets, line 207, in prepare 
IndexError: list index out of range 

Display traceback as text

 

REQUEST
form
-C '' 

cookies
__ac_name 'a.mainar' 
cpsskins_view_mode 'eyJ0aGVtZXNfcGFuZWwiOiAid3lzaXd5ZyIsICJ0aGVtZSI6ICJkZWZhdWx0IiwgImN1cnJlbnRfdXJsIjogImh0dHA6Ly9zcnZkb2MvY3BzL2Nwc2RpcmVjdG9yeV9lbnRyeV9zZWFyY2hfZm9ybT93aWRnZXRfX3NuPSZjcHNkaXJlY3Rvcnlfc2VhcmNoX2J1dHRvbj1SZWNoZXJjaGVyJndpZGdldF9fZW1haWw9JndpZGdldF9fZnVsbG5hbWU9JmJfc3RhcnQ6aW50PTAmd2lkZ2V0X19naXZlbk5hbWU9JndpZGdldF9fc0FNQWNjb3VudE5hbWU9JTJBJmRpcm5hbWU9bWVtYmVycyJ9' 
_ZopeId '83851774A2o23qdIf8w' 

lazy items
SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager at /session_data_manager>> 

other
TraversalRequestNameStack [] 
AUTHENTICATED_USER <CPSUser a.mainar> 
URL 'http://srvdoc/cps/sections/actualites/bulletin-d-information5337/content_notify_email_form' 
SERVER_URL 'http://srvdoc' 
formaction 'content_notify_email_form' 
AUTHENTICATION_PATH 'cps' 
traverse_subpath [] 
USER_PREF_LANGUAGES <Products.Localizer.Accept.AcceptLanguage instance at 0x07D60170> 
PUBLISHED <FSPageTemplate at /cps/content_notify_email_form used for /cps/sections/actualites/bulletin-d-information5337> 
AcceptLanguage <Products.Localizer.Accept.AcceptLanguage instance at 0x07D60170> 
AcceptCharset <Products.Localizer.Accept.AcceptCharset instance at 0x07C814B8> 
input_id None 
ACTUAL_URL 'http://srvdoc/cps/sections/actualites/bulletin-d-information5337/content_notify_email_form' 
URL0 http://srvdoc/cps/sections/actualites/bulletin-d-information5337/content_notify_email_form 
URL1 http://srvdoc/cps/sections/actualites/bulletin-d-information5337 
URL2 http://srvdoc/cps/sections/actualites 
URL3 http://srvdoc/cps/sections 
URL4 http://srvdoc/cps 
URL5 http://srvdoc 
BASE0 http://srvdoc 
BASE1 http://srvdoc 
BASE2 http://srvdoc/cps 
BASE3 http://srvdoc/cps/sections 
BASE4 http://srvdoc/cps/sections/actualites 
BASE5 http://srvdoc/cps/sections/actualites/bulletin-d-information5337 
BASE6 http://srvdoc/cps/sections/actualites/bulletin-d-information5337/content_notify_email_form 

environ
HTTP_ACCEPT 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*' 
CONNECTION_TYPE 'Keep-Alive' 
HTTP_USER_AGENT 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; InfoPath.1)' 
HTTP_REFERER 'http://srvdoc/cps/sections/actualites/bulletin-d-information5337' 
SERVER_NAME 'srvdoc.CCML.local' 
GATEWAY_INTERFACE 'CGI/1.1' 
SERVER_SOFTWARE 'Zope/(Zope 2.9.4, python 2.4.2, win32) ZServer/1.1 CPS/3.4' 
REMOTE_ADDR '137.200.24.32' 
HTTP_ACCEPT_LANGUAGE 'fr' 
SCRIPT_NAME '' 
REQUEST_METHOD 'GET' 
HTTP_HOST 'srvdoc' 
PATH_INFO '/cps/sections/actualites/bulletin-d-information5337/content_notify_email_form' 
SERVER_PORT '80' 
SERVER_PROTOCOL 'HTTP/1.1' 
HTTP_UA_CPU 'x86' 
channel.creation_time 1166103213 
HTTP_ACCEPT_ENCODING 'gzip, deflate' 
HTTP_COOKIE 'cpsskins_view_mode="eyJ0aGVtZXNfcGFuZWwiOiAid3lzaXd5ZyIsICJ0aGVtZSI6ICJkZWZhdWx0IiwgImN1cnJlbnRfdXJsIjogImh0dHA6Ly9zcnZkb2MvY3BzL2Nwc2RpcmVjdG9yeV9lbnRyeV9zZWFyY2hfZm9ybT93aWRnZXRfX3NuPSZjcHNkaXJlY3Rvcnlfc2VhcmNoX2J1dHRvbj1SZWNoZXJjaGVyJndpZGdldF9fZW1haWw9JndpZGdldF9fZnVsbG5hbWU9JmJfc3RhcnQ6aW50PTAmd2lkZ2V0X19naXZlbk5hbWU9JndpZGdldF9fc0FNQWNjb3VudE5hbWU9JTJBJmRpcm5hbWU9bWVtYmVycyJ9"; __ac_name="a.mainar"; _ZopeId="83851774A2o23qdIf8w"; __ac="YS5tYWluYXI6aFIwLlJvbg%3D%3D"' 
PATH_TRANSLATED '\\cps\\sections\\actualites\\bulletin-d-information5337\\content_notify_email_form'

-----Message d'origine-----
De : cps-users-fr-bounces at lists.nuxeo.com [mailto:cps-users-fr-bounces at lists.nuxeo.com] De la part de Georges Racinet
Envoyé : jeudi 14 décembre 2006 12:11
À : a.mainar at ccml.fr
Cc : cps-users-fr at lists.nuxeo.com
Objet : Re: [CPS-users-fr] Erreur: No layout method 'layout_dir_search_noid' for layout 'members_search'


On Dec 14, 2006, at 11:59 AM, Alain MAINAR wrote:

> Bonjour,
>
>
>
> Je suis vraiment navré de relancer la liste, mais nos utilisateurs  
> sont extrêmement ennuyés de ne plus pouvoir utiliser le bouton «  
> Envoi par mèl ». On obtient en effet en réponse l’erreur décrite  
> dans le mail ci-dessous. Nous ne savons pas identifier l’origine du  
> problème, sur lequel nous butons depuis deux jours. Est-ce lié à la  
> mise en œuvre récente de CPSLDAPSetup ? De CPS 3.4.3 ? d’autre  
> chose… ? Nous avons l’impression qu’il manque donc une méthode,  
> mais d’où la sortir ???
Il manque le nom d'une méthode.
Normalement, si vous réimportez le profil CPSSubscriptions (ou  
seulement l'étape "Layouts tool" dans portal_setup>import steps), ça  
devrait s'arranger.


>
>
> Tous nos remerciements et notre reconnaissance (!!!) à celui qui  
> pourrait nous proposer au moins un début de piste…
>
>
>
> Bonne journée,
>
>
>
> AM
>
>
>
> De : Alain MAINAR [mailto:a.mainar at ccml.fr]
> Envoyé : mardi 12 décembre 2006 08:58
> À : 'cps-users-fr at lists.nuxeo.com'
> Objet : Message d'erreur lors d'un clic sur "Envoi par mèl"
>
>
>
> Bonjour,
>
>
>
>
>
> Lorsque l’on souhaite envoyer un mail aux utilisateurs du portail  
> pour les informer de la publication d’un nouveau document, nous  
> obtenons le message d’erreur suivant lorsque l’on clique sur «  
> Envoi par mèl »…
>
>
>
> Y aurait-il quelque chose que nous aurions mal fait ?
>
>
>
> Merci pour toute piste….
>
>
>
>
>
> Bonne journée,
>
>
>
> AM
>
>
>
> PS : CPS 3.4.3 + Python 2.4 + Zope 2.9.4 – CPSGroupware 2.1 –  
> LDAPSetup version “AD”
>
>
>
>
>
> Time
>
> 2006/12/12 08:43:54.488 GMT+1
>
> User Name (User Id)
>
> a.mainar (a.mainar)
>
> Request URL
>
> http://srvdoc/cps/sections/actualites/bulletin-d-information5337/ 
> content_notify_email_form
>
> Exception Type
>
> ValueError
>
> Exception Value
>
> No layout method 'layout_dir_search_noid' for layout 'members_search'
>
> Traceback (innermost last):
>
> Module ZPublisher.Publish, line 115, in publish
> Module ZPublisher.mapply, line 88, in mapply
> Module ZPublisher.Publish, line 41, in call_object
> Module Shared.DC.Scripts.Bindings, line 311, in __call__
> Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
> Module Products.CMFCore.FSPageTemplate, line 195, in _exec
> Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
> Module Products.PageTemplates.PageTemplate, line 104, in pt_render
> <FSPageTemplate at /cps/content_notify_email_form used for /cps/ 
> sections/actualites/bulletin-d-information5337>
> Module TAL.TALInterpreter, line 238, in __call__
> Module TAL.TALInterpreter, line 281, in interpret
> Module TAL.TALInterpreter, line 507, in do_setLocal_tal
> Module Products.PageTemplates.TALES, line 221, in evaluate
> URL: file:CPSSubscriptions/skins/cps_subscriptions/ 
> content_notify_email_form.pt
> Line 1, Column 0
> Expression: <PythonExpr dir.renderSearchDetailed(request=request,  
> validate=validate,  
> callback='content_notify_email_do_search_results',  
> layout_mode='search_noid', call_context=here)>
> Names:
> ·                {'container': ,·                  
> 'context': ,·                 'default':  
> <Products.PageTemplates.TALES.Default instance at  
> 0x01547CB0>,·                 'here': ,·                 'loop':  
> <Products.PageTemplates.TALES.SafeMapping object at  
> 0x076548F0>,·                 'modules':  
> <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance  
> at 0x0153B260>,·                 'nothing': None,·                  
> 'options': {'args': ()},·                 'repeat':  
> <Products.PageTemplates.TALES.SafeMapping object at  
> 0x076548F0>,·                 'request': ,·                  
> 'root': ,·                 'template': <FSPageTemplate at /cps/ 
> content_notify_email_form used for /cps/sections/actualites/ 
> bulletin-d-information5337>,·                 'traverse_subpath':  
> [], 'user': <CPSUser a.mainar>}
> Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
> __traceback_info__: dir.renderSearchDetailed(request=request,  
> validate=validate,  
> callback='content_notify_email_do_search_results',  
> layout_mode='search_noid', call_context=here)
> Module Python expression "dir.renderSearchDetailed(request=request,  
> validate=validate,  
> callback='content_notify_email_do_search_results',  
> layout_mode='search_noid', call_context=here)", line 1, in  
> <expression>
> Module Products.CPSDirectory.BaseDirectory, line 722, in  
> renderSearchDetailed
> Module Products.CPSDirectory.BaseDirectory, line 952, in _renderLayout
> Module Products.CPSSchemas.Layout, line 432, in renderLayoutStyle
> ValueError: No layout method 'layout_dir_search_noid' for layout  
> 'members_search'
>
> Display traceback as text
>
>
>
> REQUEST form
> -C
>
> ''
>
> cookies
> __ac_name
>
> 'a.mainar'
>
> cpsskins_view_mode
>
> 'eyJ0aGVtZXNfcGFuZWwiOiAid3lzaXd5ZyIsICJ0aGVtZSI6ICJkZWZhdWx0IiwgImN1c 
> nJlbnRfdXJsIjogImh0dHA6Ly9zcnZkb2MvY3BzL2luZGV4X2h0bWwifQ=='
>
> _ZopeId
>
> '61964515A2onSOWu5jM'
>
> lazy items
> SESSION
>
> <bound method SessionDataManager.getSessionData of  
> <SessionDataManager at /session_data_manager>>
>
> other
> TraversalRequestNameStack
>
> []
>
> AUTHENTICATED_USER
>
> <CPSUser a.mainar>
>
> URL
>
> 'http://srvdoc/cps/sections/actualites/bulletin-d-information5337/ 
> content_notify_email_form'
>
> SERVER_URL
>
> 'http://srvdoc'
>
> formaction
>
> 'content_notify_email_form'
>
> AUTHENTICATION_PATH
>
> 'cps'
>
> traverse_subpath
>
> []
>
> USER_PREF_LANGUAGES
>
> <Products.Localizer.Accept.AcceptLanguage instance at 0x077330F8>
>
> PUBLISHED
>
> <FSPageTemplate at /cps/content_notify_email_form used for /cps/ 
> sections/actualites/bulletin-d-information5337>
>
> AcceptLanguage
>
> <Products.Localizer.Accept.AcceptLanguage instance at 0x077330F8>
>
> AcceptCharset
>
> <Products.Localizer.Accept.AcceptCharset instance at 0x0479FB48>
>
> input_id
>
> None
>
> ACTUAL_URL
>
> 'http://srvdoc/cps/sections/actualites/bulletin-d-information5337/ 
> content_notify_email_form'
>
> URL0
>
> http://srvdoc/cps/sections/actualites/bulletin-d-information5337/ 
> content_notify_email_form
>
> URL1
>
> http://srvdoc/cps/sections/actualites/bulletin-d-information5337
>
> URL2
>
> http://srvdoc/cps/sections/actualites
>
> URL3
>
> http://srvdoc/cps/sections
>
> URL4
>
> http://srvdoc/cps
>
> URL5
>
> http://srvdoc
>
> BASE0
>
> http://srvdoc
>
> BASE1
>
> http://srvdoc
>
> BASE2
>
> http://srvdoc/cps
>
> BASE3
>
> http://srvdoc/cps/sections
>
> BASE4
>
> http://srvdoc/cps/sections/actualites
>
> BASE5
>
> http://srvdoc/cps/sections/actualites/bulletin-d-information5337
>
> BASE6
>
> http://srvdoc/cps/sections/actualites/bulletin-d-information5337/ 
> content_notify_email_form
>
> environ
> HTTP_ACCEPT
>
> 'image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x- 
> shockwave-flash, application/vnd.ms-excel, application/vnd.ms- 
> powerpoint, application/msword, */*'
>
> CONNECTION_TYPE
>
> 'Keep-Alive'
>
> HTTP_USER_AGENT
>
> 'Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR  
> 1.1.4322; InfoPath.1)'
>
> HTTP_REFERER
>
> 'http://srvdoc/cps/sections/actualites/bulletin-d-information5337'
>
> SERVER_NAME
>
> 'srvdoc.CCML.local'
>
> GATEWAY_INTERFACE
>
> 'CGI/1.1'
>
> SERVER_SOFTWARE
>
> 'Zope/(Zope 2.9.4, python 2.4.2, win32) ZServer/1.1 CPS/3.4'
>
> REMOTE_ADDR
>
> '137.200.24.32'
>
> HTTP_ACCEPT_LANGUAGE
>
> 'fr'
>
> SCRIPT_NAME
>
> ''
>
> REQUEST_METHOD
>
> 'GET'
>
> HTTP_HOST
>
> 'srvdoc'
>
> PATH_INFO
>
> '/cps/sections/actualites/bulletin-d-information5337/ 
> content_notify_email_form'
>
> SERVER_PORT
>
> '80'
>
> SERVER_PROTOCOL
>
> 'HTTP/1.1'
>
> HTTP_UA_CPU
>
> 'x86'
>
> channel.creation_time
>
> 1165909394
>
> HTTP_ACCEPT_ENCODING
>
> 'gzip, deflate'
>
> HTTP_COOKIE
>
> 'cpsskins_view_mode="eyJ0aGVtZXNfcGFuZWwiOiAid3lzaXd5ZyIsICJ0aGVtZSI6I 
> CJkZWZhdWx0IiwgImN1cnJlbnRfdXJsIjogImh0dHA6Ly9zcnZkb2MvY3BzL2luZGV4X2h 
> 0bWwifQ=="; __ac_name="a.mainar"; _ZopeId="61964515A2onSOWu5jM";  
> __ac="YS5tYWluYXI6aFIwLlJvbg%3D%3D"'
>
> PATH_TRANSLATED
>
> '\\cps\\sections\\actualites\\bulletin-d-information5337\ 
> \content_notify_email_form'
>
>
>
> _______________________________________________
> cps-users-fr
> Adresse de la liste : cps-users-fr at lists.nuxeo.com
> Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/ 
> cps-users-fr>

---------
Georges Racinet,   Nuxeo SAS
Open Source Enterprise Content Management (ECM)
Web: http://www.nuxeo.com/ and http://www.nuxeo.org/ - Tel: +33 1 40  
33 79 87








Plus d'informations sur la liste de diffusion cps-users-fr

This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.