devbisme / KiField

Edit/insert/delete part fields in KiCad schematics or libraries using a spreadsheet.
MIT License
70 stars 27 forks source link

[KiField Bug] Missing dependency sexpdata for pip install #67

Closed scandey closed 3 years ago

scandey commented 3 years ago

Describe the bug A clear and concise description of what the bug is.

After a clean install of Kifield 0.1.18 via Pip, first attempt at extracting from Kicad 5.1.10 schematic throws ModuleNotFoundError. This issue is new since 0.1.17.

To Reproduce Steps to reproduce the behavior:

  1. Attempt to extract a Kicad 5.1.10 schematic to .csv or .xlsx
  2. See error

Traceback (most recent call last): File "/usr/local/bin/kifield", line 5, in from kifield.main import main File "/usr/local/lib/python3.9/site-packages/kifield/main.py", line 15, in from .kifield import * File "/usr/local/lib/python3.9/site-packages/kifield/kifield.py", line 22, in from .sch import Schematic, Schematic_V6 File "/usr/local/lib/python3.9/site-packages/kifield/sch.py", line 16, in import sexpdata ModuleNotFoundError: No module named 'sexpdata'

Expected behavior A clear and concise description of what you expected to happen.

Schematic should be quietly extracted.

Desktop (please complete the following information):

Additional context

After installing sexpdata via Pip separately, the extraction process continues to another unrelated error (NameError: name 'reduce' is not defined).

xesscorp commented 3 years ago

Oops. Thanks for finding that. At least it's easy to fix.