|Anonymous | Login||2017-11-18 14:32 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0001370||graphviz||Output Generation||public||2008-07-30 16:24||2011-04-28 04:03|
|Platform||OS||x86-Linux-Fedora Core 9||OS Version|
|Summary||0001370: Cannot Render Multiple Graphs in Threads|
I am trying to render multiple graphviz graphs with the included
gtk plugin in threads.
The first graph will always show up. However, when I try to launch
the second graph, it will not open until the first graph is called.
I have attached a very small sample python script that demonstrates the problem.
Here I was just using one of the sample dot files included with graphviz,
and that does not work either. Even an empty dot file as the same problem.
Also, when I called gv.render, with or without a thread, I have to press
the close button twice. After the first time, the window appears again
and then clicking the close button a second time closes it.
import gv, thread
graph = gv.read("graphviz-2.20.2/graphs/directed/world.dot")
thread.start_new(gv.render, (graph, "gtk")) #this graph works fine (although for some reason you have to press the close button twice)
thread.start_new(gv.render, (graph, "gtk")) #this graph will not show up until the first one closes
|Steps To Reproduce|
Any dot file, even an empty one should suffice.
|Tags||No tags attached.|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> user1|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|