Re: [gedit-list] Gedit just Dies Help.



On 01/18/2012 09:44 AM, Federico Ciliberti wrote:
>     gedit
>     /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
>     ** (gedit:5083): WARNING **: Default style scheme 'zenburn' cannot
>     be found, falling back to 'classic' style scheme 
>     TypeError: metaclass conflict: the metaclass of a derived class must
>     be a (non-strict) subclass of the metaclasses of all its bases
>     **
>     ERROR:/build/buildd/pygobject-3.0.0/gi/_gobject/pygobject.c:929:pygobject_new_full:
>     assertion failed: (tp != NULL)
>     Abortado
> 
> 
> Gedit just dies every time I open a file. Running it from console shows
> that information information. I've tried to re-install it, uninstall
> every plugin but nothing seems to work.

I have been looking into this for a few weeks. I reported this bug at
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/917344 but have not
reported the bug in bugs.gnome.org yet.

I suspect the problem is that libpeas encourages multiple inheritance,
and that it is not clear if pygobject creates/uses other types. The
error happens when code upcalls the super class either using super() or
Klass.method(self, args). I see in plugins/snippets/singleton.py
    class Singleton(type):
which is might be an issue, but I do not see this class being mixed with
another type.

I run these python plugins: gedit developer plugins, source code
browser, and snippets. The error has happen many times during
completions. Some times the error happens when I change focus from the
side panel to the document.

-- 

__C U R T I S  C.  H O V E Y_______
Guilty of stealing everything I am.

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]