pydot-ng
pydot-ng copied to clipboard
[77] Basic pydot usage error
Reported by [email protected], 2012-11-05T21:31:34Z
What steps will reproduce the problem?
- Use Python 3.2.3 on fedora and pydot port to Python3
- try following code: import pydot P = pydot.Dot() D = P.create_dot().decode('utf-8') print(D) Q=pydot.graph_from_dot_data(D)
What is the expected output? What do you see instead?
Expected result is no error. I get the following error: $python3.2 foo1.py digraph G { node [label="\N"]; graph [bb="0,0,0,0"]; }
Traceback (most recent call last):
File "foo1.py", line 5, in
For more information, please see: https://github.com/networkx/networkx/issues/790
What version of the product are you using? On what operating system?
Fedora 17, x86_64 Pydot - newest version from Python3 branch: https://bitbucket.org/prologic/pydot/overview Python 3.2.3 python3-pyparsing 1.5.6
Please provide any additional information below.
From: https://code.google.com/p/pydot/issues/detail?id=77