joannesguillemot / advanced-find

Automatically exported from code.google.com/p/advanced-find
0 stars 0 forks source link

Failed to load #99

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start Gedit.
2. Go to preferences / Addons.
3. Try to activate advanced-find.

What is the expected output? What do you see instead?

The addon must be activated so you can use it. Instead a mark of problem appear 
telling that the plug-in can't be loaded.

What version of the product are you using? On what operating system?
Ubuntu 12.04
Gedit 3.4.1
Advanced-find 3.5.2

Please provide any additional information below.

Here is the console output:

(gedit:8465): GLib-GObject-WARNING **: attempting to add an interface 
(GeditWindowActivatable) to class (AdvancedFindReplacePlugin) after class_init

(gedit:8465): GLib-GObject-CRITICAL **: g_type_class_unref: assertion `g_class 
!= NULL' failed

(gedit:8465): GLib-GObject-CRITICAL **: g_type_class_unref: assertion `g_class 
!= NULL' failed

(gedit:8465): GLib-GObject-CRITICAL **: g_type_class_unref: assertion `g_class 
!= NULL' failed
Traceback (most recent call last):
  File "/home/jabellota/.local/share/gedit/plugins/advancedfind/__init__.py", line 32, in <module>
    class AdvancedFindReplacePlugin(GObject.Object, Gedit.WindowActivatable):
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 222, in __init__
    cls._setup_vfuncs()
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 114, in _setup_vfuncs
    for vfunc_name, py_vfunc in cls.__dict__.items():
RuntimeError: Couldn't find GType of implementor of interface 
GeditWindowActivatable. Forgot to set __gtype_name__?

(gedit:8465): libpeas-WARNING **: Error loading plugin 'advancedfind'

(gedit:8465): Gtk-CRITICAL **: gtk_tree_selection_get_selected: assertion 
`GTK_IS_TREE_SELECTION (selection)' failed

Original issue reported on code.google.com by PhoneixS...@gmail.com on 4 Mar 2013 at 10:32

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Please remove and install the plugin again following the Installation wiki.

Original comment by swatch.c...@gmail.com on 6 Mar 2013 at 12:50

GoogleCodeExporter commented 8 years ago
I have removed and installed but the problem still there.

