[Zope] AttributeError: @@plone

Eddy Ilg me at eddy-ilg.net
Wed Nov 24 11:02:12 EST 2010


Dear Zope Users,


we are trying to get an old plone application to work and keep getting 
the error message "AttributeError: @@plone". Some posts suggested it 
might be a zope/plone conflict, that's why we are also posting this to 
the zope list.

The versions we are using are:
Python: old=2.4.4 <-> new=2.4.6
Zope: old=2.9.6 <-> new=2.9.6
Plone: old=2.5.3 <-> new=2.5.3

We have already tried the migration assistant, but no luck. We moved the 
application by simply copying the instance directory and also tried 
setting up a new instance with plone 2.5.3 and installing the products 
manually. Both yield the same error.

Is there anything special to consider when copying an instance from one 
server to another? The user permissions are set to the zope user.

The complete traceback is as follows:
-------------------------------------------------
2010-11-24T15:45:32 ERROR root Exception while rendering an error message
Traceback (most recent call last):
   File "/usr/lib/zope2.9/lib/python/OFS/SimpleItem.py", line 223, in 
raise_standardErrorMessage
     v = s(**kwargs)
   File "/srv/zope/epos1/Products/CMFCore/FSPythonScript.py", line 108, 
in __call__
   File "/usr/lib/zope2.9/lib/python/Shared/DC/Scripts/Bindings.py", 
line 311, in __call__
     return self._bindAndExec(args, kw, None)
   File "/usr/lib/zope2.9/lib/python/Shared/DC/Scripts/Bindings.py", 
line 348, in _bindAndExec
     return self._exec(bound_data, args, kw)
   File "/srv/zope/epos1/Products/CMFCore/FSPythonScript.py", line 164, 
in _exec
   File "Script (Python)", line 25, in standard_error_message
   File "/usr/lib/zope2.9/lib/python/Shared/DC/Scripts/Bindings.py", 
line 311, in __call__
     return self._bindAndExec(args, kw, None)
   File "/usr/lib/zope2.9/lib/python/Shared/DC/Scripts/Bindings.py", 
line 348, in _bindAndExec
     return self._exec(bound_data, args, kw)
   File "/srv/zope/epos1/Products/CMFCore/FSPageTemplate.py", line 195, 
in _exec
   File "/srv/zope/epos1/Products/CMFCore/FSPageTemplate.py", line 134, 
in pt_render
   File 
"/usr/lib/zope2.9/lib/python/Products/PageTemplates/PageTemplate.py", 
line 104, in pt_render
     tal=not source, strictinsert=0)()
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 238, 
in __call__
     self.interpret(self.program)
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 281, 
in interpret
     handlers[opcode](self, args)
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 749, 
in do_useMacro
     self.interpret(macro)
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 281, 
in interpret
     handlers[opcode](self, args)
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 457, 
in do_optTag_tal
     self.do_optTag(stuff)
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 442, 
in do_optTag
     return self.no_tag(start, program)
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 437, 
in no_tag
     self.interpret(program)
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 281, 
in interpret
     handlers[opcode](self, args)
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 749, 
in do_useMacro
     self.interpret(macro)
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 281, 
in interpret
     handlers[opcode](self, args)
   File "/usr/lib/zope2.9/lib/python/TAL/TALInterpreter.py", line 511, 
in do_setGlobal_tal
     self.engine.setGlobal(name, self.engine.evaluateValue(expr))
   File "/usr/lib/zope2.9/lib/python/Products/PageTemplates/TALES.py", 
line 221, in evaluate
     return expression(self)
   File 
"/usr/lib/zope2.9/lib/python/Products/PageTemplates/ZRPythonExpr.py", 
line 47, in __call__
     return eval(code, g, {})
   File "Python expression "here.isRightToLeft(domain='plone')"", line 
1, in <expression>
   File "/srv/zope/epos1/Products/CMFCore/FSPythonScript.py", line 108, 
in __call__
   File "/usr/lib/zope2.9/lib/python/Shared/DC/Scripts/Bindings.py", 
line 311, in __call__
     return self._bindAndExec(args, kw, None)
   File "/usr/lib/zope2.9/lib/python/Shared/DC/Scripts/Bindings.py", 
line 348, in _bindAndExec
     return self._exec(bound_data, args, kw)
   File "/srv/zope/epos1/Products/CMFCore/FSPythonScript.py", line 164, 
in _exec
   File "Script (Python)", line 5, in isRightToLeft
   File "/usr/lib/zope2.9/lib/python/OFS/Traversable.py", line 250, in 
restrictedTraverse
     return self.unrestrictedTraverse(path, default, restricted=1)
   File "/usr/lib/zope2.9/lib/python/OFS/Traversable.py", line 187, in 
unrestrictedTraverse
     next = bobo_traverse(REQUEST, name)
   File 
"/srv/zope/epos1/Products/ResourceRegistries/tools/BaseRegistry.py", 
line 275, in __bobo_traverse__
AttributeError: @@plone
-------------------------------------------------

