Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: CMF

[GS] u'Existing registration for step various, version 20090619-01'

 

 

Zope cmf RSS feed   Index | Next | Previous | View Threaded


lists at zopyx

Sep 19, 2009, 5:33 AM

Post #1 of 2 (169 views)
Permalink
[GS] u'Existing registration for step various, version 20090619-01'

I am getting the following error with CMF 2.1 when trying to visiting the
Import tab of portal_setup:

Traceback (innermost last):

* Module ZPublisher.Publish, line 126, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 46, in call_object
* Module Shared.DC.Scripts.Bindings, line 316, in __call__
* Module Shared.DC.Scripts.Bindings, line 353, in _bindAndExec
* Module Products.PageTemplates.PageTemplateFile, line 126, in _exec
* Module Products.PageTemplates.PageTemplate, line 96, in pt_render
* Module zope.pagetemplate.pagetemplate, line 115, in pt_render
* Module zope.tal.talinterpreter, line 271, in __call__
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 539, in do_optTag_tal
* Module zope.tal.talinterpreter, line 524, in do_optTag
* Module zope.tal.talinterpreter, line 519, in no_tag
* Module zope.tal.talinterpreter, line 346, in interpret
* Module zope.tal.talinterpreter, line 589, in do_setLocal_tal
* Module zope.tales.tales, line 696, in evaluate
URL: manage_importSteps
Line 45, Column 0
Expression: <PythonExpr context.applyContextById(context_id)>
Names:

{'container': <SetupTool at /Test/HaufeCMS/portal_setup>,
'context': <SetupTool at /Test/HaufeCMS/portal_setup>,
'default': <object object at 0x2b122c8aa200>,
'here': <SetupTool at /Test/HaufeCMS/portal_setup>,
'loop': {},
'nothing': None,
'options': {'args': ()},
'repeat': <Products.PageTemplates.Expressions.SafeMapping object
at 0x2aaab0082e18>,
'request': <HTTPRequest,
URL=http://hdev:8080/Test/HaufeCMS/portal_setup/manage_importSteps>,
'root': <Application at >,
'template': <PageTemplateFile at
/Test/HaufeCMS/portal_setup/sutImportSteps>,
'user': <User 'ajung'>}

* Module Products.PageTemplates.ZRPythonExpr, line 49, in __call__
__traceback_info__: context.applyContextById(context_id)
* Module PythonExpr, line 1, in <expression>
* Module Products.GenericSetup.tool, line 241, in applyContextById
* Module Products.GenericSetup.tool, line 246, in applyContext
* Module Products.GenericSetup.tool, line 1042, in
_updateImportStepsRegistry
* Module Products.GenericSetup.registry, line 415, in registerStep

KeyError: u'Existing registration for step various, version 20090619-01'

The related profiles with this version are:

NormenDB/profiles/default/import_steps.xml: <import-step id="various"
version="20090619-01"
Toolbox/profiles/default/import_steps.xml: <import-step id="various"
version="20090619-01"

Although making the version attrs unique did not help (even with
creating a complete
new CMF site).

Is there anything missing or what is the approach for hunting this down?

Andreas

--
ZOPYX Ltd. & Co KG \ ZOPYX & Friends
Charlottenstr. 37/1 \ The experts for your Python, Zope and
D-72070 Tübingen \ Plone projects
www.zopyx.com, info[at]zopyx.com \ www.zopyx.de/friends, friends[at]zopyx.de
------------------------------------------------------------------------
E-Publishing, Python, Zope & Plone development, Consulting
Attachments: lists.vcf (0.31 KB)


hanno at hannosch

Sep 19, 2009, 6:22 AM

Post #2 of 2 (157 views)
Permalink
Re: [GS] u'Existing registration for step various, version 20090619-01' [In reply to]

2009/9/19 Andreas Jung <lists[at]zopyx.com>:
> The related profiles with this version are:
>
> NormenDB/profiles/default/import_steps.xml: <import-step id="various"
> version="20090619-01"
> Toolbox/profiles/default/import_steps.xml: <import-step id="various"
> version="20090619-01"
>
> Although making the version attrs unique did not help (even with
> creating a complete
> new CMF site).
>
> Is there anything missing or what is the approach for hunting this down?

The id of an import step needs to be globally unique. Having two steps
with the id "various" is not supported. Steps don't belong to a
profile, which is clearer if you register them via ZCML. The whole
import_steps.xml file is deprecated.

The version argument dance has never been used by anyone as far as I
know and could just as well be removed.

Hanno
_______________________________________________
Zope-CMF maillist - Zope-CMF[at]zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Zope cmf RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.