There are other people that have brought this up a little bit some
time ago. I run a small to medium sized web application that takes
profile pictures. By far my largest customer service issue is people
not being able to upload their photos.

For the most part I have played it down as their connection sucking or
perhaps doing something stupid with the browser, but there are a
couple of things that I am running into that are causing an issue.

1. I can't replicate this, no matter what I do with my browser in the
middle of an upload.
2. Judging by the django code near the problem, this is working on
information that has already been received.
3. I get this a few times a day at least, different people every time.

If someone with some knowledge of the core or http areas of django
could speak up on this I would be very grateful.


Stack trace for reference....

Traceback (most recent call last):

  File "/usr/lib/python2.5/site-packages/django/core/handlers/
base.py", line 77, in get_response
    response = callback(request, *callback_args, **callback_kwargs)

  File "/var/www/yttp/user/views.py", line 78, in profile_edit
    if 'photo' in request.FILES:

  File "/usr/lib/python2.5/site-packages/django/core/handlers/
modpython.py", line 86, in _get_files
    self._load_post_and_files()

  File "/usr/lib/python2.5/site-packages/django/core/handlers/
modpython.py", line 51, in _load_post_and_files
    self._post, self._files =
http.parse_file_upload(self._req.headers_in, self.raw_post_data)

  File "/usr/lib/python2.5/site-packages/django/core/handlers/
modpython.py", line 120, in _get_raw_post_data
    self._raw_post_data = self._req.read()

IOError: Client read error (Timeout?)


--~--~---------~--~----~------------~-------~--~----~
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