> If you run Django with its standalone development server do  you see
> the same behaviour? Ie., does the Django process blow out in size?
>
> Unless you are bound to mod_python because of other code which uses
> its APIs directly, then also consider trying to host Django under
> mod_wsgi (http://www.modwsgi.org) to see if it exhibits the same
> problem.
>
> Doing both these things would help to highlight whether this is a
> Django issue, a mod_python issue or a general Apache problem with your
> configuration.

Thanks for your suggestions. Problem doesn't occur when I use
development server or mod_wsgi, so it is clearly a mod_python bug.
Unfortunately, I don't have time currently to investigate why it
happens.

Now I hit another problem though. Seems that #2070 patch is seriously
outdated. django/core/validators.py is not touched by it, and this
causes exception:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/django/core/handlers/base.py"
in _real_get_response
  81. response = callback(request, *callback_args, **callback_kwargs)
File "/var/lib/python-support/python2.5/django/contrib/admin/views/
decorators.py" in _checklogin
  55. return view_func(request, *args, **kwargs)
File "/var/lib/python-support/python2.5/django/views/decorators/
cache.py" in _wrapped_view_func
  39. response = view_func(request, *args, **kwargs)
File "/var/lib/python-support/python2.5/django/contrib/admin/views/
main.py" in change_stage
  332. errors = manipulator.get_validation_errors(new_data)
File "/var/lib/python-support/python2.5/django/oldforms/__init__.py"
in get_validation_errors
  61. errors.update(field.get_validation_errors(new_data))
File "/var/lib/python-support/python2.5/django/oldforms/__init__.py"
in get_validation_errors
  378. self.run_validator(new_data, validator)
File "/var/lib/python-support/python2.5/django/oldforms/__init__.py"
in run_validator
  368. validator(new_data.get(self.field_name, ''), new_data)
File "/var/lib/python-support/python2.5/django/oldforms/__init__.py"
in isValidImage
  713. validators.isValidImage(field_data, all_data)
File "/var/lib/python-support/python2.5/django/core/validators.py" in
isValidImage
  180. content = field_data['content']

  KeyError at /admin/account/pokerroom/5/
  'content'

I'll try to post this to the Django Trac again.
Eugene


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