I forgot the complete error message:
IOError at /admin/labcv/person/2/
[Errno 2] No such file or directory: u'/root/django/mysite_new/media/www.jpg'
| Request Method: | POST |
|---|---|
| Request URL: | http://192.168.1.1:8000/admin/labcv/person/2/ |
| Django Version: | 1.4 |
| Exception Type: | IOError |
| Exception Value: | [Errno 2] No such file or directory: u'/root/django/mysite_new/media/www.jpg' |
| Exception Location: | /usr/local/lib/python2.6/dist-packages/django/core/files/storage.py in _open, line 156 |
| Python Executable: | /usr/bin/python |
| Python Version: | 2.6.5 |
| Python Path: | ['/root/django/mysite_new', '/usr/local/lib/python2.6/dist-packages/setuptools-0.6c11-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/mypy-0.256-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/WebError-0.10.3-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/sqlbean-0.603-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/hmako-1.12-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/decorator-3.3.3-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Paste-1.7.5.1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Pygments-1.5-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/Tempita-0.5.1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/WebOb-1.2-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/DBUtils-1.1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/pip-1.1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/django_grappelli-2.4.0a1-py2.6.egg', '/usr/local/lib/python2.6/dist-packages/python_memcached-1.48-py2.6.egg', '/root/django/mysite_new', '/root/ddt/debug_toolbar', '/root/ddt', '/root/django/sorl_thumbnail', '/usr/lib/python2.6', '/usr/lib/python2.6/plat-linux2', '/usr/lib/python2.6/lib-tk', '/usr/lib/python2.6/lib-old', '/usr/lib/python2.6/lib-dynload', '/usr/lib/python2.6/dist-packages', '/usr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2.6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/local/lib/python2.6/dist-packages'] |
| Server time: | Thu, 19 Jul 2012 22:43:44 -0400 |
................
...............
..............
/root/django/mysite_new/labcv/forms.pyinclean_photot = get_thumbnail(image, "400x400")
...
/root/django/sorl_thumbnail/sorl/thumbnail/shortcuts.pyinget_thumbnailreturn default.backend.get_thumbnail(file_, geometry_string, **options)
...
/root/django/sorl_thumbnail/sorl/thumbnail/base.pyinget_thumbnailsource_image = default.engine.get_image(source)
...
/root/django/sorl_thumbnail/sorl/thumbnail/engines/pil_engine.pyinget_imagebuf = StringIO(source.read())
...
/root/django/sorl_thumbnail/sorl/thumbnail/images.pyinreadreturn self.storage.open(self.name).read()
...
/usr/local/lib/python2.6/dist-packages/django/core/files/storage.pyinopenreturn self._open(name, mode)
...
/usr/local/lib/python2.6/dist-packages/django/core/files/storage.pyin_openreturn File(open(self.path(name), mode))
...
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Uk2Ol4QM0qEJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment