On 18.11.2014 19:12, charlie wrote:
> Hi again Tiago!
>
> I tried editing the Homebrew formula for librsvg to obtain the latest
> version and enable introspection, and sure enough I can now produce an
> interactive graph!  Hooray!  I've posted the issue on the Homebrew github
> page that you referred.
>
> BUT: now I have a different problem.  In my beautiful interactive graphs,
> the second node I select infallibly triggers a fatal error that kills the
> kernel.  Here it is:
>
>
> /usr/local/lib/python2.7/site-packages/graph_tool/draw/gtk_draw.py:493:
> Warning: g_object_ref: assertion 'G_IS_OBJECT (object)' failed
>   icon = self.render_icon(Gtk.STOCK_EXECUTE, Gtk.IconSize.BUTTON)
> ---------------------------------------------------------------------------
> TypeError                                 Traceback (most recent call last)
> /usr/local/lib/python2.7/site-packages/graph_tool/draw/gtk_draw.pyc in
> draw(self, da, cr)
>     492         if self.surface_callback is not None:
>     493             icon = self.render_icon(Gtk.STOCK_EXECUTE,
> Gtk.IconSize.BUTTON)
> --> 494             Gdk.cairo_set_source_pixbuf(cr, icon, 10, 10)
>     495             cr.paint()
>     496
>
> TypeError: Argument 1 does not allow None as a value
>
> ---------------------------------------------------------------------------
> TypeError                                 Traceback (most recent call last)
> /usr/local/lib/python2.7/site-packages/graph_tool/draw/gtk_draw.pyc in
> draw(self, da, cr)
>     492         if self.surface_callback is not None:
>     493             icon = self.render_icon(Gtk.STOCK_EXECUTE,
> Gtk.IconSize.BUTTON)
> --> 494             Gdk.cairo_set_source_pixbuf(cr, icon, 10, 10)
>     495             cr.paint()
>     496
>
> TypeError: Argument 1 does not allow None as a value
>
>
> Any ideas?  Thanks!

Well, this is obviously a Gtk bug, since it is failing to render a stock
icon. You should also report this to the homebrew people.

(Alternatively, you may try Macports, where it is reported to work)

Best,
Tiago


-- 
Tiago de Paula Peixoto <[email protected]>

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to