2
我最近切換了工作站並重新安裝了Fedora 25上的所有環境。 當試圖運行我的項目的任何部分時(我運行PyTest測試),我總是最終得到「Process在調試中完成退出代碼0「消息。PyCharm/Python。代碼無法運行。立即收到「正在完成退出代碼爲0的流程」
下面是完整的調試消息:
/usr/bin/python2.7 /usr/share/java/pycharm-community/helpers/pydev/pydevd.py --multiproc --qt-support --client 127.0.0.1 --port 46537 --file /home/pavel/Documents/integration_tests/cfme/tests/containers/test_containers_default_project_replicators.py
warning: Debugger speedups using cython not found. Run '"/usr/bin/python2.7" "/usr/share/java/pycharm-community/helpers/pydev/setup_cython.py" build_ext --inplace' to build.
pydev debugger: process 10166 is connecting
Connected to pydev debugger (build 163.10154.50)
/home/pavel/Documents/integration_tests/utils/log.py:222: UserWarning: clearing configuration is bad
del(conf['env'])
我嘗試運行該項目實際上是開源,並在這裏以供參考: https://github.com/ManageIQ/integration_tests
'exit code 0'是一般退出碼,通常表示您的代碼成功運行。你希望用你的代碼實現什麼以及實際發生了什麼? –
您在上面提到的退出代碼不在此代碼段中。請檢查。 – MKesper
@MKesper退出代碼出現在我發佈的代碼 –