This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SIMPLELINK-WIFI-TOOLBOX: Logger cannot be launched on Linux and macOS (version: 2.3.3, error: No such file or directory: '--conf_file')

Part Number: SIMPLELINK-WIFI-TOOLBOX

Tool/software:

When starting the Logger through the web interface, I get the following error on Linux (Ubuntu 24.04.2) and macOS:

2025-05-05 20:33:04,675: Logger Version : 2.1.5
2025-05-05 20:33:18,017: Starting wLogger with command :
 --conf_file /home/ezra/docs/work/gw3/ti/simplelink_wifi_toolbox_lin_2_3_3/wlogger/tmp/wlogger_config.json --auto_start
2025-05-05 20:33:18,018: Exception on /logger/api/start [POST]
Traceback (most recent call last):
  File "flask/app.py", line 1513, in full_dispatch_request
  File "flask/app.py", line 1499, in dispatch_request
  File "flask_restful/__init__.py", line 467, in wrapper
  File "flask/views.py", line 83, in view
  File "flask_restful/__init__.py", line 582, in dispatch_request
  File "wlogger/restapi.py", line 430, in post
  File "subprocess.py", line 971, in __init__
  File "subprocess.py", line 1863, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: '--conf_file'

The command string seems to be missing the path to the executable, as on Windows we see:

2025-05-05 17:04:01,032: Logger Version : 2.1.5
2025-05-05 17:04:22,108: Starting wLogger with command :
 C:\Users\vagrant\Desktop\simplelink_wifi_toolbox_win_2_3_3\wlogger\bin\wlogger.exe --conf_file C:\Users\vagrant\Desktop\simplelink_wifi_toolbox_win_2_3_3\wlogger\tmp\wlogger_config.json --auto_start

Then, when trying to run wlogger (a different binary) manually (on Linux or macOS), we see the same problem again:

$ simplelink_wifi_toolbox_lin_2_3_3/wlogger/bin/wlogger --conf_file /home/ezra/docs/work/gw3/ti/simplelink_wifi_toolbox_lin_2_3_3/wlogger/tmp/wlogger_config.json --auto_start
STDOut and STDErr will logged into /tmp/_MEIHIWj6K/wlogger.log

(...)

Starting logger CC3351 with command:
 --com_port /dev/ttyUSB0 --log_dir /home/ezra/docs/work/gw3/ti/logs/2025_05_05_21_21_08/CC3351 --bin_file /home/ezra/docs/work/gw3/ti/simplelink_wifi_toolbox_lin_2_3_3/radio-tool/binaries/CC3351/logger.bin --baud_rate 3000000 --max_log_size 12 --stream_id CC3351 --max_bytes_per_packet 200

Exception in thread Thread-5 (start_logger):
Traceback (most recent call last):
  File "threading.py", line 1016, in _bootstrap_inner
  File "threading.py", line 953, in run
  File "wlogger.py", line 564, in start_logger
  File "subprocess.py", line 971, in __init__
  File "subprocess.py", line 1863, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: '--com_port'