I try to switch my product to use GenericSetup. I created the various
xml-files by making a snapshot. Ofcourse there errors/inconsistencies so
my profile import fails, and I get tracebacks like this:
Site Error
An error was encountered while publishing this resource.
ValueError
Sorry, a site error occurred.
Traceback (innermost last):
* Module ZPublisher.Publish, line 187, in publish_module_standard
* Module Products.Localizer, line 60, in new_publish
* Module ZPublisher.Publish, line 144, in publish
* Module Products.PDBDebugMode.PDBExceptionHook, line 42, in
pdb_exception_hook
* Module Products.CPSCompat.PatchPublisherConflictErrors, line 95,
in zpublisher_exception_hook
* Module ZPublisher.Publish, line 113, in publish
* Module ZPublisher.mapply, line 88, in mapply
* Module ZPublisher.Publish, line 40, in call_object
* Module Products.CPSCore.setuptool, line 291, in manage_importProfile
* Module Products.CPSCore.setuptool, line 224, in importProfile
* Module Products.GenericSetup.tool, line 248, in runAllImportSteps
__traceback_info__: profile-WAeUP:default
* Module Products.GenericSetup.tool, line 716, in _doRunImportStep
__traceback_info__: workflow
* Module Products.CMFCore.exportimport.workflow, line 139, in
importWorkflowTool
* Module Products.GenericSetup.utils, line 748, in importObjects
__traceback_info__: portal_workflow
* Module Products.GenericSetup.utils, line 744, in importObjects
__traceback_info__: workflows/waeup_workspace_wf
* Module Products.CPSWorkflow.exportimport, line 120, in _importBody
* Module Products.CPSWorkflow.exportimport, line 322, in
parseWorkflowXML
* Module Products.CPSWorkflow.exportimport, line 541, in
_extractCPSTransitionNodes
* Module Products.DCWorkflow.exportimport, line 1176, in
_getNodeAttribute
ValueError: Invalid attribute: before_script (Also, the following error
occurred while attempting to render the standard error message, please
see the event log for full details: 'GlobalAdapterRegistry' object has
no attribute 'getAdapters')
which is more confusing then helpfull. Is there a way to get better
tracebacks, where I at least can see, where and what the error is.
--
Mit freundlichen Grüßen Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel