Hi,

I installed the new package and while it seemed to work fine at first, I
ran into the following problem when drawing a graph:

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/graph_tool/draw/gtk_draw.py", line 
315, in layout_callback
    pos_temp = ungroup_vector_property(self.pos, [0, 1])
  File "/usr/lib/python2.7/dist-packages/graph_tool/__init__.py", line 759, in 
ungroup_vector_property
    _check_prop_vector(vprop, name="vprop", scalar=False)
  File "/usr/lib/python2.7/dist-packages/graph_tool/__init__.py", line 633, in 
_check_prop_vector
    vals = ["vector<%s>" % v for v in scalars]
TypeError: Couldn't find conversion for foreign struct 'cairo.Context'


The reason is, that the Debian package does not depend on python-gi-cairo.

Installing the package fixes above problem.

cheers, josch
_______________________________________________
graph-tool mailing list
[email protected]
http://lists.skewed.de/mailman/listinfo/graph-tool

Reply via email to