You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.
The expected output is to obtain a bdot object, instead you get:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/pydot.py", line 302, in graph_from_adjacency_matrix
Edge( node_prefix + node_orig,
TypeError: coercing to Unicode: need string or buffer, int found
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/pydot.py", line 302, in graph_from_adjacency_matrix
Edge( node_prefix + node_orig,
TypeError: cannot concatenate 'str' and 'int' objects
Reported by giampisa...@gmail.com, 2015-01-26T13:22:22Z
Hi
in the function graph_from_adjacency_matrix, in order to define edges, a string is concatenated with an integer, which generates an error:
(node_prefix is a string, node_orig and node_dest are integers).
This is how you can reproduce the problem:
The expected output is to obtain a bdot object, instead you get:
Similarly, if you run
to avoid eventual problems with unicode, you get:
I am using Python 2.7.6, pydot version 1.0.28, on Ubuntu 14.04, 64 bits.
From: https://code.google.com/p/pydot/issues/detail?id=98
The text was updated successfully, but these errors were encountered: