当我试图通过python脚本处理我的图像时,它可以工作,但是当我试图在Django中运行它时,我会使用Django视图中相同的函数获得一个“无法识别图像文件PIL错误”。有什么问题吗?=rootmeansquare(filename)这是错误消息:
OSError at /upload无法识别图像文件<InMemoryUploadedFile: IMG_2
我从Box服务器下载时收到以下错误:Arguments:
Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Versi
我没有显式地按索引访问列表,我只是向它追加了一个对象,这就是为什么我无法解释为什么我会得到一个IndexError: list index out of range。下面是堆栈跟踪: File "/mnt/www-data/run/backend/lib/python2.7/site-packages1504, in wsgi_app
response = self.full_dispatc