V5.99: plugins missing after recent build

I built v5.99 from the git repo yesterday and noticed that no plugins appear. I can not saw exactly when this changed but I know that it has changed sometime in about 2 weeks. I could try biseting but KiCad builds take about 30 minutes on my system.

Anyone else notice similar problem?

Or have any advice on how I can further troubleshoot or collect helpful evidence?

I have custom config dir:

pdp7@x1:~/dev/kicad/kicad/build/debug$ grep KICAD_CONFIG_DIR: CMakeCache.txt 
KICAD_CONFIG_DIR:STRING=kicad-master

Here is the scripting dir:

pdp7@x1:~/.config/kicad-master/5.99/scripting/plugins$ ls -la
total 20
drwxrwxr-x  5 pdp7 pdp7 4096 Jan 12 12:17 .
drwxrwxr-x  3 pdp7 pdp7 4096 Sep 18 06:03 ..
drwxrwxr-x  7 pdp7 pdp7 4096 Jan 14 19:45 KiBuzzard
drwxrwxr-x  5 pdp7 pdp7 4096 Jan  8 13:00 kicad_scripts
drwxrwxr-x 11 pdp7 pdp7 4096 Jan  8 13:00 RF-tools-KiCAD
pdp7@x1:~/.config/kicad-master/5.99/scripting/plugins$ ls -la RF-tools-KiCAD/
total 96
drwxrwxr-x 11 pdp7 pdp7  4096 Jan  8 13:00 .
drwxrwxr-x  5 pdp7 pdp7  4096 Jan 12 12:17 ..
drwxrwxr-x  8 pdp7 pdp7  4096 Sep 29 09:07 .git
-rw-rw-r--  1 pdp7 pdp7    66 Sep 26 00:49 .gitattributes
-rw-rw-r--  1 pdp7 pdp7   347 Sep 26 00:49 __init__.py
-rw-rw-r--  1 pdp7 pdp7   417 Sep 26 06:00 __init__.pyc
-rw-rw-r--  1 pdp7 pdp7 35129 Sep 26 00:49 LICENSE
drwxrwxr-x  2 pdp7 pdp7  4096 Jan  8 13:00 __pycache__
-rw-rw-r--  1 pdp7 pdp7  2474 Sep 26 00:49 README.md
drwxrwxr-x  3 pdp7 pdp7  4096 Sep 26 00:49 resources
drwxrwxr-x  3 pdp7 pdp7  4096 Jan  8 13:00 rf_tools_wizards
drwxrwxr-x  3 pdp7 pdp7  4096 Jan  8 13:00 round_tracks
drwxrwxr-x  3 pdp7 pdp7  4096 Jan  8 13:00 trace_clearance
drwxrwxr-x  3 pdp7 pdp7  4096 Jan  8 13:00 trace_solder_expander
drwxrwxr-x  3 pdp7 pdp7  4096 Jan  8 13:00 tracks_length
drwxrwxr-x  6 pdp7 pdp7  4096 Jan  8 13:00 via_fence_generator
pdp7@x1:~/.config/kicad-master/5.99/scripting/plugins$ 


pdp7@x1:~/dev/kicad/kicad/build/debug$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
pdp7@x1:~/dev/kicad/kicad/build/debug$ git log -1
commit e27bd5cf15d5783b9c1067b3aa2698fcbe0e2392 (HEAD -> master, origin/master, origin/HEAD)
Author: Jeff Young <jeff@rokeby.ie>
Date:   Fri Jan 15 22:18:51 2021 +0000

    Add control over updating of symbol attributes.
    
    ADDED Update Symbol from Library and Change Symbol can now specify
    whether or not to update attributes (include in BOM and include on
    board).
    
    Fixes https://gitlab.com/kicad/code/kicad/issues/7123
Application: Pcbnew

Version: (5.99.0-8437-ge27bd5cf15), debug build

Libraries:
	wxWidgets 3.0.4
	libcurl/7.68.0 GnuTLS/3.6.13 zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3

Platform: Linux 5.11.0-rc1 x86_64, 64 bit, Little endian, wxGTK, ubuntu, x11

Build Info:
	Date: Jan 15 2021 21:42:37
	wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
	Boost: 1.71.0
	OCE: 6.9.1
	Curl: 7.68.0
	ngspice: 31
	Compiler: GCC 9.3.0 with C++ ABI 1013

Build settings:
	KICAD_SCRIPTING=ON
	KICAD_SCRIPTING_MODULES=ON
	KICAD_SCRIPTING_PYTHON3=ON
	KICAD_SCRIPTING_WXPYTHON=OFF
	KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
	KICAD_SCRIPTING_ACTION_MENU=ON
	KICAD_USE_OCE=ON
	KICAD_SPICE=ON
	KICAD_STDLIB_DEBUG=OFF
	KICAD_STDLIB_LIGHT_DEBUG=OFF
	KICAD_SANITIZE=OFF

Thanks!

I’m not sure but it looks like you built without wxpython/wxphoenix. I’m guessing that is required?

Maybe this issue I reported earlier today.

Verify that your plugins are in a directory that pcbnew searches for plugins. Open scripting console and put these commands

import pcbnew
print(pcbnew.PLUGIN_DIRECTORIES_SEARCH)
1 Like

I experience the same since yesterday’s nightly.
Official nightly, no private build.
When installing Kicad to “…\Kicad” instead of “…\KiCad\5.99”, all is well.

[EDIT] So you cannot have parallel installations of, say, stable and nightlies. To me that’s a bug.

I’ll go ahead and file a bug.

Yes, pcbnew plugins (including your own excellent InteractiveHtmlBOM) are all found and working correctly however none of the footprint wizards (BGA, QFN, Touch Slider etc are working). Paths are correct.

@John_Pateman you have a different issue.

@Drew_Fustini you compiled kicad without plugin support. These should be ON:

	KICAD_SCRIPTING_WXPYTHON=OFF
	KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
1 Like

Thanks! Adding

pdp7@x1:~/dev/kicad/kicad/build/debug$ cmake -DKICAD_SCRIPTING_WXPYTHON=ON -DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON -DKICAD_SCRIPTING_PYTHON3=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=/usr/local -DKICAD_CONFIG_DIR=kicad-master ../../

completed without error this time. It seems I had been missing KICAD_SCRIPTING_WXPYTHON_PHOENIX.

I’ve kicked off the build now.

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