← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

A fix is available in the branch https://code.launchpad.net/~openerp-dev/openobject-server/6.0-bug-405962-pydot-error-vmt
It will be merged in trunk soon.

As Olivier pointed out, the problem was indeed that we rendered subflows
multiple times (as graphviz clusters, and inside different other
clusters) when they occured multiple times. The fix renders completely
each sublow only once and create a green node specifying the name of the
sublfow when it would be otherwise repeated.

** Changed in: openobject-server
       Status: Confirmed => Fix Committed

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

Title:
  Complex workflow for procurement causes pydot error

Status in OpenERP Server:
  Fix Committed
Status in OpenERP 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.