On 29 Aug 2012, at 2:26 PM, Schroeder, Theo wrote:

> --------------
> Environment:
>  
>  
> Request Method: POST
> Request URL: http://mail05.schmolz-bickenbach.com/accounts/add/domain/7/
>  
> Django Version: 1.3.3
> Python Version: 2.6.6
> Installed Applications:
> ['baruwa.fixups',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'baruwa.auth',
> 'baruwa.accounts',
> 'baruwa.messages',
> 'baruwa.lists',
> 'baruwa.reports',
> 'baruwa.status',
> 'baruwa.config',
> 'djcelery',
> 'south']
> Installed Middleware:
> ('django.middleware.gzip.GZipMiddleware',
> 'django.middleware.common.CommonMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.middleware.locale.LocaleMiddleware',
> 'django.middleware.csrf.CsrfViewMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.contrib.messages.middleware.MessageMiddleware')
>  
>  
> Traceback:
> File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py" in 
> get_response
>   111.                         response = callback(request, *callback_args, 
> **callback_kwargs)
> File "/usr/lib/python2.6/site-packages/django/contrib/auth/decorators.py" in 
> _wrapped_view
>   23.                 return view_func(request, *args, **kwargs)
> File "/usr/lib/python2.6/site-packages/baruwa/utils/decorators.py" in _inner
>   35.         return function(request, *args, **kwargs)
> File "/usr/lib/python2.6/site-packages/baruwa/accounts/views.py" in 
> add_address
>   243.         if form.is_valid():
> File "/usr/lib/python2.6/site-packages/django/forms/forms.py" in is_valid
>   121.         return self.is_bound and not bool(self.errors)
> File "/usr/lib/python2.6/site-packages/django/forms/forms.py" in _get_errors
>   112.             self.full_clean()
> File "/usr/lib/python2.6/site-packages/django/forms/forms.py" in full_clean
>   268.         self._clean_form()
> File "/usr/lib/python2.6/site-packages/django/forms/forms.py" in _clean_form
>   296.             self.cleaned_data = self.clean()
> File "/usr/lib/python2.6/site-packages/baruwa/accounts/forms.py" in clean
>   158.                 del cleaned_data['address']
>  
> Exception Type: KeyError at /accounts/add/domain/7/
> Exception Value: 'address'

I have not seen this one before but i think it may be caused by a domain user 
who has
the super admin set to on.

I will investigate further.

--
www.baruwa.org




_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to