When the data path has spaces, the USBET invocation fails. USBET displays an popup dialog with the error "Unrecognized test:".
What was expected?
The USBET tool should work with spaces.
How to reproduce?
Edit the joulescope_ui_config.json file "common/settings", "paths", "data", "value" to be a directory with spaces. Try running the USB Inrush analysis from the Waveform widget.
Extra information
The problem is how USBET handles command-line arguments. It expects spaces in a file to separate the argument into multiple arguments. When we invoke from python, we always pass a single argument with spaces. USBET cannot handle this.
Joulescope model
JS220
UI version
1.1.10
What OS are you seeing the problem on?
Windows 11, Windows 10
What happened?
When the data path has spaces, the USBET invocation fails. USBET displays an popup dialog with the error "Unrecognized test:".
What was expected?
The USBET tool should work with spaces.
How to reproduce?
Edit the joulescope_ui_config.json file "common/settings", "paths", "data", "value" to be a directory with spaces. Try running the USB Inrush analysis from the Waveform widget.
Extra information
The problem is how USBET handles command-line arguments. It expects spaces in a file to separate the argument into multiple arguments. When we invoke from python, we always pass a single argument with spaces. USBET cannot handle this.