-
-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supplier choices are invalid when using external config dir #19
Comments
Easiest way to fix this would be to simply also configure those suppliers in the default configuration. Alternatively you could also just use the default configuration directory, I mainly implemented the |
Fixing this properly probably won't be that easy, because the checking isn't actually done by me, but by |
Thanks for the quick answer. An alternative way could be to make the default location configurable. Not sure how hard that is with The whole thing is by no means a show stopper anyway, it's just not quite obvious where the error is coming from when not yet familiar with the inner workings of the cli. |
No problem! Yeah the cause of the error is somewhat opaque. |
I'm using multiple devices with inventree and want to sync the config across them. On windows for example, the default folder is in |
Ah okay, well I'm just using whatever |
The symlink approach is what I'm using for Kicad, guess then for here as well :) Thanks for your time! |
When using supplier constrained input flags like
-s
or-o
together with the-c
flag, the cli will not use the provided config dir when deciding which suppliers are valid choices.How to reproduce
inventree-part-import
From config folder, run:
inventree-part-import -c $pwd -o mouser <arbitraryPart>
Expected behaviour
Use config dir provided with
-c
for supplier choicesReal behaviour
The text was updated successfully, but these errors were encountered: