Nuxeo mailing list archives
[CPS-users] Upgrading from 3.2.4 to 3.4 -- AttributeError:
getHomeCalendarObject
Simon Vallet
svallet at genoscope.cns.fr
Thu Jun 8 11:08:56 CEST 2006
Hi,
we are currently in the process of updating a CPS portal from version
3.2.4 to 3.4, using a 2.4.3 python install and Zope 2.9.1 (tried
2.9.3, didn't help)
Following the procedure described on the cps-project website
http://www.cps-project.org/sections/documentation/sysadmin/upgrading-to-cps-3-4,
I used the CPS-3.4.1-rc tarball ("The CPS nightly builds after
2006-03-10 supports upgrades from version 3.2.4 and 3.3.8."). I end up
with the following trace when running the upgrades in portal_setup :
2006-06-08 11:00:25 WARNING ZODB Could not import class 'Calendar' from module 'Products.CPSCalendar.Calendar'
2006-06-08 11:00:25 WARNING ZODB Could not import class 'CollectorDocument' from module 'Products.CPSCollector.CollectorDocument'
2006-06-08 11:00:25 WARNING ZODB Could not import class 'QuizDocument' from module 'Products.CPSCollector.QuizDocument'
2006-06-08 11:00:25 INFO CPSCore.setuptool Running upgrade step Upgrade URL tool to CPS version (3.3.4 to 3.3.5)
2006-06-08 11:00:25 INFO CPSCore.setuptool Running upgrade step Clean catalog of broken objects (3.3.4 to 3.3.5)
2006-06-08 11:00:25 ERROR root Exception while rendering an error message
Traceback (most recent call last):
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/OFS/SimpleItem.py", line 223, in raise_standardErrorMessage
v = s(**kwargs)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/Shared/DC/Scripts/Bindings.py", line 311, in __call__
return self._bindAndExec(args, kw, None)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/Shared/DC/Scripts/Bindings.py", line 348, in _bindAndExec
return self._exec(bound_data, args, kw)
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CMFCore/FSPageTemplate.py", line 195, in _exec
result = self.pt_render(extra_context=bound_names)
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CMFCore/FSPageTemplate.py", line 134, in pt_render
result = FSPageTemplate.inheritedAttribute('pt_render')(
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/Products/PageTemplates/PageTemplate.py", line 104, in pt_render
tal=not source, strictinsert=0)()
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/TAL/TALInterpreter.py", line 238, in __call__
self.interpret(self.program)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/TAL/TALInterpreter.py", line 281, in interpret
handlers[opcode](self, args)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/TAL/TALInterpreter.py", line 457, in do_optTag_tal
self.do_optTag(stuff)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/TAL/TALInterpreter.py", line 442, in do_optTag
return self.no_tag(start, program)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/TAL/TALInterpreter.py", line 437, in no_tag
self.interpret(program)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/TAL/TALInterpreter.py", line 281, in interpret
handlers[opcode](self, args)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/TAL/TALInterpreter.py", line 749, in do_useMacro
self.interpret(macro)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/TAL/TALInterpreter.py", line 281, in interpret
handlers[opcode](self, args)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/TAL/TALInterpreter.py", line 507, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/Products/PageTemplates/TALES.py", line 221, in evaluate
return expression(self)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/Products/PageTemplates/ZRPythonExpr.py", line 47, in __call__
return eval(code, g, {})
File "Python expression "atool.listFilteredActionsFor(here)"", line 1, in <expression>
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CMFCore/ActionsTool.py", line 156, in listFilteredActionsFor
actions.extend( provider.listActionInfos(object=object) )
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CMFCore/ActionProviderBase.py", line 107, in listActionInfos
if check_condition and not ai['available']:
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CMFCore/ActionInformation.py", line 87, in __getitem__
value = self.data[key] = value()
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CMFCore/ActionInformation.py", line 116, in _checkCondition
return self._action.testCondition(self._ec)
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CMFCore/ActionInformation.py", line 236, in testCondition
return bool( self.condition(ec) )
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CMFCore/Expression.py", line 44, in __call__
res = compiled(econtext)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/Products/PageTemplates/Expressions.py", line 185, in __call__
return self._eval(econtext)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/Products/PageTemplates/Expressions.py", line 173, in _eval
ob = self._subexprs[-1](econtext)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/Products/PageTemplates/Expressions.py", line 127, in _eval
ob = restrictedTraverse(ob, path, getSecurityManager())
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/Products/PageTemplates/Expressions.py", line 315, in restrictedTraverse
guarded_getattr(object, name)
AttributeError: getHomeCalendarObject
Any ideas on how to fix this ?
Simon
More information about the cps-users
mailing list
This list archive provided by Nuxeo, the
leaders of open source ECM.
Check out the Nuxeo 5 open source,
standards-based ECM project.