to me it looks like you only downloaded this single "sigrok-fwextract-kingst-la2016" script, instead of doing a git-clone of the sigrok-util repo or unpacking a snapshot-zip file. this script is not stand-alone, it needs this parseelf.py file from another folder in that same repository.
can you please try to download such a snapshot-zip file, e.g. from here: https://sigrok.org/gitweb/?p=sigrok-util.git;a=snapshot;h=HEAD;sf=zip (or go to https://sigrok.org/gitweb/?p=sigrok-util.git;a=tree and press the "snapshot" link in the upper-left) then extract all of it, then execute the extractor-script from "in there" -- might look something like this on your side: cd path...to\sigrok-util-HEAD-XXX\firmware\kingst-la C:\Users\hk\AppData\Local\Programs\Python\Python38-32\python sigrok-fwextract-kingst-la2016 path...to\KingstVIS\KingstVIS please make sure to replace those XXX and "path...to"'s with the directory names of where you actually extracted the files to. and "path...to\KingstVIS\KingstVIS" has to point to the extracted vendor-software. flo. On 17.10.20 14:13, Helge Kruse wrote:
C:\Users\hk\AppData\Local\Programs\Python\Python38-32\python firmware_kingst-la_sigrok-fwextract-kingst-la2016 KingstVIS/KingstVIS Traceback (most recent call last): File "firmware_kingst-la_sigrok-fwextract-kingst-la2016", line 33, in <module> spec.loader.exec_module(parseelf) File "<frozen importlib._bootstrap_external>", line 779, in exec_module File "<frozen importlib._bootstrap_external>", line 915, in get_code File "<frozen importlib._bootstrap_external>", line 972, in get_data FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Program Files\\sigrok\\sigrok-cli\\share\\saleae-logic16\\parseelf.py'
_______________________________________________ sigrok-devel mailing list sigrok-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sigrok-devel