google-code-export / jrfonseca

Automatically exported from code.google.com/p/jrfonseca
0 stars 0 forks source link

[xdot] Migrate to gi.repository #80

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
This is a feature request/important note, not a bug.

gi.repository has replaced pygtk. I'm looking into migrating w3af's GUI to 
gi.repository and given that xdot doesn't support it (segfaults).

Some information and links:
 * http://python-gtk-3-tutorial.readthedocs.org/en/latest/index.html
 * Porting: https://live.gnome.org/PyGObject/IntrospectionPorting
 * Migration script: http://git.gnome.org/browse/pygobject/plain/pygi-convert.sh

This is the w3af issue related to the migration to gi.repository:
 * https://github.com/andresriancho/w3af/issues/150

How to reproduce this issue:

>>> from gi.repository import Gtk
>>> from gi.repository import GObject
>>> import xdot
/usr/lib/python2.7/dist-packages/gobject/constants.py:24: Warning: 
g_boxed_type_register_static: assertion `g_type_from_name (name) == 0' failed
  import gobject._gobject
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: specified 
class size for type `PyGtkGenericCellRenderer' is smaller than the parent 
type's `GtkCellRenderer' class size
  from gtk import _gtk
/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:40: Warning: 
g_type_get_qdata: assertion `node != NULL' failed
  from gtk import _gtk

Segmentation fault (core dumped)

Original issue reported on code.google.com by andres.riancho@gmail.com on 19 Feb 2013 at 10:00

GoogleCodeExporter commented 9 years ago

Original comment by Jose.R.F...@gmail.com on 8 Apr 2013 at 5:21

GoogleCodeExporter commented 9 years ago
See https://github.com/pfalcon/xdot.py/pull/1

xdot.py moved to github so I'm closing this issue.

Original comment by Jose.R.F...@gmail.com on 12 May 2013 at 1:03