Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001370graphvizOutput Generationpublic2008-07-30 16:242011-04-28 04:03
ReporterAJ Palkovic 
Assigned Togviz 
PrioritynormalSeveritymajorReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSx86-Linux-Fedora Core 9OS Version
Summary0001370: Cannot Render Multiple Graphs in Threads
Description



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.
<CD>
import gv, thread
graph = gv.read("graphviz-2.20.2/graphs/directed/world.dot")
gv.layout(graph, "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
</CD>
Steps To Reproduce

Any dot file, even an empty one should suffice.
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID1404
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT*
VERSION     2.20.2
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
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
Powered by Mantis Bugtracker