I’m working on an action plugin for pcbnew and I had an earlier version working, but I’ve done something now which has broken it.
I can import the module using the scripting console just fine, so it’s something specific to the registration.
A couple of days ago I found a post that had a command you could execute in the scripting console that would show the results of the last plugin registration, including any python errors, but for the life of me I cannot find it again.
You moght want too look at one of my plugins. Replicate layout for example. The plugin is made as a complex plugin which means it is in its own folder. The init.py will write any error it encounters when loading the plugin in ‘Replicate_layout_error.log’. If the plugin loads succesfully then execution logging is done via logging module (in action_replicate_layout.py