On windows python 2.3 does not have popen2.Popen3(), so plugin cannot invoke
graphviz commands.
For temporary workaround, I'm using following patch but is not correct fix
because it cannot handle exit code.
Index: graphviz/graphviz.py
===================================================================
--- graphviz/graphviz.py (revision 198)
+++ graphviz/graphviz.py (working copy)
@@ -344,15 +344,13 @@
def launch(self, cmd, input):
"""Launch a process (cmd), and returns exitcode, stdout + stderr"""
- p = popen2.Popen3(cmd, capturestderr=1)
+ p = popen2.popen3(cmd)
if input:
- p.tochild.writelines(input)
- p.tochild.close()
- out = p.fromchild.read()
- err = p.childerr.read()
- ret = p.wait()
- if os.name == "posix":
- ret = ret >> 8
+ p[1].writelines(input)
+ p[1].close()
+ out = p[0].read()
+ err = p[2].read()
+ ret = 0;
return ret, out, err