Hello,

I have an interesting problem. One of the users of my ( test ) django
site reported that he cannot upload image banners to the site using
the custom admin. I've checked the logs, and found the following
exception logged:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/django/core/handlers/
base.py", line 86, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/home/django/inkvizitor/admin_banner.py", line 53, in
edit_banner
    f = BannerEditForm(request.POST, request.FILES,
instance=banner_obj)
  File "/usr/lib/python2.4/site-packages/django/core/handlers/
wsgi.py", line 169, in _get_post
    self._load_post_and_files()
  File "/usr/lib/python2.4/site-packages/django/core/handlers/
wsgi.py", line 135, in _load_post_and_files
    self._post, self._files = self.parse_file_upload(self.META,
self.environ['wsgi.input'])
  File "/usr/lib/python2.4/site-packages/django/http/__init__.py",
line 124, in parse_file_upload
    return parser.parse()
  File "/usr/lib/python2.4/site-packages/django/http/
multipartparser.py", line 193, in parse
    for chunk in field_stream:
  File "/usr/lib/python2.4/site-packages/django/http/
multipartparser.py", line 315, in next
    output = self._producer.next()
  File "/usr/lib/python2.4/site-packages/django/http/
multipartparser.py", line 469, in next
    for bytes in stream:
  File "/usr/lib/python2.4/site-packages/django/http/
multipartparser.py", line 315, in next
    output = self._producer.next()
  File "/usr/lib/python2.4/site-packages/django/http/
multipartparser.py", line 376, in next
    data = self.flo.read(self.chunk_size)
  File "/usr/lib/python2.4/site-packages/django/http/
multipartparser.py", line 406, in read
    return self._file.read(num_bytes)
  File "build/bdist.linux-i686/egg/flup/server/fcgi_base.py", line
161, in read
  File "build/bdist.linux-i686/egg/flup/server/fcgi_base.py", line
147, in _waitForData
  File "build/bdist.linux-i686/egg/flup/server/fcgi_base.py", line
673, in process_input
  File "build/bdist.linux-i686/egg/flup/server/fcgi_base.py", line
474, in read
EOFError

The setup: apache / fcgi.

I was unable to reproduce this error, it works perfectly. File
permissions are OK.

Any idea what the problem is?

Thanks!
Istvan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to