/
Failure of opening Python app

Failure of opening Python app

Updated:Apr 12, 2022

Question

An error message “executePython Error: Can't execute python code. (err=-1)” appears and cannot get it started when opening an app created with Python.


Answer

Possible cause are as follows.

 

  1. Module import failure
    Check if the module is sufficient or the file path is correct.

  2. YUV retrieval failure
    Please confirm that YUV resolution that will be retrieved within the code and the specified resolution coincide.

  3. Python syntax error
    Python syntax error cannot not be displayed as error during compiling. Please review the syntax using syntax checking tool or equivalent.
    https://docs.python.org/ja/3.7/library/py_compile.html
    https://docs.microsoft.com/ja-jp/visualstudio/python/linting-python-code?view=vs-2022

Related content

ADAM OPERATION UIから機能拡張ソフトウェアの開始に失敗する
ADAM OPERATION UIから機能拡張ソフトウェアの開始に失敗する
More like this
ADAM OPERATION UI から機能拡張ソフトウェアのアップデートに失敗する
ADAM OPERATION UI から機能拡張ソフトウェアのアップデートに失敗する
More like this
When launching the PS-API sample program "PlayLiveTestToolDLL.exe" downloaded from the i-PRO global site, the error "library error (VIDEO_ERROR_GEN_RTPRECEIVER_FILTER))" is displayed and the program cannot be executed.
When launching the PS-API sample program "PlayLiveTestToolDLL.exe" downloaded from the i-PRO global site, the error "library error (VIDEO_ERROR_GEN_RTPRECEIVER_FILTER))" is displayed and the program cannot be executed.
More like this
Python用外部ライブラリをビルドする
Python用外部ライブラリをビルドする
More like this