Bochlin / vunit-test-explorer

VUnit test explorer for VSCode
MIT License
12 stars 5 forks source link

run.py [Errno 2] No such file or directory #11

Closed halfow closed 4 years ago

halfow commented 4 years ago

Hi again :)

A bit redacted error message:

Running VUnit: python [PATH]\VHDL component\run.py --list --export-json [PATH]\globalStorage\hbohlin.vunit-test-explorer\workdir\559cade3-bcfe-4e1b-9849-2b9351f711da.json
python: can't open file '[PATH]\VHDL': [Errno 2] No such file or directory

The space in VHDL component causes issues in the python [PATH]\VHDL component\run.py

Adding quotes will solve the issue: python "[PATH]\VHDL component\run.py" While on the subject the --export-json [arg] could probably use --export-json "[arg]" to remove some error modes there as well :)

Bochlin commented 4 years ago

Fixed in 0.3.3 (865f5322a4bd00aa531a01418b1e703ef140fcfe)