我正在尝试关注this tutorial以进行一些MDM测试设置。
我设置了server并在Ubuntu上工作但是当我尝试在Windows上运行它时,我收到以下错误:
代码:
if __name__ == "__main__":
print "Starting Server"
app = web.application(urls, globals())
app.internalerror = web.debugerror
try:
app.run()
except Exception, e:
print "{0}".format(e)
sys.exit(0)
else:
# app.run() seems to use server.py as a module
# Placing these in main causes them not to run
# Placing these above main causes them to run twice
mdm_commands = setup_commands()
read_devices()
错误:
Starting Server
https://0.0.0.0:8080/
[('system library', 'fopen', 'No such file or directory'), ('BIO routines', 'FIL
E_CTRL', 'system lib'), ('SSL routines', 'SSL_CTX_use_certificate_file', 'system
lib')]
有人知道可能导致这种情况的原因吗?
答案 0 :(得分:0)
原来问题是项目目录中缺少Server.crt
文件。