Hey everyone - I recently noticed that a previously working CMF Site I built starts getting error messages embedded on the front page and on other pages (like edit, view). The errors are like this.. Home Page: Error Type: AttributeError Error Value: getDefaultSorting When I click on 'Folder Contents' in the menu... Error Type: ImportError Error Value: import of "Products.CMFDefault.permissions" is unauthorized When I click on 'Edit' from the menu... Error Type: AttributeError Error Value: getActionInfo I installed a brand new CMF Site thinking this would cure the issue but I'm still getting the exact same errors on the new site (see traceback below). Any thoughts...? I've googled for these error messages and can't find anything related to this issue. Thanks in advance!! Here's my traceback for the 'Edit' function... Time 2004/12/13 16:09:28.086 US/Eastern User Name (User Id) superuser (superuser) Request URL http://localhost:8080/CMFModule/folder_edit_form Exception Type AttributeError Exception Value getActionInfo Traceback (innermost last): * Module ZPublisher.Publish, line 100, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 40, in call_object * Module Products.CMFCore.FSPythonScript, line 104, 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 160, in _exec * Module None, line 15, in folder_edit_form <FSPythonScript at /CMFModule/folder_edit_form> Line 15 AttributeError: getActionInfo REQUEST form cookies tutorialExamplesURL 'http://localhost:8080/Examples/zope-tutorial-1/examples/lesson12' tree-s 'eJzT0MgpMOQKVneEA1dbda4CI65EoIQxF5AwQZL1KAoEyZpyJSYmlhSYcekBAO6LD84' show_filter_form '1' plone_skin 'Plone Default' wstyle '' __ac_name 'superuser' dtpref_cols '95%' dtpref_rows '25' lazy items SESSION <bound method SessionDataManager.getSessionData of <SessionDataManager instance at 415cb800>> other TraversalRequestNameStack [] AUTHENTICATED_USER superuser URL 'http://localhost:8080/CMFModule/folder_edit_form' SERVER_URL 'http://localhost:8080' AUTHENTICATION_PATH '' traverse_subpath [] PUBLISHED <FSPythonScript at /CMFModule/folder_edit_form> URL0 http://localhost:8080/CMFModule/folder_edit_form URL1 http://localhost:8080/CMFModule URL2 http://localhost:8080 BASE0 http://localhost:8080 BASE1 http://localhost:8080 BASE2 http://localhost:8080/CMFModule BASE3 http://localhost:8080/CMFModule/folder_edit_form environ HTTP_COOKIE 'plone_skin="Plone Default"; tutorialExamplesURL="http://localhost:8080/Examples/zope-tutorial-1/examples/lesson12"; __ac_name="superuser"; dtpref_cols="95%"; show_filter_form="1"; wstyle=; dtpref_rows="25"; tree-s="eJzT0MgpMOQKVneEA1dbda4CI65EoIQxF5AwQZL1KAoEyZpyJSYmlhSYcekBAO6LD84"' SERVER_SOFTWARE 'Zope/(unreleased version, python 2.3.3, linux2) ZServer/1.1 Plone/2.0.5' SCRIPT_NAME '' REQUEST_METHOD 'GET' PATH_INFO '/CMFModule/folder_edit_form' SERVER_PROTOCOL 'HTTP/1.1' channel.creation_time 1102972060 CONNECTION_TYPE 'keep-alive' HTTP_ACCEPT_CHARSET 'ISO-8859-1,utf-8;q=0.7,*;q=0.7' HTTP_USER_AGENT 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0' HTTP_REFERER 'http://localhost:8080/CMFModule/folder_localrole_form' SERVER_NAME 'suse91-linux.mydomain.com' REMOTE_ADDR '127.0.0.1' PATH_TRANSLATED '/CMFModule/folder_edit_form' SERVER_PORT '8080' HTTP_HOST 'localhost: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 'en-us,en;q=0.5' HTTP_ACCEPT_ENCODING 'gzip,deflate' HTTP_KEEP_ALIVE '300'
Please ask about CMF on the zope-cmf@zope.org list. Also what version are you talking about ? Florent In article <8e0c47e004121313093f248e84@mail.gmail.com> you write:
Hey everyone - I recently noticed that a previously working CMF Site I built starts getting error messages embedded on the front page and on other pages (like edit, view). The errors are like this..
Home Page: Error Type: AttributeError Error Value: getDefaultSorting
When I click on 'Folder Contents' in the menu... Error Type: ImportError Error Value: import of "Products.CMFDefault.permissions" is unauthorized
When I click on 'Edit' from the menu... Error Type: AttributeError Error Value: getActionInfo
I installed a brand new CMF Site thinking this would cure the issue but I'm still getting the exact same errors on the new site (see traceback below). Any thoughts...? I've googled for these error messages and can't find anything related to this issue. Thanks in advance!!
Here's my traceback for the 'Edit' function...
Time 2004/12/13 16:09:28.086 US/Eastern User Name (User Id) superuser (superuser) Request URL http://localhost:8080/CMFModule/folder_edit_form Exception Type AttributeError Exception Value getActionInfo
Traceback (innermost last):
* Module ZPublisher.Publish, line 100, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 40, in call_object * Module Products.CMFCore.FSPythonScript, line 104, 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 160, in _exec * Module None, line 15, in folder_edit_form <FSPythonScript at /CMFModule/folder_edit_form> Line 15
AttributeError: getActionInfo
-- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D +33 1 40 33 71 59 http://nuxeo.com fg@nuxeo.com
Alan Snyder wrote at 2004-12-13 16:09 -0500:
Hey everyone - I recently noticed that a previously working CMF Site I built starts getting error messages embedded on the front page and on other pages (like edit, view). The errors are like this..
Home Page: Error Type: AttributeError Error Value: getDefaultSorting
When I click on 'Folder Contents' in the menu... Error Type: ImportError Error Value: import of "Products.CMFDefault.permissions" is unauthorized
When I click on 'Edit' from the menu... Error Type: AttributeError Error Value: getActionInfo
I never heard about "getDefaultSorting" and "getActionInfo". Maybe they come with "CMF 1.5" (which I did not yet install). Search for them in the sources. -- Dieter
participants (3)
-
Alan Snyder -
Dieter Maurer -
Florent Guillaume