Popen. _wait has wrong timeout value
timeout is already in mm when being passed (defined in Global_constants).
the *1000 should be removed on line 1595.
Noticed it because process would not stopped. After fixing this, I could see the error.
Traceback (most recent call last): File "C:\Users\Jerome\scoop\apps\miniconda3\current\Lib\site-packages\qat\internal\app_launcher.py", line 570, in start_application inject_dll(context) File "C:\Users\Jerome\scoop\apps\miniconda3\current\Lib\site-packages\qat\internal\app_launcher.py", line 127, in inject_dll raise TimeoutError("Application could not start (timeout)") from error TimeoutError: Application could not start (timeout)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "d:\wsBackup\Dragonfly\QA\Qat Tests\demo.py", line 56, in test_launch() File "d:\wsBackup\Dragonfly\QA\Qat Tests\demo.py", line 25, in test_launch app_context = qat.start_application(app_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Jerome\scoop\apps\miniconda3\current\Lib\site-packages\qat\qat.py", line 156, in start_application get_state().current_app_context = app_launcher.start_application(app_name, args, detached) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Jerome\scoop\apps\miniconda3\current\Lib\site-packages\qat\internal\app_launcher.py", line 584, in start_application port = get_port_from_file(context) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\Jerome\scoop\apps\miniconda3\current\Lib\site-packages\qat\internal\app_launcher.py", line 161, in get_port_from_file raise ProcessLookupError( ProcessLookupError: Could not retrieve server port number. Cannot establish communication with application.
I was running on an installed .exe version made with NSIS installed, does it only work on Developper .exe files?