Re: [sorl thumbnail] get_thumbnail not working -- IOError

2012-07-19 Thread bruce
oh. 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:POSTRequest URL:http://192.168.1.1:8000/admin/labcv/person/2/Django Version:1.4Exception Type:IOErrorException Value: [Errno

[sorl thumbnail] get_thumbnail not working -- IOError

2012-07-19 Thread bruce
Dear All, I am trying to use the ImageField in my model, and use get_thumbnail in the forms.py. The problem is: If I don't use get_thumbnail, it works well. The image was uploaded successfully and the thumbnail shows on the admin page. It works well. However, If I try to use the get_thumbnail t