KiPython scripting console greyed out, extensions not working

Hi all, I finally got around to installing 6 and as I somewhat expected, there are problems with all of my plugins. I’m trying to install RC Tools, InteractiveHtmlBom, and Teardrops and haven’t been able to get them to work when I put the unzipped folders (always with init.py directly available) in my “plugins” folder. Furthermore, when I try to open the Scripting Console two windows open: the first, called “wxPython: stdout/stderr” contains a long error message and the KiPython window is completely greyed out, and I can’t input any text on either.

I’ve tried both version 6.0.5 and 6.0.4 with the exact same behavior. I’ve found some reference to similar behavior on other threads but not exactly this it seems. Does anyone have any tips I could try?

Error message is:
Traceback (most recent call last):
File “”, line 1, in
File “/private/var/folders/mp/9wnz92qn6tq7qqswjr1t_c440000gn/T/AppTranslocation/D0CEAC6C-12B1-434C-BAFF-08F622D7BDBC/d/KiCad.app/Contents/SharedSupport/scripting/kicad_pyshell/init.py”, line 25, in
from wx.py import crust, version, dispatcher
File “/private/var/folders/mp/9wnz92qn6tq7qqswjr1t_c440000gn/T/AppTranslocation/D0CEAC6C-12B1-434C-BAFF-08F622D7BDBC/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/init.py”, line 6, in
from . import crust
File “/private/var/folders/mp/9wnz92qn6tq7qqswjr1t_c440000gn/T/AppTranslocation/D0CEAC6C-12B1-434C-BAFF-08F622D7BDBC/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/crust.py”, line 16, in
from .shell import Shell
File “/private/var/folders/mp/9wnz92qn6tq7qqswjr1t_c440000gn/T/AppTranslocation/D0CEAC6C-12B1-434C-BAFF-08F622D7BDBC/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/shell.py”, line 28, in
from .path import ls,cd,pwd,sx
File “/private/var/folders/mp/9wnz92qn6tq7qqswjr1t_c440000gn/T/AppTranslocation/D0CEAC6C-12B1-434C-BAFF-08F622D7BDBC/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/path.py”, line 8, in
import subprocess
File “/private/var/folders/mp/9wnz92qn6tq7qqswjr1t_c440000gn/T/AppTranslocation/D0CEAC6C-12B1-434C-BAFF-08F622D7BDBC/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/subprocess.py”, line 64, in
import msvcrt
File “”, line 991, in _find_and_load
File “”, line 971, in _find_and_load_unlocked
File “”, line 914, in _find_spec
File “”, line 1342, in find_spec
File “”, line 1314, in _get_spec
File “”, line 1443, in find_spec
File “”, line 1483, in _fill_cache
OSError: [Errno 34] Result too large: ‘.’

Kicad info:

Application: KiCad

Version: (6.0.4-0), release build

Libraries:
wxWidgets 3.1.5
libcurl/7.64.1 SecureTransport (LibreSSL/2.8.3) zlib/1.2.11 nghttp2/1.41.0

Platform: macOS Big Sur Version 11.6 (Build 20G165), 64 bit, Little endian, wxMac

Build Info:
Date: Mar 17 2022 21:21:05
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.78.0
OCC: 7.6.1
Curl: 7.64.1
ngspice: 35
Compiler: Clang 12.0.0 with C++ ABI 1002

Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON

I know for a fact that Interactive HTML BOM is available in the new plugin manager, but I’m not sure about the other two. Have you tried using the plugin manager (from KiCad’s project manager it is in the “Tools” menu as “Plugin and Content Manager”. If that works and your other plugins aren’t available there, try to see where the PCM installed Interactive HTML BOM and try to emulate the install process by hand.

I’m not familiar with MacOS, so I’m not sure where plugins are placed on that OS.

I’m experiencing a similar problem, but encountered it a different way.

I was using 6.0.5 (release) for Mac, and installed plugins via the new PCM “Plugin and Content Manager”. They were working fine.

Now I upgraded to 6.0.6 (release) for Mac, and the plugins are no longer appearing in the menus or GUI.

I tried to uninstall and reinstall them in the PCM, but the problem persists.

To debug, I went to Preferences > Action Plugins and clicked the yellow ! icon button, here is the output …

  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/SharedSupport/scripting/kicad_pyshell/__init__.py", line 25, in <module>
    from wx.py import crust, version, dispatcher
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/__init__.py", line 6, in <module>
    from . import crust
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/crust.py", line 16, in <module>
    from .shell import Shell
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/shell.py", line 28, in <module>
    from .path import ls,cd,pwd,sx
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/path.py", line 8, in <module>
    import subprocess
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/subprocess.py", line 64, in <module>
    import msvcrt
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

**********************************
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

Just checked, and my install of 6.0.6 (release) for Mac has the same problem.

Same message as Jack mentioned in the stdout/stderr window…

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/SharedSupport/scripting/kicad_pyshell/__init__.py", line 25, in <module>
    from wx.py import crust, version, dispatcher
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/__init__.py", line 6, in <module>
    from . import crust
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/crust.py", line 16, in <module>
    from .shell import Shell
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/shell.py", line 28, in <module>
    from .path import ls,cd,pwd,sx
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/wx/py/path.py", line 8, in <module>
    import subprocess
  File "/private/var/folders/3h/h0lsc1wx6ds311g4xqfxzhnc0000gn/T/AppTranslocation/C7860B19-1B1F-4542-BACD-7C280B78EFD9/d/KiCad.app/Contents/Frameworks/Python.framework/Versions/Current/lib/python3.8/subprocess.py", line 64, in <module>
    import msvcrt
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 914, in _find_spec
  File "<frozen importlib._bootstrap_external>", line 1342, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1314, in _get_spec
  File "<frozen importlib._bootstrap_external>", line 1443, in find_spec
  File "<frozen importlib._bootstrap_external>", line 1483, in _fill_cache
OSError: [Errno 34] Result too large: '.'

Hey Jack, I am not certain, but I think we are both experiencing this bug …

Issue #9428: Scripts not working and Scripting Console throwing errors

It is marked as “duplicate” of a closed bug …

Issue #8622: Python Scripting - KiPython initial window is initially almost empty

But we are experiencing #9428 and not #8622, since our console does not “pop open and display meaningful content” (my console stays greyed out and empty when I resize the console window), so perhaps #9428 was misdiagnosed as a duplicate :face_with_monocle:

Reading around online, and since we are both on Mac OS, it seems likely that it might be something having to do with Translocation or some other security feature stepping on the toes of KiCad’s Python, but I am not certain that is the cause yet.