Skip to content
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

Crashes after a certain LCSC SKU #242

Closed
PricelessToolkit opened this issue Jun 24, 2024 · 4 comments
Closed

Crashes after a certain LCSC SKU #242

PricelessToolkit opened this issue Jun 24, 2024 · 4 comments

Comments

@PricelessToolkit
Copy link

Ki-nTree crashes after a certain SKU "C2757850, C356725"

I don't know if its a bug or only on my system.
Version 1.1.0
Python 3.9

Can someone confirm?
Thank you!

`[MAIN] LCSC search for C2757850

Future exception was never retrieved
future: <Future finished exception=KeyError('paramVOList')>
Traceback (most recent call last):
File "C:\Users\dmour\AppData\Local\Programs\Python\Python39\lib\concurrent\futures\thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "C:\Users\dmour\AppData\Local\Programs\Python\Python39\lib\site-packages\flet_core\page.py", line 528, in wrapper
handler(*args)
File "C:\Users\dmour\AppData\Local\Programs\Python\Python39\lib\site-packages\kintree\gui\views\main.py", line 330, in run_search
part_supplier_info = inventree_interface.supplier_search(
File "C:\Users\dmour\AppData\Local\Programs\Python\Python39\lib\site-packages\kintree\database\inventree_interface.py", line 480, in supplier_search
part_info = lcsc_api.fetch_part_info(part_number)
File "C:\Users\dmour\AppData\Local\Programs\Python\Python39\lib\site-packages\kintree\search\lcsc_api.py", line 99, in fetch_part_info
for parameter in range(len(part[parameter_key])):
KeyError: 'paramVOList'`

@T0jan
Copy link
Collaborator

T0jan commented Jun 25, 2024

known and fixed already, will be part of the next release: #234

@T0jan T0jan closed this as completed Jun 25, 2024
@PricelessToolkit
Copy link
Author

Thanks!!

@eeintech
Copy link
Contributor

Release 1.1.1 is ready for download 😃

@PricelessToolkit
Copy link
Author

Nice!!!!!!!!!!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants