Updating gobject-introspection and pygobject to master solve this problem,<div>but other different appear :(</div><div><br></div><div>Gonzalo<br><br><div class="gmail_quote">On Sat, Nov 10, 2012 at 12:35 AM, Gonzalo Odiard <span dir="ltr"><<a href="mailto:gonzalo@laptop.org" target="_blank">gonzalo@laptop.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Today I have updated gtk and glib to master in git,<div>and after that the Journal can't start anymore.</div><div>The error in the log is:</div>
<div><br></div><div><div>/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</div>

<div>  type_register(cls, namespace.get('__gtype_name__'))</div><div>/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</div>

<div>  type_register(cls, namespace.get('__gtype_name__'))</div><div>1352515258.282167 ERROR root: Exception while loading extension:</div><div>Traceback (most recent call last):</div><div>  File "/home/gonzalo/sugar-build/install/lib/python2.7/site-packages/jarabe/frame/devicestray.py", line 34, in __init__</div>

<div>    locals(), [module_name])</div><div>  File "/home/gonzalo/sugar-build/install/share/sugar/extensions/deviceicon/volume.py", line 31, in <module></div><div>    from jarabe.journal import journalactivity</div>

<div>  File "/home/gonzalo/sugar-build/install/lib/python2.7/site-packages/jarabe/journal/journalactivity.py", line 40, in <module></div><div>    from jarabe.journal.listview import ListView</div><div>  File "/home/gonzalo/sugar-build/install/lib/python2.7/site-packages/jarabe/journal/listview.py", line 33, in <module></div>

<div>    from jarabe.journal.listmodel import ListModel</div><div>  File "/home/gonzalo/sugar-build/install/lib/python2.7/site-packages/jarabe/journal/listmodel.py", line 37, in <module></div></div><div><div>

    class ListModel(GObject.GObject, Gtk.TreeModel, Gtk.TreeDragSource):</div><div>  File "/home/gonzalo/sugar-build/install/lib64/python2.7/site-packages/gi/types.py", line 220, in __init__</div><div>    super(GObjectMeta, cls).__init__(name, bases, dict_)</div>

<div>  File "/home/gonzalo/sugar-build/install/lib64/python2.7/site-packages/gi/_gobject/__init__.py", line 227, in __init__</div><div>    cls._type_register(cls.__dict__)</div><div>  File "/home/gonzalo/sugar-build/install/lib64/python2.7/site-packages/gi/_gobject/__init__.py", line 279, in _type_register</div>

<div>    type_register(cls, namespace.get('__gtype_name__'))</div><div>RuntimeError: could not create new GType: JournalListModel (subclass of GObject)</div></div><div><br></div><div>This remembered me this blog post:</div>

<div><br></div><div><a href="http://blogs.gnome.org/desrt/2012/11/05/a-warning-about-glib/" target="_blank">http://blogs.gnome.org/desrt/2012/11/05/a-warning-about-glib/</a></div><div><br></div><div>I don't know what is the right solution.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>Gonzalo</div><div><br></div><div><br></div>
</font></span></blockquote></div><br></div>