You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are you referring to the GeanyPy plugin itself or plugins written for GeanyPy (in Python)?
Is there any weird messages on the terminal when using geany -v or in Help->Debug Messages (same info) ?
It works here for reloading both the GeanyPy plugin and any plugins it has loaded. Maybe are you're somehow exiting Geany "improperly" (ie. so it doesn't save configuration file on exit) ? The only other thing I can think of, if you're referring to Python plugins, is that GeanyPy cannot read and/or write to ~/.config/geany/plugins/geanypy/plugins/.loaded_plugins, which is the place where GeanyPy remembers which plugins are loaded.
I am sorry, it is not clear what i talk about, indeed. I talk about GeanyPy itself. Everytime i start the editor it is disabled no matter what.
I even tried disabling all my plugins. But still, it wont remember that GeanyPy was enabled in the next startup. And it is weird because it only does it with this plugin.. It remembers the state of all other plugins.
Here is the log of two sessions. First session i open a file, enable GeanyPy and quit the editor. Second session i open the same file. But as you can see from the log GeanyPy's so file is never loaded
I cant see anything weird, except the fact that GeanyPy's so is located in /usr/lib/geany/ instead of /usr/lib/x86_64-linux-gnu/geany/ like other plugins
I'll investigate the issue more once I have some time, it's probably a bug in the build system. In the meantime, GeanyPy was recently added to Geany-Plugins, you could try to build it using the Geany-Plugins build system, it probably won't have this issue.
@ParisLiakos can you post the plugins section of your ~/.config/geany/geany.conf in both cases: geanypy is in /usr/lib and not autoloading after enabling, and in /usr/lib/<triplet> and properly autoloading.
Activity
codebrainz commentedon Mar 13, 2014
Are you referring to the GeanyPy plugin itself or plugins written for GeanyPy (in Python)?
Is there any weird messages on the terminal when using
geany -vor inHelp->Debug Messages(same info) ?It works here for reloading both the GeanyPy plugin and any plugins it has loaded. Maybe are you're somehow exiting Geany "improperly" (ie. so it doesn't save configuration file on exit) ? The only other thing I can think of, if you're referring to Python plugins, is that GeanyPy cannot read and/or write to
~/.config/geany/plugins/geanypy/plugins/.loaded_plugins, which is the place where GeanyPy remembers which plugins are loaded.Thanks for taking the time to report the issue!
ParisLiakos commentedon Mar 13, 2014
Thanks for the quick response!
I am sorry, it is not clear what i talk about, indeed. I talk about GeanyPy itself. Everytime i start the editor it is disabled no matter what.
I even tried disabling all my plugins. But still, it wont remember that GeanyPy was enabled in the next startup. And it is weird because it only does it with this plugin.. It remembers the state of all other plugins.
Here is the log of two sessions. First session i open a file, enable GeanyPy and quit the editor. Second session i open the same file. But as you can see from the log GeanyPy's so file is never loaded
Here is the log: https://privatepaste.com/568616a8d9
I cant see anything weird, except the fact that GeanyPy's so is located in
/usr/lib/geany/instead of/usr/lib/x86_64-linux-gnu/geany/like other pluginsParisLiakos commentedon Mar 13, 2014
ok, i moved it to
/usr/lib/x86_64-linux-gnu/geany/and it now works.is that normal behavior? probably i messed up setting the prefix during installation?
codebrainz commentedon Mar 14, 2014
I'll investigate the issue more once I have some time, it's probably a bug in the build system. In the meantime, GeanyPy was recently added to Geany-Plugins, you could try to build it using the Geany-Plugins build system, it probably won't have this issue.
evgeni commentedon Mar 14, 2014
@ParisLiakos can you post the
pluginssection of your~/.config/geany/geany.confin both cases: geanypy is in/usr/liband not autoloading after enabling, and in/usr/lib/<triplet>and properly autoloading.ParisLiakos commentedon Mar 14, 2014
Oh, good news! being added in geany-plugins means that we will get a package for it soon in debian i guess. will make it even easier
@evgeni Here it is the
[plugins]section:[plugins]
load_plugins=true
custom_plugin_path=
active_plugins=/usr/lib/x86_64-linux-gnu/geany/addons.so;/usr/lib/x86_64-linux-gnu/geany/classbuilder.so;/usr/lib/x86_64-linux-gnu/geany/geanygendoc.so;/usr/lib/x86_64-linux-gnu/geany/editorconfig-geany.so;/usr/lib/x86_64-linux-gnu/geany/geanyextrasel.so;/usr/lib/x86_64-linux-gnu/geany/geanylipsum.so;/usr/lib/x86_64-linux-gnu/geany/geanypy.so;/usr/lib/x86_64-linux-gnu/geany/geanyvc.so;/usr/lib/x86_64-linux-gnu/geany/geniuspaste.so;/usr/lib/x86_64-linux-gnu/geany/geanyprj.so;/usr/lib/x86_64-linux-gnu/geany/saveactions.so;/usr/lib/x86_64-linux-gnu/geany/spellcheck.so;/usr/lib/x86_64-linux-gnu/geany/splitwindow.so;/usr/lib/x86_64-linux-gnu/geany/tableconvert.so;/usr/lib/x86_64-linux-gnu/geany/treebrowser.so;/usr/lib/geany/geanypy.so;/usr/lib/geany/geanypy.so;/usr/lib/geany/geanypy.so;/usr/lib/geany/geanypy.so;/usr/lib/geany/geanypy.so;/usr/lib/geany/geanypy.so;/usr/lib/geany/geanypy.so;/usr/lib/geany/geanypy.so;/usr/lib/geany/geanypy.so;
I guess
/usr/lib/geany/geanypy.sobeing there 9 times is not normal.evgeni commentedon Mar 14, 2014
Yeah, this is not normal. Yet, it should have worked. Can you try the following:
Post status of the plugin and the file again :)
ParisLiakos commentedon Mar 14, 2014
Now it is in the list only once, but still it will show unchecked in the plugin manager.
[plugins]
load_plugins=true
custom_plugin_path=
active_plugins=/usr/lib/x86_64-linux-gnu/geany/addons.so;/usr/lib/x86_64-linux-gnu/geany/classbuilder.so;/usr/lib/x86_64-linux-gnu/geany/geanygendoc.so;/usr/lib/x86_64-linux-gnu/geany/editorconfig-geany.so;/usr/lib/x86_64-linux-gnu/geany/geanyextrasel.so;/usr/lib/x86_64-linux-gnu/geany/geanylipsum.so;/usr/lib/geany/geanypy.so;/usr/lib/x86_64-linux-gnu/geany/geanyvc.so;/usr/lib/x86_64-linux-gnu/geany/geniuspaste.so;/usr/lib/x86_64-linux-gnu/geany/geanyprj.so;/usr/lib/x86_64-linux-gnu/geany/saveactions.so;/usr/lib/x86_64-linux-gnu/geany/spellcheck.so;/usr/lib/x86_64-linux-gnu/geany/splitwindow.so;/usr/lib/x86_64-linux-gnu/geany/tableconvert.so;/usr/lib/x86_64-linux-gnu/geany/treebrowser.so;
deusyss commentedon Dec 31, 2014
Hi, i tried all the purposed solution and i have always this problem. Any new?
elextr commentedon Dec 31, 2014
What is the system plugin path near the top of Help->debug messages?
deusyss commentedon Dec 31, 2014
Hi,
Thanks for your quick answer. Here is the debug messages:
17:22:06: Geany INFO : Geany 1.23.1, fr_FR.UTF-8
17:22:06: Geany INFO : GTK 2.24.23, GLib 2.40.2
17:22:06: Geany INFO : System data dir: /usr/share/geany
17:22:06: Geany INFO : User config dir: /home/alex/.config/geany
17:22:06: Geany INFO : System plugin path: /usr/lib/i386-linux-gnu/geany
17:22:06: Geany INFO : Added filetype Cython (55).
17:22:06: Geany INFO : Added filetype Scala (56).
17:22:06: Geany INFO : Added filetype Go (57).
17:22:06: Geany INFO : Added filetype Genie (58).
17:22:06: Geany INFO : Loaded: /usr/lib/i386-linux-gnu/geany/addons.so (Additions)
17:22:06: Geany INFO : Loaded: /usr/lib/i386-linux-gnu/geany/gproject.so (GProject)
17:22:06: Geany INFO : /usr/share/geany/geanypy/plugins/console.py : Python (UTF-8)
17:22:06: Geany INFO : Loaded /usr/share/geany/python.tags (Python), 5964 tag(s).
I see that the path to geanypy.so is not here. Do you know where i can change this?
For information i'm under Linux Mint 17.1.
elextr commentedon Jan 1, 2015
I think you would be better off moving geanypy.so into the specified directory.
deusyss commentedon Jan 1, 2015
Hi,
I copied the so in the "system plugin path" and all is good now.
Thank you very much for your help