[Setup] Re: Upgade 2.0.5 to 2.1.3 - Breadcrumbs Error

Alexander Limi limi at plone.org
Wed Feb 28 02:47:43 UTC 2007


Do you have any breadcrumb code customizations at all?

On Tue, 27 Feb 2007 14:32:20 -0800, Stephen Cook  
<stephenecook at gmail.com> wrote:

> Hi,
> I've been trying to upgrade our Plone Instance from 2.0.5 to 2.1.3 for a  
> while.  I've upgraded and removed a couple of problematic products but I  
> continue to receive the errors below when I try to migrate:
>
> Result of the attempt...
>
>     * Dry run selected.
>     * Starting the migration from version: 2.0.5
>     * Attempting to upgrade from: 2.0.5
>     * Upgrade aborted
>     * Error type: exceptions.AttributeError
>     * Error value: breadcrumbs
>     * File "C:\Program Files\Plone  
> 2\Data\Products\CMFPlone\MigrationTool.py", line 274, in upgrade newv,  
> msgs = self._upgrade(newv)
>     * File "C:\Program Files\Plone  
> 2\Data\Products\CMFPlone\MigrationTool.py", line 371, in _upgrade res =  
> function(self.aq_parent)
>     * File "C:\Program Files\Plone  
> 2\Data\Products\CMFPlone\migrations\v2_1\alphas.py", line 65, in  
> two05_alpha1 installATContentTypes(portal, out)
>     * File "C:\Program Files\Plone  
> 2\Data\Products\CMFPlone\migrations\v2_1\alphas.py", line 273, in  
> installATContentTypes installOrReinstallProduct(portal, product_name,  
> out)
>     * File "C:\Program Files\Plone  
> 2\Data\Products\CMFPlone\migrations\migration_util.py", line 79, in  
> installOrReinstallProduct qi.installProduct(product_name)
>     * File "C:\Program Files\Plone  
> 2\Data\Products\CMFQuickInstallerTool\QuickInstallerTool.py", line 319,  
> in installProduct res=install(portal, reinstall=reinstall)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\Products\ExternalMethod\ExternalMethod.py", line 225,  
> in __call__ try: return f(*args, **kw)
>     * File "C:\Program Files\Plone  
> 2\Data\Products\ATContentTypes\Extensions\Install.py", line 70, in  
> install tool.recatalogCMFTypes()
>     * File "C:\Program Files\Plone  
> 2\Data\Products\ATContentTypes\tool\migration.py", line 111, in  
> recatalogCMFTypes cres, celapse, cc_elapse = self._catalogCMFtypes()
>     * File "C:\Program Files\Plone  
> 2\Data\Products\ATContentTypes\tool\migration.py", line 501, in  
> _catalogCMFtypes return self._catalogTypesByMetatype(mt)
>     * File "C:\Program Files\Plone  
> 2\Data\Products\ATContentTypes\tool\migration.py", line 486, in  
> _catalogTypesByMetatype apply_path=basepath)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\OFS\FindSupport.py", line 248, in ZopeFindAndApply  
> apply_func, apply_path)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\OFS\FindSupport.py", line 236, in ZopeFindAndApply  
> apply_func(ob, (apply_path+'/'+p))
>     * File "C:\Program Files\Plone  
> 2\Data\Products\CMFPlone\CatalogTool.py", line 436, in catalog_object  
> ZCatalog.catalog_object(self, w, uid, idxs, update_metadata)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\Products\ZCatalog\ZCatalog.py", line 528, in  
> catalog_object update_metadata=update_metadata)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\Products\ZCatalog\Catalog.py", line 360, in  
> catalogObject index = self.updateMetadata(object, uid)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\Products\ZCatalog\Catalog.py", line 298, in  
> updateMetadata newDataRecord = self.recordify(object)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\Products\ZCatalog\Catalog.py", line 437, in recordify  
> if(attr is not MV and safe_callable(attr)): attr=attr()
>     * File "C:\Program Files\Plone  
> 2\Data\Products\CMFCore\PortalContent.py", line 108, in __call__ return  
> method()
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 306, in __call__  
> return self._bindAndExec(args, kw, None)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\Shared\DC\Scripts\Bindings.py", line 343, in  
> _bindAndExec return self._exec(bound_data, args, kw)
>     * File "C:\Program Files\Plone  
> 2\Data\Products\CMFCore\FSPageTemplate.py", line 195, in _exec result =  
> self.pt_render(extra_context=bound_names)
>     * File "C:\Program Files\Plone  
> 2\Data\Products\CMFCore\FSPageTemplate.py", line 134, in pt_render  
> result = FSPageTemplate.inheritedAttribute('pt_render')(
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\Products\PageTemplates\PageTemplate.py", line 96, in  
> pt_render tal=not source, strictinsert=0)()
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 190, in __call__  
> self.interpret(self.program)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 234, in interpret  
> handlers[opcode](self, args)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 671, in do_useMacro  
> self.interpret(macro)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 234, in interpret  
> handlers[opcode](self, args)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 409, in do_optTag_tal  
> self.do_optTag(stuff)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 394, in do_optTag return  
> self.no_tag(start, program)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 389, in no_tag  
> self.interpret(program)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 234, in interpret  
> handlers[opcode](self, args)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 671, in do_useMacro  
> self.interpret(macro)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 234, in interpret  
> handlers[opcode](self, args)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\TAL\TALInterpreter.py", line 460, in do_setLocal_tal  
> self.engine.setLocal(name, self.engine.evaluateValue(expr))
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\Products\PageTemplates\TALES.py", line 221, in  
> evaluate return expression(self)
>     * File "C:\Program Files\Plone  
> 2\Zope\lib\python\Products\PageTemplates\ZRPythonExpr.py", line 47, in  
> __call__ return eval(code, g, {})
>     * File "Python expression "portal.breadcrumbs(here)"", line 1, in  
> <expression>
>     * End of upgrade path, migration has finished
>     * The upgrade path did NOT reach current version
>     * Migration has failed
>     * Dry run selected, transaction aborted
>
> Return
>
> If anyone could point me in the right direction to correct this problem,  
> I would appreciate it.
> Thanks,
> Stephen
>
>



-- 
Alexander Limi · http://limi.net




More information about the Setup mailing list