Packaged Python framework is missing XML libraries on macOS

Bug #1800258 reported by Alessandro Gatti
This bug report is a duplicate of:  Bug #1820781: python path in eeschema. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
New
Undecided
Unassigned

Bug Description

Reproduction steps:

- Open a fully annotated schematic.
- Bring up the BOM generation 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" "/Users/agatti/***/***/***/***.xml" "/Users/agatti/***/***/***/***"

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

Revision history for this message
Adam Wolf (adamwolf) wrote :

Actually, if you could file this over at https://github.com/KiCad/kicad-mac-builder, this is a macos packaging issue, and that's where I fix those. :) Thanks!

tags: added: macos
Revision history for this message
Alessandro Gatti (agatti) wrote :
Revision history for this message
Ian McInerney (imcinerney) wrote :

According to the discussion in the mac packaging bug tracker, this bug is just a symptom of the Eeschema python path problem.

tags: added: packaging
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.