phoneixs@mipc-01:~/Descargas/advanced_find-3.5.2$ bash remove.sh 
Are you sure you want to remove advancedfind completedly? Root privilege is 
necessary. (y/n) : y
Remove plugin files...
Remove locale files...
Remove configuration files...
Plugin is removed successfully.
phoneixs@mipc-01:~/Descargas/advanced_find-3.5.2$ bash install.sh 
Install plugin for all user? Root privilege is necessary. (y/n) : y
«advancedfind» -> «/usr/lib/gedit/plugins/advancedfind»
«advancedfind/star_w.png» -> 
«/usr/lib/gedit/plugins/advancedfind/star_w.png»
«advancedfind/find_result.py» -> 
«/usr/lib/gedit/plugins/advancedfind/find_result.py»
«advancedfind/config_manager.py» -> 
«/usr/lib/gedit/plugins/advancedfind/config_manager.py»
«advancedfind/config.glade» -> 
«/usr/lib/gedit/plugins/advancedfind/config.glade»
«advancedfind/config» -> «/usr/lib/gedit/plugins/advancedfind/config»
«advancedfind/config/config.xml» -> 
«/usr/lib/gedit/plugins/advancedfind/config/config.xml»
«advancedfind/config/theme» -> 
«/usr/lib/gedit/plugins/advancedfind/config/theme»
«advancedfind/config/theme/default.xml» -> 
«/usr/lib/gedit/plugins/advancedfind/config/theme/default.xml»
«advancedfind/config/patterns.xml» -> 
«/usr/lib/gedit/plugins/advancedfind/config/patterns.xml»
«advancedfind/gsettings» -> «/usr/lib/gedit/plugins/advancedfind/gsettings»
«advancedfind/gsettings/org.gnome.gedit.plugins.advancedfind.gschema.xml» -> 
«/usr/lib/gedit/plugins/advancedfind/gsettings/org.gnome.gedit.plugins.advanced
find.gschema.xml»
«advancedfind/gsettings/remove.sh» -> 
«/usr/lib/gedit/plugins/advancedfind/gsettings/remove.sh»
«advancedfind/gsettings/install.sh» -> 
«/usr/lib/gedit/plugins/advancedfind/gsettings/install.sh»
«advancedfind/loading.gif» -> 
«/usr/lib/gedit/plugins/advancedfind/loading.gif»
«advancedfind/po» -> «/usr/lib/gedit/plugins/advancedfind/po»
«advancedfind/po/en_US.po» -> 
«/usr/lib/gedit/plugins/advancedfind/po/en_US.po»
«advancedfind/po/install_mo.sh» -> 
«/usr/lib/gedit/plugins/advancedfind/po/install_mo.sh»
«advancedfind/po/zh_TW.po» -> 
«/usr/lib/gedit/plugins/advancedfind/po/zh_TW.po»
«advancedfind/po/make_mo.sh» -> 
«/usr/lib/gedit/plugins/advancedfind/po/make_mo.sh»
«advancedfind/po/make_pot.sh» -> 
«/usr/lib/gedit/plugins/advancedfind/po/make_pot.sh»
«advancedfind/po/es_ES.po» -> 
«/usr/lib/gedit/plugins/advancedfind/po/es_ES.po»
«advancedfind/po/advancedfind.pot» -> 
«/usr/lib/gedit/plugins/advancedfind/po/advancedfind.pot»
«advancedfind/po/make_po.sh» -> 
«/usr/lib/gedit/plugins/advancedfind/po/make_po.sh»
«advancedfind/po/update_po.sh» -> 
«/usr/lib/gedit/plugins/advancedfind/po/update_po.sh»
«advancedfind/advancedfind.py» -> 
«/usr/lib/gedit/plugins/advancedfind/advancedfind.py»
«advancedfind/FindDialog.glade» -> 
«/usr/lib/gedit/plugins/advancedfind/FindDialog.glade»
«advancedfind/__init__.py» -> 
«/usr/lib/gedit/plugins/advancedfind/__init__.py»
«advancedfind/advancedfind_ui.py» -> 
«/usr/lib/gedit/plugins/advancedfind/advancedfind_ui.py»
«advancedfind/config_ui.py» -> 
«/usr/lib/gedit/plugins/advancedfind/config_ui.py»
«advancedfind/star_y.png» -> 
«/usr/lib/gedit/plugins/advancedfind/star_y.png»
«advancedfind/locale» -> «/usr/lib/gedit/plugins/advancedfind/locale»
«advancedfind/locale/en_US» -> 
«/usr/lib/gedit/plugins/advancedfind/locale/en_US»
«advancedfind/locale/en_US/LC_MESSAGES» -> 
«/usr/lib/gedit/plugins/advancedfind/locale/en_US/LC_MESSAGES»
«advancedfind/locale/en_US/LC_MESSAGES/advancedfind.mo» -> 
«/usr/lib/gedit/plugins/advancedfind/locale/en_US/LC_MESSAGES/advancedfind.mo»
«advancedfind/locale/zh_TW» -> 
«/usr/lib/gedit/plugins/advancedfind/locale/zh_TW»
«advancedfind/locale/zh_TW/LC_MESSAGES» -> 
«/usr/lib/gedit/plugins/advancedfind/locale/zh_TW/LC_MESSAGES»
«advancedfind/locale/zh_TW/LC_MESSAGES/advancedfind.mo» -> 
«/usr/lib/gedit/plugins/advancedfind/locale/zh_TW/LC_MESSAGES/advancedfind.mo»
«advancedfind/locale/es_ES» -> 
«/usr/lib/gedit/plugins/advancedfind/locale/es_ES»
«advancedfind/locale/es_ES/LC_MESSAGES» -> 
«/usr/lib/gedit/plugins/advancedfind/locale/es_ES/LC_MESSAGES»
«advancedfind/locale/es_ES/LC_MESSAGES/advancedfind.mo» -> 
«/usr/lib/gedit/plugins/advancedfind/locale/es_ES/LC_MESSAGES/advancedfind.mo»
«advancedfind.plugin» -> «/usr/lib/gedit/plugins/advancedfind.plugin»
Install optional language support? Rroot privilege is necessary. (y/n) : y
«advancedfind/locale/en_US/LC_MESSAGES/advancedfind.mo» -> 
«/usr/share/locale/en_US/LC_MESSAGES/advancedfind.mo»
«advancedfind/locale/es_ES/LC_MESSAGES/advancedfind.mo» -> 
«/usr/share/locale/es_ES/LC_MESSAGES/advancedfind.mo»
«advancedfind/locale/zh_TW/LC_MESSAGES/advancedfind.mo» -> 
«/usr/share/locale/zh_TW/LC_MESSAGES/advancedfind.mo»
Installation completed.
phoneixs@mipc-01:~/Descargas/advanced_find-3.5.2$ gedit 

(gedit:4417): GLib-GObject-WARNING **: attempting to add an interface 
(GeditWindowActivatable) to class (AdvancedFindReplacePlugin) after class_init

(gedit:4417): GLib-GObject-CRITICAL **: g_type_class_unref: assertion `g_class 
!= NULL' failed

(gedit:4417): GLib-GObject-CRITICAL **: g_type_class_unref: assertion `g_class 
!= NULL' failed

(gedit:4417): GLib-GObject-CRITICAL **: g_type_class_unref: assertion `g_class 
!= NULL' failed
Traceback (most recent call last):
  File "/usr/lib/gedit/plugins/advancedfind/__init__.py", line 32, in <module>
    class AdvancedFindReplacePlugin(GObject.Object, Gedit.WindowActivatable):
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 222, in __init__
    cls._setup_vfuncs()
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 114, in _setup_vfuncs
    for vfunc_name, py_vfunc in cls.__dict__.items():
RuntimeError: Couldn't find GType of implementor of interface 
GeditWindowActivatable. Forgot to set __gtype_name__?

(gedit:4417): libpeas-WARNING **: Error loading plugin 'advancedfind'

(gedit:4417): Gtk-CRITICAL **: gtk_tree_selection_get_selected: assertion 
`GTK_IS_TREE_SELECTION (selection)' failed
phoneixs@mipc-01:~/Descargas/advanced_find-3.5.2$ 

Original comment by PhoneixS...@gmail.com on 6 Mar 2013 at 8:41

GoogleCodeExporter commented 8 years ago
I think it was missing the gedit-dev package. I installed gedit-dev and it's 
dependencies and the problem went away. 

Original comment by Kokulapa...@gmail.com on 17 Apr 2014 at 6:49

GoogleCodeExporter commented 8 years ago
Now I have AF 3.6 installed correctly so I don't know what it was. I think that 
in the new version in gedit is fixed.

What I can tell you is that I don't have gedit-dev package installed in my 
system.

Original comment by PhoneixS...@gmail.com on 22 Apr 2014 at 4:11