kicadScripts icon indicating copy to clipboard operation
kicadScripts copied to clipboard

Not able to run the board plots on a macOS

Open classbproject opened this issue 4 years ago • 1 comments
trafficstars

Hi, I'm trying to use your board plot scripts on a Mac running Mojave. I followed this thread on the KiCad forum to modify the paths to run the files using the default python included with KiCad. And then added paths to the Inkscape app. When I run the plot_board.py with the KiCad_pcb file I get the following errors:

b dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/Kicad/kicad.app/Contents/Frameworks/python/site-packages/_pcbnew.so being ignored in restricted program because of @executable_path dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/KiCad/kicad.app/Contents/Frameworks/python/site-packages/../../libwx_osx_cocoau_gl-3.0.0.dylib being ignored in restricted program because of @executable_path dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/KiCad/kicad.app/Contents/Frameworks/python/site-packages/../../libwx_osx_cocoau-3.0.0.dylib being ignored in restricted program because of @executable_path dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/KiCad/kicad.app/Contents/Frameworks/python/site-packages/../../libkicad_3dsg.2.0.0.dylib being ignored in restricted program because of @executable_path dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/KiCad/kicad.app/Contents/Frameworks/python/site-packages/../../libGLEW.2.2.dylib being ignored in restricted program because of @executable_path dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/KiCad/kicad.app/Contents/Frameworks/python/site-packages/../../libcairo.2.dylib being ignored in restricted program because of @executable_path dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/KiCad/kicad.app/Contents/Frameworks/python/site-packages/../../libpixman-1.0.dylib being ignored in restricted program because of @executable_path dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/KiCad/kicad.app/Contents/Frameworks/python/site-packages/../../libfontconfig.1.dylib being ignored in restricted program because of @executable_path dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/KiCad/kicad.app/Contents/Frameworks/python/site-packages/../../libfreetype.6.dylib being ignored in restricted program because of @executable_path dyld: warning, LC_RPATH @executable_path/../Frameworks in /Applications/KiCad/kicad.app/Contents/Frameworks/python/site-packages/../../libpng16.16.dylib being ignored in restricted program because of @executable_path Fatal Python error: PyThreadState_Get: no current thread [1] 87057 abort python plot_board.py

What am I missing?

classbproject avatar Feb 05 '21 18:02 classbproject

I'm not sure. MacOS is outside of my wheelhouse, unfortunately.

gregdavill avatar Feb 05 '21 23:02 gregdavill