Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

swap_units - doesn't appear in the list of plugins #104

Open
05CARM opened this issue Sep 22, 2020 · 6 comments
Open

swap_units - doesn't appear in the list of plugins #104

05CARM opened this issue Sep 22, 2020 · 6 comments

Comments

@05CARM
Copy link

05CARM commented Sep 22, 2020

I downloaded all of the plugins folders into ~/.kicad_plugins
All of them appear in the drop down list in Pcbnew except 'swap_units'
I tried copying swap_units.py to ~/.kicad_plugins and that made no difference.

Application: Pcbnew
Version: 5.1.6-c6e7f7d87ubuntu18.04.1, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.58.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.4 libpsl/0.19.1 (+libidn2/2.0.4) nghttp2/1.30.0 librtmp/2.3
Platform: Linux 4.15.0-117-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.22
Boost: 1.65.1
OpenCASCADE Community Edition: 6.9.1
Curl: 7.58.0
Compiler: GCC 7.5.0 with C++ ABI 1011

Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_USE_OCC=OFF
KICAD_SPICE=ON

@MitjaNemec
Copy link
Owner

This might be py2/py3 issue as I don't have any issues on MSWIN platform. Can you look into the swap _unit plugin folder for Swap_units_error.log file. If you find it, please attach it here.

@05CARM
Copy link
Author

05CARM commented Sep 23, 2020

Swap_units_error.log

@MitjaNemec
Copy link
Owner

Thanks. Sadly I'm still in the dark. Can you please start up pcbnew and run the scripting console.
Then you enter the following lines (copy them line by line and hit enter after each line)

import pcbnew
pcbnew.NOT_LOADED_WIZARDS
pcbnew.FULL_BACK_TRACE

Then please send me back the feedback.

@05CARM
Copy link
Author

05CARM commented Sep 24, 2020

Will this do? Did I do it right?
image
If not, let me know how you want the results recorded.

@MitjaNemec
Copy link
Owner

This is alright, but it does not point me to anywhere useful. So it'll take me some time to figure out how to proceed, but I'll need to add additional instrumentation to gather additional info what is going on and I'll need your help as I can not recreate the issue. Hang in there.

@05CARM
Copy link
Author

05CARM commented Sep 25, 2020

Thank you.
2 of your other plugins are very helpful to me.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants