Anomalie #3114
closedCrash when adding a container (add a new container)
0%
Description
Seen on Paleosystem up-to-date today (git)
TypeError at /new-container/0/
init() got an unexpected keyword argument 'limits'
Request Method: GET
Request URL: http://ishtar-nhi.paleosystem.fr/new-container/0/
Django Version: 1.4.5
Exception Type: TypeError
Exception Value:
init() got an unexpected keyword argument 'limits'
Exception Location: /srv/ishtar-NHI/ishtar/archaeological_warehouse/forms.py in init, line 102
Python Executable: /usr/bin/uwsgi-core
Python Version: 2.7.3
Python Path:
['/srv/ishtar-NHI/ishtar/',
'.',
'',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/python2.7/dist-packages/gtk-2.0',
'/usr/lib/pymodules/python2.7']
Server time: dim, 5 Jui 2016 12:31:02 +0200
Environment:
Request Method: GET
Request URL: http://ishtar-nhi.paleosystem.fr/new-container/0/
Django Version: 1.4.5
Python Version: 2.7.3
Installed Applications:
['django.contrib.auth',
'django.contrib.admin',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.gis',
'django.contrib.staticfiles',
'django.contrib.formtools',
'django.contrib.messages',
'south',
'registration',
'ishtar_pdl',
'ishtar_common',
'archaeological_files_pdl',
'archaeological_files',
'archaeological_operations',
'archaeological_context_records',
'archaeological_warehouse',
'archaeological_finds']
Installed Middleware:
['django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.locale.LocaleMiddleware']
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
- response = callback(request, *callback_args, **callback_kwargs)
File "/srv/ishtar-NHI/ishtar/ishtar_common/views.py" in func
- dct['form'] = frm(limits=limits)
File "/srv/ishtar-NHI/ishtar/archaeological_warehouse/forms.py" in init
- super(ContainerForm, self).init(*args, **kwargs)
Exception Type: TypeError at /new-container/0/
Exception Value: init() got an unexpected keyword argument 'limits'