Error in Python script for BOM generation

Bug #1855118 reported by Matteo Siviero
18
This bug affects 6 people
Affects Status Importance Assigned to Milestone
KiCad
Fix Released
Medium
Nick Østergaard

Bug Description

With version 5.1.5-2 when I try to generate BOM file with Python plugin (I use "bom_csv_grouped_by_value"), KiCAD will return the follow error message:

Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: initfsencoding: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00001398 (most recent call first):

If I uninstall this version and reinstall the old one (5.1.4_1) the BOM generation works correctly.

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

What platform? Windows?

Revision history for this message
Nick Østergaard (nickoe) wrote :

It will be fixed in the 5.1.5_3 windows build.

tags: added: packaging windwos
Changed in kicad:
assignee: nobody → Nick Østergaard (nickoe)
importance: Undecided → Medium
status: New → Incomplete
status: Incomplete → Fix Released
milestone: none → 5.1.6
tags: added: windows
removed: windwos
Revision history for this message
Matteo Siviero (matteomatteo94) wrote :

For Windows

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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