Closed sstteevvee closed 4 months ago
this is directly connected to this issue here: https://github.com/sparkmicro/Ki-nTree/issues/207
We could add a small fix which only changes the file name but as it anyway wouldn't download anything then I would rather fix the whole process.
A bit more testing.. After switching to a Linux machine (Ubuntu), I was able to successfully download some parts with a question mark in their datasheet URLs, e.g. SSM3K376RLFCT-ND
. Still no luck with the TI parts, like in #207.
fixed in v1.1.1
Hi,
I'm using Python 3.9.9 on Windows 10, Ki-nTree version 1.1.0:
I've found that when the datasheet URL contains a question mark "?", that Ki-nTree generates a few errors messages and gets stuck. More-or-less of the component generation in Inventree succeeds.
Sample part: Digikey
296-35014-ND
Problem URL:https://www.ti.com/general/docs/suppproductinfo.tsp?distId=10&gotoUrl=https%3A%2F%2Fwww.ti.com%2Flit%2Fgpn%2Ftps54360
Console log is below. The "create part" page's progress bar gets stuck half way, and the "cancel" button doesn't work. I need to close and restart the program to continue.
My workaround for now is to just clear out problematic datasheet URLs on the part search screen, before creating the part. My guess at the underlying problem is that Windows doesn't allow certain characters in filenames.
Please let me know if you'd like any more info.