kicad-developers team mailing list archive
Mailing list archive
Re: [PATCH] Fixup documentation path for macOS scripting plugins
That sounds good to me.
There is also that MacOS security feature that turns /Applications/...
paths into some obfuscated virtual paths (as seen by the app, even though
those dirs don't exist) and that may spook an uninformed average user. So I
would also add that it's best to stick to the paths that are within user
directory ($HOME on linux/mac, %APPDATA% on Win).
On Mon, Nov 26, 2018 at 7:24 PM Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx>
> Hmm. Interesting. I don't know what package ever had
> /Applications/kicad/Kicad/Contents/SharedSupport/scripting/plugins missing
> a .app in /Applications/kicad.app/, but the Mac package has had a lot of
> What's the next step here... add some words saying "Modern macOS installs
> likely have them at XXXXX, but if it doesn't seem like these are right, try
> import pcbnewprint pcbnew.PLUGIN_DIRECTORIES_SEARCH
> in the scripting console"?
> On Mon, Nov 26, 2018 at 9:03 PM Andrew Lutsenko <anlutsenko@xxxxxxxxx>
>> Hi Adam,
>> Please note that current paths are actually correct for previous versions
>> of MacOS. I'm not sure exactly when the change happened but the paths you
>> are suggesting are valid for latest versions of MacOS and kicad.
>> Maybe it's worth to add a note stating that these paths are correct for
>> latest versions of the software.
>> Also there is a simple way to get all valid paths from kicad itself, I
>> have it described in the wiki for my plugin here
>> > Above list may be out of date or inaccurate for your OS
>> version/distribution. You can get full list of directories that pcbnew is
>> scanning for plugins by running this in scripting console:
>> import pcbnewprint pcbnew.PLUGIN_DIRECTORIES_SEARCH
>> Having that in the docs would be useful too.
>> On Mon, Nov 26, 2018 at 6:35 PM Adam Wolf <adamwolf@xxxxxxxxxxxxxxxxxxxx>
>>> Fixes https://bugs.launchpad.net/kicad/+bug/1789960.
>>> Mailing list: https://launchpad.net/~kicad-developers
>>> Post to : kicad-developers@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~kicad-developers
>>> More help : https://help.launchpad.net/ListHelp