使用二进制文件运行qira之后,我使用此命令将其连接
$ nc localhost 4000
然后会引发这些异常
Traceback (most recent call last):
File "~/qira/middleware/qira.py", line 96, in <module>
qira_socat.start_bindserver(program, qira_config.SOCAT_PORT, -1, 1, True)
File "~/qira/middleware/qira_socat.py", line 59, in start_bindserver
program.execqira(["-qirachild", "%d %d %d" % (parent_id, start_cl, run_id)], shouldfork=False)
File "~/qira/middleware/qira_program.py", line 398, in execqira
os.execvp(eargs[0], eargs)
File "~/qira/venv/lib/python2.7/os.py", line 346, in execvp
_execvpe(file, args)
File "~/qira/venv/lib/python2.7/os.py", line 370, in _execvpe
func(file, *argrest)
OSError: [Errno 8] Exec format error
close failed in file object destructor:
IOError: [Errno 9] Bad file descriptor
close failed in file object destructor:
IOError: [Errno 9] Bad file descriptor
而且我不知道该怎么做,我曾经在qira.py中添加了shabang,但是没有用