Re: Erreur: No layout method 'layout_dir_search_noid' for layout 'members_search'

Georges Racinet <[email protected]>
Newsgroups gmane.comp.web.zope.cps.general.french
Message-ID <[email protected]>
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:[email protected]]
> Envoyé : mardi 12 décembre 2006 08:58
> À : '[email protected]'
> 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 : [email protected]
> 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

_______________________________________________
cps-users-fr 
Adresse de la liste : [email protected]
Gestion de l'abonnement : <http://lists.nuxeo.com/mailman/listinfo/cps-users-fr>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.