Closed cmidgley closed 2 months ago
Thanks for catching this and reporting!
You can disable Enforce Parameter Units
btw (that's what I did, so I didn't have a chance to catch this myself ^^).
That's a much better solution. Merged and confirmed fixed.
When importing properties for parts with a unit defined and the value from the supplier API does not pass Inventree validation, the program crashes due to an invalid dereference.
To reproduce the crash, import 'USBLC6-2SC6Y' from Digikey (using the example configuration files):
The relevant part of the stack crawl is:
This is because
parameter
does not have a 'name' property (it is an opaque object).