Projet

Général

Profil

Actions

Anomalie #3114

fermé

Crash when adding a container (add a new container)

Ajouté par Yann Le Jeune il y a presque 8 ans. Mis à jour il y a presque 8 ans.

Statut:
Résolu
Priorité:
Immédiat
Assigné à:
Catégorie:
-
Version cible:
Début:
05 juin 2016
Echéance:
% réalisé:

0%

Temps estimé:
Élément(s):
Difficulté:

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

  1. response = callback(request, *callback_args, **callback_kwargs)

File "/srv/ishtar-NHI/ishtar/ishtar_common/views.py" in func

  1. dct['form'] = frm(limits=limits)

File "/srv/ishtar-NHI/ishtar/archaeological_warehouse/forms.py" in init

  1. super(ContainerForm, self).init(*args, **kwargs)

Exception Type: TypeError at /new-container/0/

Exception Value: init() got an unexpected keyword argument 'limits'

Mis à jour par Étienne Loks il y a presque 8 ans

  • Statut changé de Nouveau à Résolu

Already fixed on the warehouse test branch (master-warehouse). Should be soon in the main branch.

Actions

Formats disponibles : Atom PDF