Plugin location Ubuntu\ Refresh [solved]

And what does

import os
os.environ['HOME']

typed in the python shell tell?

The action plugins should go into ‘scripting/plugins’

Output:

‘/home/’

That’s why KiCad doesn’t find the plugins in your home directory, but I don’t know why python doesn’t see your home directory. I’ll let this be. Unless someone finds it out, you have to use the system-wide location which already worked even though it’s not the best solution.

Sorry. I copied not all. The out is

'/home/<ME>'

I expect that is a stunt actor for your actual username. Did you remove that part from the output of pcbnew.PLUGIN_DIRECTORIES_SEARCH? If yes, you should have told so. I expected to see what you see.

I only have one account: ‘username’@‘usernamepc’.

pcbnew.PLUGIN_DIRECTORIES_SEARCH results in

u’/usr/share/kicad/scripting\n/usr/share/kicad/scripting/plugins\n/home/thomas/.config/kicad/scripting\n/home/thomas/.config/kicad/scripting/plugins\n/home/thomas/.kicad_plugins\n/home/thomas/.kicad/scripting\n/home/thomas/.kicad/scripting/plugins’

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.