python path in eeschema

Bug #1820781 reported by Adam Wolf on 2019-03-19
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
KiCad
Low
Unassigned

Bug Description

Basically, the BOM Generator dialog is running python but it's running the system python (with the bundled python's libraries :D). We want it to runthe bundled python. When users modify the command to use the bundled python, it works fine.

So I dug into it, and we fix the PATH so that when something from pcbnew runs "python", it runs the right python on both macOS and Windows.

https://github.com/KiCad/kicad-source-mirror/blob/27d57d9191d0807722f2cd2b6b61cdb67e247612/pcbnew/pcbnew.cpp#L260

I was going to fix it in common.cpp but I have not been able to get to it in the last few months so I am opening this up to anyone.

Adam Wolf (adamwolf) on 2019-03-19
tags: added: macos
tags: added: python
Changed in kicad:
importance: Undecided → Low
milestone: none → 6.0.0-rc1
status: New → Triaged
tags: added: eeschema
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers