Joachim Schmitz wrote:
> hi,
> 
> CPS-3.4.2
> 
> if I check Initiated by WorkflowMethod in a workflow_transition, and try
> to export it, that results in:
> 
> Traceback (innermost last):
>   Module ZPublisher.Publish, line 115, in publish
>   Module ZPublisher.mapply, line 88, in mapply
>   Module ZPublisher.Publish, line 41, in call_object
>   Module Products.Five.browser.metaconfigure, line 403, in __call__
>   Module Shared.DC.Scripts.Bindings, line 311, in __call__
>   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>   Module Products.PageTemplates.PageTemplateFile, line 110, in _exec
>   Module Products.PageTemplates.PageTemplate, line 104, in pt_render
>    - <ImplicitAcquirerWrapper object at 0xb22c7f0c>
>   Module TAL.TALInterpreter, line 238, in __call__
>   Module TAL.TALInterpreter, line 281, in interpret
>   Module TAL.TALInterpreter, line 531, in do_insertText_tal
>   Module Products.PageTemplates.TALES, line 227, in evaluateText
>   Module Products.PageTemplates.TALES, line 221, in evaluate
>    - URL: index
>    - Line 15, Column 0
>    - Expression: standard:'view/getXml'
>    - Names:
>       {'container': <WorkflowDefinition at
> /srp/portal_workflow/waeup_student_wf>,
>        'context': <WorkflowDefinition at
> /srp/portal_workflow/waeup_student_wf>,
>        'default': <Products.PageTemplates.TALES.Default instance at
> 0xb7266f2c>,
>        'here': <WorkflowDefinition at
> /srp/portal_workflow/waeup_student_wf>,
>        'loop': <Products.PageTemplates.TALES.SafeMapping object at
> 0xb2737f4c>,
>        'modules':
> <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
> 0xb720f52c>,
>        'nothing': None,
>        'options': {'args': (<Products.Five.metaclass.SimpleViewClass
> from /ZP/i29/Products/CPSUtil/browser/manageExport.zpt object at
> 0xb273234c>,)},
>        'repeat': <Products.PageTemplates.TALES.SafeMapping object at
> 0xb2737f4c>,
>        'request': <HTTPRequest,
> URL=http://z29.aixtraware.de/srp/portal_workflow/waeup_student_wf/manage_genericSetupExport.html>,
> 
>        'root': <Application at >,
>        'template': <ImplicitAcquirerWrapper object at 0xb22c7f0c>,
>        'traverse_subpath': [],
>        'user': <CPSUser perry>,
>        'view': <Products.Five.metaclass.SimpleViewClass from
> /ZP/i29/Products/CPSUtil/browser/manageExport.zpt object at 0xb273234c>,
>        'views': <zope.app.pagetemplate.viewpagetemplatefile.ViewMapper
> object at 0xb21e832c>}
>   Module Products.PageTemplates.Expressions, line 185, in __call__
>   Module Products.PageTemplates.Expressions, line 180, in _eval
>   Module Products.PageTemplates.Expressions, line 85, in render
>   Module Products.CPSUtil.browser.manageexportview, line 43, in getXml
>   Module Products.CPSWorkflow.exportimport, line 112, in _exportBody
>   Module Products.DCWorkflow.exportimport, line 130, in generateWorkflowXML
>   Module Shared.DC.Scripts.Bindings, line 311, in __call__
>   Module Shared.DC.Scripts.Bindings, line 348, in _bindAndExec
>   Module Products.PageTemplates.PageTemplateFile, line 110, in _exec
>   Module Products.PageTemplates.PageTemplate, line 104, in pt_render
>    - <PageTemplateFile at
> /srp/portal_workflow/waeup_student_wf/workflowConfig>
>   Module TAL.TALInterpreter, line 238, in __call__
>   Module TAL.TALInterpreter, line 281, in interpret
>   Module TAL.TALInterpreter, line 507, in do_setLocal_tal
>   Module Products.PageTemplates.TALES, line 221, in evaluate
>    - URL: workflowConfig
>    - Expression: <PythonExpr here.getWorkflowInfo(
>                             options[ 'workflow_id' ] )>
>    - Names:
>       {'container':
> <Products.CPSWorkflow.exportimport.CPSWorkflowDefinitionConfigurator
> object at 0xb21d2b6c>,
>        'context':
> <Products.CPSWorkflow.exportimport.CPSWorkflowDefinitionConfigurator
> object at 0xb21d2b6c>,
>        'default': <Products.PageTemplates.TALES.Default instance at
> 0xb7266f2c>,
>        'here':
> <Products.CPSWorkflow.exportimport.CPSWorkflowDefinitionConfigurator
> object at 0xb21d2b6c>,
>        'loop': <Products.PageTemplates.TALES.SafeMapping object at
> 0xb371c0cc>,
>        'modules':
> <Products.PageTemplates.ZRPythonExpr._SecureModuleImporter instance at
> 0xb720f52c>,
>        'nothing': None,
>        'options': {'workflow_id': 'waeup_student_wf', 'args': ()},
>        'repeat': <Products.PageTemplates.TALES.SafeMapping object at
> 0xb371c0cc>,
>        'request': <HTTPRequest,
> URL=http://z29.aixtraware.de/srp/portal_workflow/waeup_student_wf/manage_genericSetupExport.html>,
> 
>        'root': <Application at >,
>        'template': <PageTemplateFile at
> /srp/portal_workflow/waeup_student_wf/workflowConfig>,
>        'traverse_subpath': [],
>        'user': <CPSUser perry>}
>   Module Products.PageTemplates.ZRPythonExpr, line 47, in __call__
>    - __traceback_info__: here.getWorkflowInfo(                        
> options[ 'workflow_id' ] )
>   Module Python expression "here.getWorkflowInfo(
>                            options[ 'workflow_id' ] )", line 1, in
> <expression>
>   Module Products.CPSWorkflow.exportimport, line 169, in getWorkflowInfo
>   Module Products.DCWorkflow.exportimport, line 216, in
> _extractDCWorkflowInfo
>   Module Products.CPSWorkflow.exportimport, line 187, in
> _extractTransitions
>   Module Products.DCWorkflow.exportimport, line 455, in _extractTransitions
> IndexError: tuple index out of range
> 


Same here, can you open a ticker please ?

        J.
-- 
Julien Anguenot | Nuxeo R&D (Paris, France)
Open Source ECM - www.nuxeo.com
CPS Platform - http://www.cps-project.org
Mobile: +33 (0) 6 72 57 57 66

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to