[Sugar-devel] Journal crash with updated glib
Gonzalo Odiard
gonzalo at laptop.org
Fri Nov 9 23:01:48 EST 2012
Updating gobject-introspection and pygobject to master solve this problem,
but other different appear :(
Gonzalo
On Sat, Nov 10, 2012 at 12:35 AM, Gonzalo Odiard <gonzalo at laptop.org> wrote:
> Today I have updated gtk and glib to master in git,
> and after that the Journal can't start anymore.
> The error in the log is:
>
> /home/gonzalo/sugar-build/install/lib64/python2.7/site-packages/gi/_gobject/__init__.py:279:
> Warning: attempting to add an interface (GtkTreeModel) to class
> (JournalListModel) after class_init
> type_register(cls, namespace.get('__gtype_name__'))
> /home/gonzalo/sugar-build/install/lib64/python2.7/site-packages/gi/_gobject/__init__.py:279:
> Warning: attempting to add an interface (GtkTreeDragSource) to class
> (JournalListModel) after class_init
> type_register(cls, namespace.get('__gtype_name__'))
> 1352515258.282167 ERROR root: Exception while loading extension:
> Traceback (most recent call last):
> File
> "/home/gonzalo/sugar-build/install/lib/python2.7/site-packages/jarabe/frame/devicestray.py",
> line 34, in __init__
> locals(), [module_name])
> File
> "/home/gonzalo/sugar-build/install/share/sugar/extensions/deviceicon/volume.py",
> line 31, in <module>
> from jarabe.journal import journalactivity
> File
> "/home/gonzalo/sugar-build/install/lib/python2.7/site-packages/jarabe/journal/journalactivity.py",
> line 40, in <module>
> from jarabe.journal.listview import ListView
> File
> "/home/gonzalo/sugar-build/install/lib/python2.7/site-packages/jarabe/journal/listview.py",
> line 33, in <module>
> from jarabe.journal.listmodel import ListModel
> File
> "/home/gonzalo/sugar-build/install/lib/python2.7/site-packages/jarabe/journal/listmodel.py",
> line 37, in <module>
> class ListModel(GObject.GObject, Gtk.TreeModel, Gtk.TreeDragSource):
> File
> "/home/gonzalo/sugar-build/install/lib64/python2.7/site-packages/gi/types.py",
> line 220, in __init__
> super(GObjectMeta, cls).__init__(name, bases, dict_)
> File
> "/home/gonzalo/sugar-build/install/lib64/python2.7/site-packages/gi/_gobject/__init__.py",
> line 227, in __init__
> cls._type_register(cls.__dict__)
> File
> "/home/gonzalo/sugar-build/install/lib64/python2.7/site-packages/gi/_gobject/__init__.py",
> line 279, in _type_register
> type_register(cls, namespace.get('__gtype_name__'))
> RuntimeError: could not create new GType: JournalListModel (subclass of
> GObject)
>
> This remembered me this blog post:
>
> http://blogs.gnome.org/desrt/2012/11/05/a-warning-about-glib/
>
> I don't know what is the right solution.
>
> Gonzalo
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20121110/8e401e78/attachment.html>
More information about the Sugar-devel
mailing list