Results 1 to 10 of 12

Thread: gedit crashes when opening any file

Hybrid View

  1. #1
    Join Date
    Apr 2010
    Beans
    31

    gedit crashes when opening any file

    hi all.

    unfortunately my gedit is unusable, since every time i try to open a text file, it crashes.

    here the terminal message
    Code:
    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.4.0/gi/_gobject/pygobject.c:946:pygobject_new_full: assertion failed: (tp != NULL)
    Aborted (core dumped)
    the last thing i (regret) did before the problem appeared, was enabling the dialog of the source code browser plugin

    https://github.com/Quixotix/gedit-source-code-browser

    any help would be very appreciated!! thanks!

  2. #2
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,514
    Distro
    Ubuntu

    Re: gedit crashes when opening any file

    try moving out the files in
    ~/.gconf/apps/gedit-2
    or
    ~/.config/gedit

  3. #3
    Join Date
    Apr 2010
    Beans
    31

    Re: gedit crashes when opening any file

    there is no folder named
    ~/.gconf/apps/gedit-2
    and even after removing the folder
    ~/.config/gedit
    and rebooting nothing is solved.

  4. #4
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,514
    Distro
    Ubuntu

    Re: gedit crashes when opening any file

    check output from

    Code:
    find ~/ -iname gedit*
    Have you tried a purge and reinstall?

    Code:
    sudo apt-get remove --purge gedit
    Code:
    sudo apt-get autoremove
    Code:
    sudo apt-get install gedit

  5. #5
    Join Date
    Apr 2010
    Beans
    31

    Re: gedit crashes when opening any file

    Code:
    francesco@francesco-wimdu:~$ find ~/ -iname gedit*
    /home/francesco/Downloads/geditpycompletion-master.zip
    /home/francesco/.local/share/gedit
    /home/francesco/.local/share/Trash/files/gedit
    /home/francesco/.local/share/Trash/files/gedit/plugins/gedit_classbrowser-0.2.1
    /home/francesco/.local/share/Trash/files/gedit/plugins/geditpycompletion-master
    /home/francesco/.local/share/Trash/files/gedit.2
    /home/francesco/.local/share/Trash/files/plugins/gedit_classbrowser-0.2.1
    /home/francesco/.local/share/Trash/files/plugins/geditpycompletion-master
    /home/francesco/.local/share/Trash/info/gedit.2.trashinfo
    /home/francesco/.local/share/Trash/info/gedit.trashinfo
    /home/francesco/.config/gedit
    purging and reinstalling didnt do the trick

  6. #6
    Join Date
    Nov 2008
    Location
    Sheffield, UK
    Beans
    1,514
    Distro
    Ubuntu

    Re: gedit crashes when opening any file

    am not sure so wait for someone else to comment but the next step I'd take is

    Code:
    sudo mv /usr/share/glib-2.0/schemas/org.gnome.gedit.plugins.sourcecodebrowser.gschema.xml ~/Desktop/
    Code:
    glib-compile-schemas /usr/share/glib-2.0/schemas/
    Last edited by SlugSlug; November 7th, 2012 at 12:27 PM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •