A few days ago i have successfully installed plone site an play around with it. This morning i have upgrade the default version of python from 2.2 to 2.3 and selected/deselected some package. Now when i try to access to the plone selecting it and clicking the view tab, the following site error message was displayed: *** Site Error An error was encountered while publishing this resource. AttributeError Sorry, a site error occurred. Traceback (innermost last): * Module ZPublisher.Publish, line 150, in publish_module * Module Products.Localizer, line 58, in new_publish * Module ZPublisher.Publish, line 114, in publish * Module Zope.App.startup, line 182, in zpublisher_exception_hook * Module ZPublisher.Publish, line 98, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module Products.CMFCore.PortalContent, line 117, in __call__ * Module Shared.DC.Scripts.Bindings, line 252, in __call__ * Module Shared.DC.Scripts.Bindings, line 283, in _bindAndExec * Module Products.CMFCore.FSPageTemplate, line 167, in _exec * Module Products.PageTemplates.ZopePageTemplate, line 228, in _exec * Module Products.CMFCore.FSPageTemplate, line 139, in pt_render * Module Products.PageTemplates.PageTemplate, line 95, in pt_render <FSPageTemplate at /elibra/ps_elibra/document_view used for /elibra/ps_elibra/index_html> * Module TAL.TALInterpreter, line 200, in __call__ * Module TAL.TALInterpreter, line 244, in interpret * Module TAL.TALInterpreter, line 703, in do_useMacro * Module TAL.TALInterpreter, line 244, in interpret * Module TAL.TALInterpreter, line 473, in do_setLocal_tal * Module Products.PageTemplates.TALES, line 217, in evaluate Line 3, Column 0 Expression: <PythonExpr modules['Products.CMFPlone'].IndexIterator> Names: {'container': <PloneSite instance at 8e7e550>, 'default': <Products.PageTemplates.TALES.Default instance at 0x86c8ddc>, 'here': <Document at /elibra/ps_elibra/index_html>, 'loop': <SafeMapping instance at 8ff4a98>, 'modules': <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at 0x86c4b74>, 'nothing': None, 'options': {'args': ()}, 'repeat': <SafeMapping instance at 8ff4a98>, 'request': <HTTPRequest, URL=http://localhost:9673/elibra/ps_elibra/index_html>, 'root': <Application instance at 8bd1cd8>, 'template': <FSPageTemplate at /elibra/ps_elibra/document_view used for /elibra/ps_elibra/index_html>, 'traverse_subpath': [], 'user': mickymouse} * Module Products.PageTemplates.ZRPythonExpr, line 48, in __call__ __traceback_info__: modules['Products.CMFPlone'].IndexIterator * Module Python expression "modules['Products.CMFPlone'].IndexIterator", line 2, in f * Module AccessControl.ZopeGuards, line 90, in guarded_getitem * Module Products.PageTemplates.ZRPythonExpr, line 56, in __getitem__ AttributeError: 'Products' module has no attribute 'CMFPlone' (Also, an error occurred while attempting to render the standard error message.) *** Can someone point out me in the right direction? Is this a conflict between zope and the 2.3 version of python or i have made some mistake that I'm not aware of? Thanks in advance for any advice ciao, Michele
On 11 Aug 2003 15:42:51 +0200 Michele Bendazzoli <mickymouse@mickymouse.it> wrote:
A few days ago i have successfully installed plone site an play around with it. This morning i have upgrade the default version of python from 2.2 to 2.3 and selected/deselected some package.
There's lot of pythonware broken this morning because of this upgrade. default python executable and site-packages was python2.2 yesterday and become python2.3 today. One solution, ask the debian maintener to change dependance of zope and plone to python2.2 instead of python. Use 'reportbug plone'. boa-constructor is broken too. -- Encolpe DEGOUTE, Ingénieur Logiciel, Nuxeo SARL: Zope Service Provider. Mail: edegoute@nuxeo.com - Tel: +33 (0)1 40 33 79 18 Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps Gestion de contenu web / portail collaboratif / groupware / open source
On Mon, Aug 11, 2003 at 03:42:51PM +0200, Michele Bendazzoli wrote: | A few days ago i have successfully installed plone site an play around | with it. This morning i have upgrade the default version of python from | 2.2 to 2.3 and selected/deselected some package. Don't do that. Be certain you know what you are doing and are ready to debug problems before you upgrade with "unstable". If you want new(er) software, but don't want the (potential) problems like you have now, track "testing" instead. zope 2.6 needs python 2.1.3. I don't recommend trying to run it with any other version. HTH, -D -- If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him. But when he asks he must believe and not doubt, because he who doubts is like a wave of the sea, blown and tossed by the wind. James 1:5-6 http://dman13.dyndns.org/~dman/
participants (3)
-
Derrick 'dman' Hudson -
Encolpe DEGOUTE -
Michele Bendazzoli