Installed Products:
-------------------------------------------------
ATAudio (Installed product ATAudio (0.6))
ATContentTypes (Installed product ATContentTypes (1.1.6-final))
ATReferenceBrowserWidget (Installed product ATReferenceBrowserWidget 
(1.7.1))
AdvancedQuery (Installed product AdvancedQuery (2.2 for Zope 2.7+/2.8, 
Python 2.3/2.4))
Archetypes (Installed product Archetypes (1.4.4-final))
BTreeFolder2 (Installed product BTreeFolder2 (BTreeFolder2-1.0.2))
CMFActionIcons (Installed product CMFActionIcons (CMF-1.6.4))
CMFCalendar (Installed product CMFCalendar (CMF-1.6.4))
CMFCore (Installed product CMFCore (CMF-1.6.4))
CMFDefault (Installed product CMFDefault (CMF-1.6.4))
CMFDynamicViewFTI (Installed product CMFDynamicViewFTI (2.1.2))
CMFFormController (Installed product CMFFormController (2.0.8))
CMFPlacefulWorkflow (Installed product CMFPlacefulWorkflow (1.0.5))
CMFPlone (Installed product CMFPlone (2.5.3-final))
CMFPropertySets (Installed product CMFPropertySets (3.0.0))
CMFQuickInstallerTool (Installed product CMFQuickInstallerTool (1.6.1))
CMFSetup (Installed product CMFSetup (CMF-1.6.4))
CMFTopic (Installed product CMFTopic (CMF-1.6.4))
CMFUid (Installed product CMFUid (CMF-1.6.4))
Calendaring (Installed product Calendaring (0.3.0))
DCWorkflow (Installed product DCWorkflow (CMF-1.6.4))
DavPack (Installed product DavPack (3.0.0))
EnfoldTools (Installed product EnfoldTools (3.0.0))
ExtendedPathIndex (Installed product ExtendedPathIndex (2.4))
ExtensionRename (Installed product ExtensionRename (3.0.0))
ExternalEditor (Installed product ExternalEditor (0.9.3))
ExternalMethod (Installed product ExternalMethod (External Method-1-0-0))
ExternalStorage (Installed product ExternalStorage (0.6))
FCKeditor (Installed product FCKeditor (2.6.6))
FacebookLinkShare (Installed product FacebookLinkShare (0.1))
FileSystemStorage (Installed product FileSystemStorage (2.6.5))
Five (Installed product Five (Five 1.3.8))
GenericSetup (Installed product GenericSetup (GenericSetup-1.2))
GroupUserFolder (Installed product GroupUserFolder (3.54.3))
GrufSpaces (Installed product GrufSpaces (1.0.0))
Lime (Installed product Lime (3.0.0))
LinguaPlone (Installed product LinguaPlone (1.0.1))
MIMETools (Installed product MIMETools)
MailHost (Installed product MailHost (MailHost-1-3-0))
Marshall (Installed product Marshall (0.6.6-final))
MasterSelectWidget (Installed product MasterSelectWidget (0.2.2))
MimetypesRegistry (Installed product MimetypesRegistry (1.5.0-final))
OFSP (Installed product OFSP (OFSP-1-0-0))
PageTemplates (Installed product PageTemplates (PageTemplates-1-4-0))
PasswordResetTool (Installed product PasswordResetTool (0.4.3))
PlacelessTranslationService (Installed product 
PlacelessTranslationService (1.3.7))
PloneErrorReporting (Installed product PloneErrorReporting (1.0))
PloneLanguageTool (Installed product PloneLanguageTool (1.7))
PloneLockManager (Installed product PloneLockManager (3.0.0))
PlonePAS (Installed product PlonePAS (2.4))
PloneTestCase (Installed product PloneTestCase (0.9.4))
PloneTranslations (Installed product PloneTranslations (3.0.2))
PluggableAuthService (Installed product PluggableAuthService 
(PluggableAuthService-1.4.2))
PluginIndexes (Installed product PluginIndexes)
PluginRegistry (Installed product PluginRegistry (1.1.2))
PortalTransforms (Installed product PortalTransforms (1.5.2-final))
Portfolio (Installed product Portfolio (1.0.1))
PropertySets (Installed product PropertySets (3.0.0))
PythonScripts (Installed product PythonScripts (PythonScripts-2-0-0))
ResourceRegistries (Installed product ResourceRegistries (1.3.9))
SecureMailHost (Installed product SecureMailHost (1.0.5))
Sessions (Installed product Sessions)
ShellExServer (Installed product ShellExServer (3.0.0))
SiteAccess (Installed product SiteAccess (SiteAccess-2-0-0))
SiteErrorLog (Installed product SiteErrorLog)
StandardCacheManagers (Installed product StandardCacheManagers 
(StandardCacheManagers-1-1-0))
TemporaryFolder (Installed product TemporaryFolder)
Transience (Installed product Transience)
ZCTextIndex (Installed product ZCTextIndex)
ZCatalog (Installed product ZCatalog (ZCatalog-2-2-0))
ZGadflyDA (Installed product ZGadflyDA)
ZODBMountPoint (Installed product ZODBMountPoint)
ZReST (Installed product ZReST (1.1))
ZSQLMethods (Installed product ZSQLMethods)
ZopeProfiler (Installed product ZopeProfiler (1.7.2 for Zope 2.5.1 and 
2.6.1, 2.7.3, 2.8, 2.9 Python 2.3.x, ZopeTutorial (Installed product 
ZopeTutorial (Zope Tutorial 1.2))
eposThema (Installed product eposThema (1.0))
kupu (Installed product kupu (kupu 1.3.9))
statusmessages (Installed product statusmessages (2.0.1))
validation (Installed product validation (1.5.0-final))
-------------------------------------------------


Any help is very appreciated.


Best regards,




Eddy Ilg


More information about the Zope mailing list