geanypy icon indicating copy to clipboard operation
geanypy copied to clipboard

Current geanypy no longer seems to pick up plugins in folders

Open olymk2 opened this issue 9 years ago • 7 comments

On ubuntu 16.04 at least the newer geany and geanypy do not seems to detect plugin that are placed inside a folder, previously this used to work.

Has this been fixed at all or is anyone aware of the issue ?

olymk2 avatar May 31 '16 08:05 olymk2

Did you install geanypy with "apt-get install geany-plugins"? If so, then this is expected. plugins must be moved to the normal plugin location where geany can find them since geanypy doesn't locate them anymore itself.

Note, this is only applies to the geanypy version at geany-plugins. This (upstream) geanypy doesn't have that change yet, see #37

kugel- avatar May 31 '16 08:05 kugel-

@kugel- I thought you fixed that so it would also find old plugins, no?

codebrainz avatar May 31 '16 14:05 codebrainz

No. How could I possibly workaround it if the lookup happens outside geanypy? Also, the release notes mentioned this IIRC.

kugel- avatar May 31 '16 19:05 kugel-

@kugel- I was probably thinking of this where you said:

all existing plugins continue to work as-is, without any changes

The only way I can think of if GeanyPy isn't loading any more is for GeanyPy to detect that user has plugins in the old directory and offer to move them (or at least give instructions on where to move them to).

codebrainz avatar May 31 '16 22:05 codebrainz

whats considered a normal plugin location ? do you mean ~/.config/geany/plugins/mypythonplugin/pluginfiles.py I will give it a try later cheers

olymk2 avatar Jun 10 '16 06:06 olymk2

~/.config/geany/plugins/mainfile.py, other files can be in a subdirectory using normal python mechanisms

kugel- avatar Jun 10 '16 06:06 kugel-

okay, thats why all my plugins broke because they where each self contained in there own folder, i will restructure them with a main file outside cheers for clarifying

olymk2 avatar Jun 11 '16 07:06 olymk2