知道为什么将图像上传到服务器时会出现以下错误吗?!
[Tue May 21 23:44:01 2013] [error] [client 41.236.182.133] mod_wsgi (pid=9639): Exception occurred processing WSGI script '/root/AR_BROWSER/example/wsgi.py'.
[Tue May 21 23:44:01 2013] [error] [client 41.236.182.133] IOError: failed to write data
我已经在谷歌上搜索了很长时间,但我没有任何帮助。
wsgi.py
import os
import sys
path = '/root/AR_BROWSER/example'
sys.path.append('/root/AR_BROWSER/example')
sys.path.append('/root/AR_BROWSER')
sys.path.append('/root/AR_BROWSER/example/app')
sys.path.append('/root/AR_BROWSER/example/static')
sys.path.append('/root/AR_BROWSER/example/static/uploaded_pics')
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()