python-pydot is broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pydot (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The pydot package seems broken on Ubuntu 9.10.
Affects both python2.5 and 2.6.
Two major bugs:
1)
import pydot
edges=[('1','2'), ('1','3')]
print pydot.graph_
[]
(empty list instead of a list with 3 nodes)
2)
import pydot
edges=[(1,2), (1,3)]
g = pydot.graph_
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
e = Edge( node_prefix + edge[0], node_prefix + edge[1] )
TypeError: cannot concatenate 'str' and 'int' objects
(the documentation in http://
and the values can be anything: bool, int, float, str).
Sorry, but, if I remember well, I have installed python-pydot from a not official .deb package.
Now I'm trying to recover the apt-get manager.
After Update Manager update I obtain this messages.
E: python-pydot: subprocess post-installation script returned error exit status 1
purge, remove, .. don't help me.
Any idea?