[Setup] Re: Site Migration Problem

Bill Etheredge betheredge at mesa-grp.com
Thu May 18 13:46:42 UTC 2006


We have checked that script and do not see anything unusual.  The error 
occurs when we log in to a site and appears to be related to rendering the 
actions.

Bill

"Raphael Ritz" <r.ritz at biologie.hu-berlin.de> 
wrote in message news:e4ht6h$429$1 at sea.gmane.org...
> Bill Etheredge wrote:
>> I hope to get a better response to this posting than I did the last - no 
>> one posted a response to it!
>>
>> We migrated several sites from 2.0.5 to 2.1.2.  Any site that was set up 
>> requiring log in to access site content is manifesting an error after log 
>> in.  Here is an example of the error:
>>
>> Exception Type
>>
>> RuntimeError
>>
>> Exception Value
>>
>> CMFPlone/skins/plone_scripts/plonifyActions.py has errors.
>
> Try visiting portal_skins/plone_scripts/plonifyActions.py in ZMI.
> Do you get more infos there?
>
> It smells like a syntax (white space, indentation, newline) issue
> to me.
>
> Raphael
>
>>
>> Traceback (innermost last):
>>
>>   a.. Module ZPublisher.Publish, line 101, in publish
>>   b.. Module ZPublisher.mapply, line 88, in mapply
>>   c.. Module ZPublisher.Publish, line 39, in call_object
>>   d.. Module Shared.DC.Scripts.Bindings, line 306, in __call__
>>   e.. Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
>>   f.. Module Products.CMFCore.FSPageTemplate, line 195, in _exec
>>   g.. Module Products.CMFCore.FSPageTemplate, line 134, in pt_render
>>   h.. Module Products.PageTemplates.PageTemplate, line 96, in pt_render
>>   <FSPageTemplate at /crestline/document_view used for 
>> /crestline/index_html>
>>   i.. Module TAL.TALInterpreter, line 190, in __call__
>>   j.. Module TAL.TALInterpreter, line 234, in interpret
>>   k.. Module TAL.TALInterpreter, line 671, in do_useMacro
>>   l.. Module TAL.TALInterpreter, line 234, in interpret
>>   m.. Module TAL.TALInterpreter, line 409, in do_optTag_tal
>>   n.. Module TAL.TALInterpreter, line 394, in do_optTag
>>   o.. Module TAL.TALInterpreter, line 389, in no_tag
>>   p.. Module TAL.TALInterpreter, line 234, in interpret
>>   q.. Module TAL.TALInterpreter, line 702, in do_defineSlot
>>   r.. Module TAL.TALInterpreter, line 234, in interpret
>>   s.. Module TAL.TALInterpreter, line 409, in do_optTag_tal
>>   t.. Module TAL.TALInterpreter, line 394, in do_optTag
>>   u.. Module TAL.TALInterpreter, line 389, in no_tag
>>   v.. Module TAL.TALInterpreter, line 234, in interpret
>>   w.. Module TAL.TALInterpreter, line 650, in do_defineMacro
>>   x.. Module TAL.TALInterpreter, line 234, in interpret
>>   y.. Module TAL.TALInterpreter, line 637, in do_condition
>>   z.. Module TAL.TALInterpreter, line 234, in interpret
>>   aa.. Module TAL.TALInterpreter, line 409, in do_optTag_tal
>>   ab.. Module TAL.TALInterpreter, line 394, in do_optTag
>>   ac.. Module TAL.TALInterpreter, line 389, in no_tag
>>   ad.. Module TAL.TALInterpreter, line 234, in interpret
>>   ae.. Module TAL.TALInterpreter, line 671, in do_useMacro
>>   af.. Module TAL.TALInterpreter, line 234, in interpret
>>   ag.. Module TAL.TALInterpreter, line 460, in do_setLocal_tal
>>   ah.. Module Products.PageTemplates.TALES, line 221, in evaluate
>>   URL: file:CMFPlone/skins/plone_templates/global_contentviews.pt
>>   Line 127, Column 20
>>   Expression: <PythonExpr here.plonifyActions(template_id=template_id, 
>> actions=actions, default_tab=default_tab)>
>>   Names:
>> ·                {'container': <PloneSite instance at 0898AC20>,· 
>> 'context': <ATDocument at /crestline/index_html>,· 'default': 
>> <Products.PageTemplates.TALES.Default instance at 0x00FAFAD0>,· 'here': 
>> <ATDocument at /crestline/index_html>,·                 'loop': 
>> <SafeMapping instance at 11ADBE30>,·                 'modules': 
>> <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 
>> 0x00FB5E68>,·                 'nothing': None,· 
>> 'options': {'args': ()},·                 'repeat': <SafeMapping instance 
>> at 11ADBE30>,·                 'request': <HTTPRequest, 
>> URL=http://10.10.2.52/crestline/index_html/document_view>,· 'root': 
>> <Application instance at 087F4EC0>,·                 'template': 
>> <FSPageTemplate at /crestline/document_view used for 
>> /crestline/index_html>,·                 'traverse_subpath': [], 'user': 
>> betheredge}a.. Module Products.PageTemplates.ZRPythonExpr, line 47, in 
>> __call__
>>   __traceback_info__: here.plonifyActions(template_id=template_id, 
>> actions=actions, default_tab=default_tab)
>>   b.. Module Python expression 
>> "here.plonifyActions(template_id=template_id, actions=actions, 
>> default_tab=default_tab)", line 1, in <expression>
>>   c.. Module Products.CMFCore.FSPythonScript, line 108, in __call__
>>   d.. Module Shared.DC.Scripts.Bindings, line 306, in __call__
>>   e.. Module Shared.DC.Scripts.Bindings, line 343, in _bindAndExec
>>   f.. Module Products.CMFCore.FSPythonScript, line 142, in _exec
>>   <FSPythonScript at /crestline/plonifyActions used for 
>> /crestline/index_html>
>> RuntimeError: CMFPlone/skins/plone_scripts/plonifyActions.py has errors.
>>
>> Display traceback as text
>>
>> REQUEST
>> form
>>       portal_status_message
>>      'Welcome! You are now logged in.'
>>
>>
>> cookies
>>
>>
>>
>> lazy items
>>       SESSION
>>      <bound method SessionDataManager.getSessionData of 
>> <SessionDataManager instance at 402CCAD0>>
>>
>>
>> other
>>       _oai_cache
>>      {59015232: <Products.CMFCore.ActionInformation.oai instance at 
>> 0x057DB080>}
>>
>>       TraversalRequestNameStack
>>      []
>>
>>       AUTHENTICATED_USER
>>      betheredge
>>
>>       URL
>>      'http://10.10.2.52/crestline/index_html/document_view'
>>
>>       _pts_is_rtl
>>      False
>>
>>       _pts_catalog_names_plone_en-us
>>      ['PloneTranslations.i18n-archetypes-en.po', 
>> 'PloneTranslations.i18n-plone-en.po']
>>
>>       SERVER_URL
>>      'http://10.10.2.52'
>>
>>       AUTHENTICATION_PATH
>>      ''
>>
>>       traverse_subpath
>>      []
>>
>>       _ec_cache
>>      {59015232: <Products.PageTemplates.TALES.Context instance at 
>> 0x058910F8>}
>>
>>       PUBLISHED
>>      <FSPageTemplate at /crestline/document_view used for 
>> /crestline/index_html>
>>
>>       _pts_negotiator_cache_language
>>      {('mi', 'zh-tw', 'my', 'da', 'sm', 'cs', 'hy', 'pt-br', 'hi', 'bn', 
>> 'nl', 'es', 'sl', 'ru', 'ar', 'ca', 'uk', 'eu', 'ua', 'zh-cn', 'sk', 
>> 'ta', 'sr', 'bg', 'sv', 'el', 'it', 'nn', 'id', 'ka', 'et', 'sq', 'eo', 
>> 'ro', 'hu', 'no', 'de', 'ja', 'fi', 'to', 'fr', 'sr-latn', 'fa', 'pt', 
>> 'he', 'hr', 'lt', 'af', 'ko', 'pl', 'en', 'te', 'zh-hk', 'kn', 'tr', 
>> 'zh', 'vi', 'es-hn', 'zh-mo', 'ca-es', 'ko-kr', 'es-co', 'en-bz', 
>> 'fr-lu', 'fr-ch', 'es-gt', 'en-nz', 'es-uy', 'en-tt', 'es-cr', 'en-jm', 
>> 'ca-fr', 'en-gb', 'tr-tr', 'nn-no', 'no-nyn', 'fr-be', 'fr-mc', 'de-de', 
>> 'es-bo', 'en-ie', 'de-lu', 'es-do', 'es-pe', 'sv-fi', 'es-sv', 'fr-fr', 
>> 'en-us', 'zh-cn', 'en-ca', 'nl-be', 'en-zw', 'it-ch', 'es-ar', 'es-ec', 
>> 'no-bok', 'es-es', 'ja-jp', 'nb-no', 'en-au', 'en-ph', 'es-mx', 'de-ch', 
>> 'es-py', 'es-us', 'de-at', 'eu-es', 'zh-hk', 'es-ve', 'ca-ad', 'es-pa', 
>> 'en-za', 'es-cl', 'de-li', 'it-it', 'nb', 'zh', 'ca-it', 'es-pr', 
>> 'fr-ca', 'es-ni', 'zh-sg'): 'en-us'}
>>
>>       ACTUAL_URL
>>      'http://10.10.2.52/crestline'
>>
>>       URL0
>>      http://10.10.2.52/crestline/index_html/document_view
>>
>>       URL1
>>      http://10.10.2.52/crestline/index_html
>>
>>       URL2
>>      http://10.10.2.52/crestline
>>
>>       URL3
>>      http://10.10.2.52
>>
>>       BASE0
>>      http://10.10.2.52
>>
>>       BASE1
>>      http://10.10.2.52
>>
>>       BASE2
>>      http://10.10.2.52/crestline
>>
>>       BASE3
>>      http://10.10.2.52/crestline/index_html
>>
>>       BASE4
>>      http://10.10.2.52/crestline/index_html/document_view
>>
>>
>> environ
>>       HTTP_COOKIE
>>      '__ac="YmV0aGVyZWRnZTpyZWRmMXNo"'
>>
>>       SERVER_SOFTWARE
>>      'Zope/(Zope 2.7.8-final, python 2.3.5, win32) ZServer/1.1 
>> Plone/Unknown'
>>
>>       SCRIPT_NAME
>>      ''
>>
>>       REQUEST_METHOD
>>      'GET'
>>
>>       HTTP_KEEP_ALIVE
>>      '300'
>>
>>       SERVER_PROTOCOL
>>      'HTTP/1.1'
>>
>>       QUERY_STRING
>>      'portal_status_message=Welcome%21+You+are+now+logged+in.'
>>
>>       channel.creation_time
>>      1147955487
>>
>>       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 5.1; en-US; rv:1.8.0.3) 
>> Gecko/20060426 Firefox/1.5.0.3'
>>
>>       HTTP_REFERER
>>      'http://10.10.2.52/crestline/login_form'
>>
>>       SERVER_NAME
>>      'geigerzopedev.geiger.com'
>>
>>       REMOTE_ADDR
>>      '192.168.12.103'
>>
>>       PATH_TRANSLATED
>>      '\\crestline'
>>
>>       SERVER_PORT
>>      '80'
>>
>>       HTTP_HOST
>>      '10.10.2.52'
>>
>>       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
>>      'en-us,en;q=0.5'
>>
>>       HTTP_ACCEPT_ENCODING
>>      'gzip,deflate'
>>
>>       PATH_INFO
>>      '/crestline'
>>
>>
>>
>> This only occurs on sites set up to require a log in to access the site. 
>> Other Plone sites without such security are working properly.  I have 
>> searched the lists for similar problems without success.
>>
>> Thanks for any help you can provide.
>>
>> Bill Etheredge
> 






More information about the Setup mailing list