Traceback most recent call last File home filmfeed website django core

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Traceback (most recent call last):
File "/home/filmfeed/website/django/core/handlers/base.py", line 86, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/filmfeed/website/django/contrib/syndication/views.py", line 19, in feed
feedgen = f(slug, request).get_feed(param)
File "/home/filmfeed/website/django/contrib/syndication/feeds.py", line 176, in get_feed
**self.item_extra_kwargs(item)
File "/home/filmfeed/website/feeds/feeds.py", line 49, in item_extra_kwargs
img = Image.open(os.path.join(settings.ROOT, fname.lstrip(os.sep)))
File "/usr/lib/python2.5/site-packages/PIL/Image.py", line 1916, in open
raise IOError("cannot identify image file")
IOError: cannot identify image file
<WSGIRequest
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{},
META:{'DOCUMENT_ROOT': '/home/filmfeed/website',
'GATEWAY_INTERFACE': 'CGI/1.1',
'HTTP_ACCEPT': 'text/html, text/plain, text/xml, application/*, Model/vnd.dwf, drawing/x-dwf',
'HTTP_ACCEPT_ENCODING': 'gzip, deflate',
'HTTP_CONNECTION': 'Close',
'HTTP_FROM': 'msnbot(at)microsoft.com',
'HTTP_HOST': 'filmfeed.ru',
'HTTP_USER_AGENT': 'msnbot/1.1 (+http://search.msn.com/msnbot.htm)',
'PATH_INFO': u'/feeds/users/leshchenko/',
'PATH_TRANSLATED': '/home/filmfeed/website/feeds/users/leshchenko/',
'QUERY_STRING': '',
'REDIRECT_STATUS': '200',
'REDIRECT_URI': '/site.fcgi/feeds/users/leshchenko/',
'REMOTE_ADDR': '65.55.211.192',
'REMOTE_PORT': '25401',
'REQUEST_METHOD': 'GET',
'REQUEST_URI': '/feeds/users/leshchenko/',
'SCRIPT_FILENAME': '/home/filmfeed/website/site.fcgi',
'SCRIPT_NAME': u'',
'SERVER_ADDR': '62.117.106.34',
'SERVER_NAME': 'filmfeed.ru',
'SERVER_PORT': '80',
'SERVER_PROTOCOL': 'HTTP/1.1',
'SERVER_SOFTWARE': 'lighttpd/1.4.19',
'wsgi.errors': <flup.server.fcgi_base.TeeOutputStream object at 0x971c96c>,
'wsgi.input': <flup.server.fcgi_base.InputStream object at 0x971c06c>,
'wsgi.multiprocess': False,
'wsgi.multithread': True,
'wsgi.run_once': False,
'wsgi.url_scheme': 'http',
'wsgi.version': (1, 0)}>