[Errno 5] Input/output error

File “/root/workspace/StudentSystem2.0/StudentManageSys/order/views.py” in cancel_project

  1.             print(project_dict)
    

Exception Type: OSError at /api/v1/order/1216/cancel_project/
Exception
Value: [Errno 5] Input/output error

1.在开发环境中,代码中有print语句
2.在生成环境中,print语句没有删除,导致Input/output error
(生产环境:是指正式提供对外服务的,一般会关掉错误报告,打开错误日志)

你可能感兴趣的:([Errno 5] Input/output error)