← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 405962] Re: Complex workflow for procurement causes pydot error

 

Maybe this link could help understand the issue:
https://mailman.research.att.com/pipermail/graphviz-
interest/2010q1/006880.html

** Changed in: openobject-server
     Assignee: (unassigned) => OpenERP's Framework R&D (openerp-dev-framework)

-- 
Complex workflow for procurement causes pydot error
https://bugs.launchpad.net/bugs/405962
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.

Status in OpenObject Server: Confirmed
Status in OpenObject Server 5.0 series: Invalid

Bug description:
I'm running OpenERP version 5.0.1 on Ubuntu 8.10.

I select a procurement order in the desktop client and from the Plugins menu, I choose Execute a plugin. I double click Print Workflow (Complex). I quickly get a blank page. When I check the server output, I see this:

[2009-07-28 11:59:01,045] ERROR:workflow:[01]: Exception in call: Traceback (most recent call last):
[2009-07-28 11:59:01,047] ERROR:workflow:[02]:   File "/home/don/workspace/openerp-server-5.0.1/addons/base/ir/workflow/print_instance.py", line 150, in __init__
[2009-07-28 11:59:01,047] ERROR:workflow:[03]:     ps_string = graph.create(prog='dot', format='ps')
[2009-07-28 11:59:01,047] ERROR:workflow:[04]:   File "/var/lib/python-support/python2.5/pydot.py", line 1796, in create
[2009-07-28 11:59:01,048] ERROR:workflow:[05]:     status, stderr_output) )
[2009-07-28 11:59:01,048] ERROR:workflow:[06]: InvocationException: Program terminated with status: -6. stderr follows: dot: mincross.c:835: install_in_rank: Assertion `(g)->u.rank[r].n <= (g)->u.rank[r].an' failed.

I've tried several procurement orders in different states, and they all cause the same error. I've tried the basic Print Workflow, and it works. I've tried the complex workflow on a production order, and it works.