google-code-export / pydot

Automatically exported from code.google.com/p/pydot
MIT License
1 stars 0 forks source link

Program arguments are mishandled in Dot.create #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
> What steps will reproduce the problem?
1. Create `Dot` instance named `graph` and add `Node` instances to it.
2. Render `graph`: `graph.write_png('/tmp/graph.png', prog=['neato', '-n'])`.

> What is the expected output? What do you see instead?

Expected: `/tmp/graph.dot` to be created via `neato -n`.

Encountered: TypeError for an attempt to concatenate a `str` to a list in line 
1959 of `pydot.py`.

> What version of the product are you using? On what operating system?

The bug is in the latest SVN revision: r26.

> Please provide any additional information below.

Tested patch attached.

Original issue reported on code.google.com by adamf...@gmail.com on 30 Sep 2011 at 11:15

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by ero.carr...@gmail.com on 2 Jan 2012 at 7:34

GoogleCodeExporter commented 9 years ago
Issue 62 has been merged into this issue.

Original comment by ero.carr...@gmail.com on 2 Jan 2012 at 10:59

GoogleCodeExporter commented 9 years ago
Thanks for the patch! 
Fixed in revision 28

Original comment by ero.carr...@gmail.com on 2 Jan 2012 at 11:56