Running the unit test test_sampleremember.py I've the following KeyError: KeyError: "Category set 'SampleRemember_membrane_workflow_states' does not exist".

If I launch Zope in foreground and install sampleremember with portal_setup, I can see the same error on the console.

Do you have any suggestion?

-----------------------
System:
* Plone 3.0
* CMF-2.1.0
* Zope (Zope 2.10.4-final, python 2.4.4, linux2)
* Python 2.4.4
* PIL 1.1.6
* membrane 1.1 svn/dev
* remember 1.0 (svn/unreleased)

Error:
Traceback (most recent call last):
 File "/opt/Plone-3.0/bin/test.py", line 117, in ?
   sys.exit(testrunner.run(defaults))
File "/opt/Plone-3.0/lib/python/zope/testing/testrunner.py", line 271, in run
   failed = not run_with_options(options)
File "/opt/Plone-3.0/lib/python/zope/testing/testrunner.py", line 433, in run_with_options
   setup_layers, failures, errors)
File "/opt/Plone-3.0/lib/python/zope/testing/testrunner.py", line 604, in run_layer
   setup_layer(layer, setup_layers)
File "/opt/Plone-3.0/lib/python/zope/testing/testrunner.py", line 692, in setup_layer
   layer.setUp()
File "/opt/Plone-3.0/zinstance/Products/sampleremember/tests/base.py", line 134, in setUp
   setup_tool.runAllImportSteps()
File "/opt/Plone-3.0/zinstance/Products/GenericSetup/tool.py", line 329, in runAllImportSteps
   purge_old)
File "/opt/Plone-3.0/zinstance/Products/GenericSetup/tool.py", line 313, in runAllImportStepsFromProfile
   result = self._runImportStepsFromContext(context, purge_old=purge_old)
File "/opt/Plone-3.0/zinstance/Products/GenericSetup/tool.py", line 1000, in _runImportStepsFromContext
   message = self._doRunImportStep(step, context)
File "/opt/Plone-3.0/zinstance/Products/GenericSetup/tool.py", line 966, in _doRunImportStep
   return handler(context)
File "/opt/Plone-3.0/zinstance/Products/membrane/exportimport/membranetool.py", line 154, in importMembraneTool
   importObjects(tool, '', context)
File "/opt/Plone-3.0/zinstance/Products/GenericSetup/utils.py", line 783, in importObjects
   importer.body = body
File "/opt/Plone-3.0/zinstance/Products/GenericSetup/utils.py", line 539, in _importBody
   self._importNode(dom.documentElement)
File "/opt/Plone-3.0/zinstance/Products/remember/exportimport/membranetool.py", line 23, in _importNode
   MembraneToolXMLAdapter._importNode(self, node)
File "/opt/Plone-3.0/zinstance/Products/membrane/exportimport/membranetool.py", line 45, in _importNode
   self._initMembraneTypes(node)
File "/opt/Plone-3.0/zinstance/Products/membrane/exportimport/membranetool.py", line 114, in _initMembraneTypes
   states)
File "/opt/Plone-3.0/zinstance/Products/membrane/factories/categorymapper.py", line 90, in replaceCategoryValues
   cat_set = self._getCatSet(category_set_id)
File "/opt/Plone-3.0/zinstance/Products/membrane/factories/categorymapper.py", line 33, in _getCatSet
   raise KeyError, "Category set '%s' does not exist" % category_set_id
KeyError: "Category set 'SampleRemember_membrane_workflow_states' does not exist"
-----------------

claudio


--
Archive: 
http://www.openplans.org/projects/remember/lists/remember/archive/2007/10/1193397752531
To unsubscribe send an email with subject unsubscribe to [EMAIL PROTECTED]  
Please contact [EMAIL PROTECTED] for questions.

Reply via email to