Grande Wilton. O que você falou foi exatamente o que eu imaginei, mas
a questão ai é: eu não mexi em nada relacionado a usuário. Como isso
foi acontecer? Esse é o problema.

--- Em zope-pt@yahoogrupos.com.br, "Wilton Alencar" <[EMAIL PROTECTED]>
escreveu
>
> Bem,
> o erro attributeError significa que está acessando algo que não
existe ou
> não está disponível no contexto
> então sugiro olha se setProperties existe.
> conheço manage_changeProperties ou algo assim.
> Talvez setProperties não exista para o objeto membershiptool
> 
> 
> 2008/4/5 SnapNoris <[EMAIL PROTECTED]>:
> 
> >   Gente, eu estou com um problema estranho no Plone, sempre que
tento me
> > logar em um site que estou desenvolvendo acontecer o erro abaixo.
> > Eu não sei onde mexer, pelo que procurar.
> > Alguém poderia ajudar por favor?
> >
> > att
> >
> > Snap Noris
> >
> > Hora
> > 05/04/2008 15:09
> > Nome do usuário (User Id)
> > snapnoris (snapnoris)
> > URL Requisitada
> > http://82.102.11.108:8080/proanima/login_form
> > Tipo de Exceção
> > AttributeError
> > Valor da Exceção
> > setProperties
> >
> > 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 Products.CMFFormController.FSControllerPageTemplate, line
> > 90, in __call__
> > * Module Products.CMFFormController.BaseControllerPageTemplate,
> > line 28, in _call
> > * Module Products.CMFFormController.ControllerBase, line 232, in
> > getNext
> > __traceback_info__: ['id = login_form', 'status = success',
> > 'button=None', 'errors={}', 'context=<PloneSite at proanima>',
> > 'kwargs={}', 'next_action=None', '']
> > * Module Products.CMFFormController.Actions.TraverseTo, line 38,
> > in __call__
> > * Module ZPublisher.mapply, line 88, in mapply
> > * Module ZPublisher.Publish, line 41, in call_object
> > * Module Products.CMFFormController.FSControllerPythonScript, line
> > 104, in __call__
> > * Module Products.CMFFormController.Script, line 145, in __call__
> > * Module Products.CMFCore.FSPythonScript, line 108, in __call__
> > * Module Shared.DC.Scripts.Bindings, line 311, in __call__
> > * Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
> > * Module Products.CMFCore.FSPythonScript, line 164, in _exec
> > * Module None, line 27, in logged_in
> > <FSControllerPythonScript at /proanima/logged_in>
> > Line 27
> > * Module Products.CMFPlone.MembershipTool, line 569, in setLoginTimes
> >
> > AttributeError: setProperties
> >
> > Visualizar traceback como texto
> > REQUEST
> > form
> > submit 'Acessar'
> > cookies_enabled '1'
> > __ac_name 'snapnoris'
> > __ac_password '<password obscured>'
> > js_enabled '1'
> > came_from 'http://82.102.11.108:8080/proanima/manage'
> > login_name 'snapnoris'
> > pwd_empty '0'
> > cookies
> > __utmb '231034774'
> > __utma '231034774.2008574526.1205707294.1207345175.1207418550.50'
> > __utmz
> >
'231034774.1205707294.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)'
> > __utmc '231034774'
> > tree-s 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuxEQ9AIOOB9Q'
> > lazy items
> > SESSION <bound method SessionDataManager.getSessionData of
> > <SessionDataManager at /session_data_manager>>
> > other
> > js_enabled '1'
> > tree-s 'eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuxEQ9AIOOB9Q'
> > cookies_enabled '1'
> > URL2 'http://82.102.11.108:8080'
> > came_from 'http://82.102.11.108:8080/proanima/manage'
> > AUTHENTICATION_PATH ''
> > AUTHENTICATED_USER <PropertiedUser 'snapnoris'>
> > __utmb '231034774'
> > SERVER_URL 'http://82.102.11.108:8080'
> > submit 'Acessar'
> > traverse_subpath []
> > __ac_name 'snapnoris'
> > __ac_password '<password obscured>'
> > ACTUAL_URL 'http://82.102.11.108:8080/proanima/login_form'
> > __utmz
> >
'231034774.1205707294.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)'
> > URL 'http://82.102.11.108:8080/proanima/login_form'
> > PUBLISHED <FSControllerPageTemplate at /proanima/login_form>
> > __utma '231034774.2008574526.1205707294.1207345175.1207418550.50'
> > URL1 'http://82.102.11.108:8080/proanima'
> > __utmc '231034774'
> > pwd_empty '0'
> > controller_state
> > <Products.CMFFormController.ControllerState.ControllerState object at
> > 0xafaabdac>
> > TraversalRequestNameStack []
> > BASE1 'http://82.102.11.108:8080'
> > BASE2 'http://82.102.11.108:8080/proanima'
> > BASE3 'http://82.102.11.108:8080/proanima/login_form'
> > login_name 'snapnoris'
> > URL0 http://82.102.11.108:8080/proanima/login_form
> > URL1 http://82.102.11.108:8080/proanima
> > URL2 http://82.102.11.108:8080
> > BASE0 http://82.102.11.108:8080
> > BASE1 http://82.102.11.108:8080
> > BASE2 http://82.102.11.108:8080/proanima
> > BASE3 http://82.102.11.108:8080/proanima/login_form
> > environ
> > HTTP_COOKIE
> > '__utma=231034774.2008574526.1205707294.1207345175.1207418550.50;
> >
> >
__utmz=231034774.1205707294.1.1.utmccn=(direct)|utmcsr=(direct)|utmcmd=(none);
> > tree-s="eJzTyCkw5NLIKTDiClZ3hANXW3WuAmOuxEQ9AIOOB9Q";
> > __utmc=231034774; __utmb=231034774'
> > SERVER_SOFTWARE 'Zope/(Zope 2.9.7-final, python 2.4.4, linux2)
> > ZServer/1.1 Plone/2.5.2'
> > SCRIPT_NAME ''
> > REQUEST_METHOD 'POST'
> > HTTP_KEEP_ALIVE '300'
> > SERVER_PROTOCOL 'HTTP/1.1'
> > channel.creation_time 1207418985
> > CONNECTION_TYPE 'keep-alive'
> > HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7'
> > HTTP_USER_AGENT 'Mozilla/5.0 (Windows; U; Windows NT 6.0; pt-BR;
> > rv:1.8.1.13) Gecko/20080311 Firefox/2.0.0.13'
> > HTTP_REFERER
> > '
> >
http://82.102.11.108:8080/proanima/acl_users/credentials_cookie_auth/require_login?came_from=http%3A//82.102.11.108%3A8080/proanima/manage
> > '
> > SERVER_NAME '0.0.0.0'
> > REMOTE_ADDR '200.193.224.116'
> > PATH_TRANSLATED '/proanima/login_form'
> > SERVER_PORT '8080'
> > CONTENT_LENGTH '200'
> > HTTP_HOST '82.102.11.108:8080'
> > 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 'pt-br,pt;q=0.8,en-us;q=0.5,en;q=0.3'
> > CONTENT_TYPE 'application/x-www-form-urlencoded'
> > HTTP_ACCEPT_ENCODING 'gzip,deflate'
> > PATH_INFO '/proanima/login_form'
> >
> >  
> >
> 
> 
> 
> -- 
> Cordialmente,
> Wilton Souza Alencar
> www.tom.pro.br
>


Responder a