In EESchema, when I click on Tools/Generate Bill of Materials… , I get a dialog that says
Warning: Failed to open file … bom_csv_grouped_by_value.py
I can dismiss it and click [Generate] in the next dialog window. Thereafter, I see a .xml file but not .csv file. Am I missing something?
Environment
Application: kicad
Version: (5.0.0-rc2-dev-310-g1cd6477), release build
Libraries:
wxWidgets 3.0.4
libcurl/7.54.0 LibreSSL/2.0.20 zlib/1.2.11 nghttp2/1.24.0
Platform: Mac OS X (Darwin 17.5.0 x86_64), 64 bit, Little endian, wxMac
Build Info:
wxWidgets: 3.0.4 (UTF-8,STL containers,compatible with 2.8)
Boost: 1.61.0
Curl: 7.43.0
Compiler: Clang 7.3.0 with C++ ABI 1002
Build settings:
USE_WX_GRAPHICS_CONTEXT=ON
USE_WX_OVERLAY=ON
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON
FWIW, there is a workaround:
open a terminal window
cd /Applications/Kicad/kicad.app/Contents/SharedSupport/plugins/
python bom_csv_grouped_by_py <projdir>/projfile.xml <projdir>/projfile.csv
I realize I should have included the full message, which reads:
Failed to open file “/private/var/folders/7x/bsz1mn9d5ps8pzs886s71d9m0000gq/T/AppTranslocation/35A17C01-590F-4CED-8676-FF9A6F3579FB/d/kicad.app/Contents/SharedSupport/plugins/bom_csv_grouped_by_value.py”
The directory /private/var/folders/7x/bsz1mn9d5ps8pzs886s71d9m0000gq/T/AppTranslocation/35A17C01-590F-4CED-8676-FF9A6F3579FB
doesn’t exist on my machine.
But as I mentioned, the workaround does the trick.
Wait, the error comes up just by opening that dialog?
That’s what I’ve been using to test:
Application: kicad
Version: (5.0.0-rc2-dev-655-ge0ca5bab1), release build
Libraries:
wxWidgets 3.0.3
libcurl/7.54.1 OpenSSL/1.0.2l zlib/1.2.11 libssh2/1.8.0 nghttp2/1.23.1 librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.3 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.60.0
Curl: 7.54.1
Compiler: GCC 7.1.0 with C++ ABI 1011
Build settings:
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON
Wait, the error comes up just by opening that dialog?
That’s correct. Note, however, that I’m on macOS. Pretty sure it’s OS specific.
1 Like
system
Closed
June 6, 2018, 3:43pm
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.