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:58:58 CEST 2006
thanks for your rapid answer,
On Thu, 08 Jun 2006 11:26:49 +0200
Lennart Regebro <regebro at nuxeo.com> wrote:
> > 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'
>
> > Any ideas on how to fix this ?
>
> Hmm. Did you install CPSLegacy? It looks like these two legacy products
> isn't installed.
Actually, I had on a 2.9.3 zope install, but it kept spitting out some
errors (see below), so I decided to start from scratch on 2.9.1
> If you installed them, then they can't be loaded. Set debug-mode to on
> in etx/zope.conf, and restart the server. It should now fail with an
> error message telling you why the products wouldn't load.
OK, after installing CPS-Legacy-3.4.0-1.zip (not overwriting existing
products and removing LDAPUserGroupsFolder from Products/ -- Zope won't
start with it), the upgrade part works fine -- the portal is marked as
having version 3.4.0. However when importing the 'CPS Default Site'
profile, I get the following :
2006-06-08 11:53:38 ERROR Zope.SiteErrorLog http://www.genoscope.cns.fr:8081/bioinfo/portal_setup/manage_importProfile
Traceback (most recent call last):
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/ZPublisher/Publish.py", line 114, in publish
request, bind=1)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/ZPublisher/mapply.py", line 88, in mapply
if debug is not None: return debug(object,args,context)
File "/env/cns/pack/zope/Zope-2.9.1/lib/python/ZPublisher/Publish.py", line 40, in call_object
result=apply(object,args) # Type s<cr> to step into published object.
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CPSCore/setuptool.py", line 291, in manage_importProfile
self.importProfile(context_id)
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CPSCore/setuptool.py", line 224, in importProfile
result = self.runAllImportSteps(purge_old=False)
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/GenericSetup/tool.py", line 248, in runAllImportSteps
message = self._doRunImportStep(step, context)
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/GenericSetup/tool.py", line 716, in _doRunImportStep
return handler(context)
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CPSSkins/exportimport.py", line 68, in importThemeTool
importObjects(tool, '', context)
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/GenericSetup/utils.py", line 744, in importObjects
importer.body = body
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/GenericSetup/utils.py", line 510, in _importBody
self._importNode(dom.documentElement)
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CPSSkins/exportimport.py", line 97, in _importNode
self._initToolProperties(node)
File "/env/cns/pack/zope/Zope-2.9.1/home/inst0/Products/CPSSkins/exportimport.py", line 138, in _initToolProperties
mt = tmtool.method_themes
AttributeError: method_themes
and an additional :
2006-06-08 11:53:38 ERROR root Exception while rendering an error message,
which I suspect is not the problem, but is interesting nevertheless
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.