This says nothing about installing or setting up the BOM plugin on Mac OS X. I have downloaded the bom_csv_grouped_by_value.py plugin and placed it in Applications/Kicad/contents/plugins and I still get nothing.
I tried running this on terminal :
python “/private/var/folders/gw/2wc3kcqn7msdklf1hxdbyl4w0000gn/T/AppTranslocation/F9E7FBED-F894-4717-9AD4-3683E92DCCD8/d/kicad.app/Contents/SharedSupport/plugins/bom_csv_sorted_by_ref.py” “%I” “%O”
…and get ‘No such file or directory’.
Why does it have to be so hard?
Zhukov:
I tried running this on terminal :
python “/private/var/folders/gw/2wc3kcqn7msdklf1hxdbyl4w0000gn/T/AppTranslocation/F9E7FBED-F894-4717-9AD4-3683E92DCCD8/d/kicad.app/Contents/SharedSupport/plugins/bom_csv_sorted_by_ref.py” “%I” “%O”
%I and %O are keys for kicad internal variables. If you run the command in the command line then it does of course not have these variables available.
So how do I enable the pugin on Mac OS X?
All BOM scripts are meant to be run from within the BOM dialog of KiCad. So the question is what is the reason you do not use that? (What is the step that does not work there)
I get this error when I run a plugin:
> Run command:
> python “/private/var/folders/gw/2wc3kcqn7msdklf1hxdbyl4w0000gn/T/AppTranslocation/926495C7-CCAB-4441-9D62-BD6C0F80BDB7/d/kicad.app/Contents/SharedSupport/plugins/bom_csv_grouped_by_value.py” “/Users/alkopop79/Documents/KICAD/AS3394_board/AS3394_board.xml” “/Users/alkopop79/Documents/KICAD/AS3394_board/AS3394_board”
>
> Command error. Return code 1
> Error messages:
> Traceback (most recent call last):
> File “/private/var/folders/gw/2wc3kcqn7msdklf1hxdbyl4w0000gn/T/AppTranslocation/926495C7-CCAB-4441-9D62-BD6C0F80BDB7/d/kicad.app/Contents/SharedSupport/plugins/bom_csv_grouped_by_value.py”, line 54, in <module>
> net = kicad_netlist_reader.netlist(sys.argv[1])
> File “/private/var/folders/gw/2wc3kcqn7msdklf1hxdbyl4w0000gn/T/AppTranslocation/926495C7-CCAB-4441-9D62-BD6C0F80BDB7/d/kicad.app/Contents/SharedSupport/plugins/kicad_netlist_reader.py”, line 444, in __init__
> self.load(fname)
> File “/private/var/folders/gw/2wc3kcqn7msdklf1hxdbyl4w0000gn/T/AppTranslocation/926495C7-CCAB-4441-9D62-BD6C0F80BDB7/d/kicad.app/Contents/SharedSupport/plugins/kicad_netlist_reader.py”, line 742, in load
> self._reader = sax.make_parser()
> File “/private/var/folders/gw/2wc3kcqn7msdklf1hxdbyl4w0000gn/T/AppTranslocation/926495C7-CCAB-4441-9D62-BD6C0F80BDB7/d/kicad.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/__init__.py”, line 93, in make_parser
> raise SAXReaderNotAvailable(“No parsers found”, None)
> xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
Quick google search revealed
Zhukov:
SAXReaderNotAvailable
opened 12:53PM - 27 Oct 18 UTC
Reproduction steps:
- Open a fully annotated schematic.
- Bring up the BOM g… eneration dialog.
- If no plugins are present, just add one from the list of packaged plugins.
- Try to generate a report without changing the python commandline (I am using bom_html_grouped_by_value as BOM generator plugin).
- The following error occurs:
```
Run command:
python "/Applications/KiCad/kicad.app/Contents/SharedSupport/plugins/bom_html_grouped_by_value.py" "<bom_file>.xml" "<bom_path>"
Command error. Return code 1
Error messages:
Traceback (most recent call last):
File "/Applications/KiCad/kicad.app/Contents/SharedSupport/plugins/bom_html_grouped_by_value.py", line 45, in <module>
net = kicad_netlist_reader.netlist(sys.argv[1])
File "/Applications/KiCad/kicad.app/Contents/SharedSupport/plugins/kicad_netlist_reader.py", line 444, in __init__
self.load(fname)
File "/Applications/KiCad/kicad.app/Contents/SharedSupport/plugins/kicad_netlist_reader.py", line 734, in load
self._reader = sax.make_parser()
File "/Applications/KiCad/kicad.app/Contents/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/sax/__init__.py", line 93, in make_parser
raise SAXReaderNotAvailable("No parsers found", None)
xml.sax._exceptions.SAXReaderNotAvailable: No parsers found
```
-- OS Version
ProductName: Mac OS X
ProductVersion: 10.14
BuildVersion: 18A391
-- KiCad version
KiCad nightly 20181026-050928-ed5fa2ca2-10_14
Thank you for your time,
Alessandro
I am confused about the workaround. Please tell me, what’s the point of this forum if I can’t ask something? Why the hostility? What do I have to do to get help? Is there anyone else I can talk to?
Also, the repo is closed and I can’t comment, therefor I can’t ask for help there.
Lets put it simple: I have no idea about Mac stuff. All I can do is point you do resources of someone else until somebody comes along that knows this stuff. The error message on that report was the same as what you have so it is a start. With a bit of luck the thing i point you do helps. If not then you at least know more and can give whoever comes later more detail.
Thank you. The link you shared me points me in the right direction. Stay safe!
system
Closed
August 7, 2020, 7:51pm
13
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.