Traceback (most recent call last):
File "script/oic_flow_tests.py", line 232, in <module>
p1 =Popen(["./%s.py" % args.server], stdout=PIPE)
File "C:\python27\lib\subprocess.py", line 709, in __init__
errread, errwrite)
File "C:\python27\lib\subprocess.py", line 957, in _execute_child
startupinfo)
WindowsError: [Error 2] Le fichier spÚcifiÚ est introuvable
(法语错误表示“找不到文件”)
我试图通过在shell=True
中添加Popen
来修复它,但随后又出现了另一个错误:
ValueError: No JSON object could be decoded"
"./%s.py" % args.server
不是档案。
args.server
?为什么您认为该文件位于当前目录中?./
- 它在这里没有做任何事情。