Skip to content

Always deactivated on start #13

Open

Description

@ParisLiakos
  • Enable the plugin
  • Close geany
  • Open geany
  • Plugin is disabled

Which means it has to be re-enabled everytime :/

Geany 1.23.1 on Debian sid

Activity

  1. codebrainz commented on Mar 13, 2014

    @codebrainz
    Owner

    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.

    Thanks for taking the time to report the issue!

  2. ParisLiakos commented on Mar 13, 2014

    @ParisLiakos
    ContributorAuthor

    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 plugins

  3. ParisLiakos commented on Mar 13, 2014

    @ParisLiakos
    ContributorAuthor

    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?

  4. codebrainz commented on Mar 14, 2014

    @codebrainz
    Owner

    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.

  5. evgeni commented on Mar 14, 2014

    @evgeni

    @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.

  6. ParisLiakos commented on Mar 14, 2014

    @ParisLiakos
    ContributorAuthor

    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.so being there 9 times is not normal.

  7. evgeni commented on Mar 14, 2014

    @evgeni

    Yeah, this is not normal. Yet, it should have worked. Can you try the following:

    1. remove all geanypy.so entries from "active plugins"
    2. move geanypy.so back to /usr/lib
    3. start geany, enable geanypy, restart geany

    Post status of the plugin and the file again :)

  8. ParisLiakos commented on Mar 14, 2014

    @ParisLiakos
    ContributorAuthor

    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;

  9. deusyss commented on Dec 31, 2014

    @deusyss

    Hi, i tried all the purposed solution and i have always this problem. Any new?

  10. elextr commented on Dec 31, 2014

    @elextr
    Collaborator

    What is the system plugin path near the top of Help->debug messages?

  11. deusyss commented on Dec 31, 2014

    @deusyss

    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.

  12. elextr commented on Jan 1, 2015

    @elextr
    Collaborator

    I think you would be better off moving geanypy.so into the specified directory.

  13. deusyss commented on Jan 1, 2015

    @deusyss

    Hi,
    I copied the so in the "system plugin path" and all is good now.

    Thank you very much for your help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions