Anomalie #2918
ferméFILE ADD (new features) : Crash after the programmed archaeology panel
0%
Description
TypeError at /file_creation/instruction-file_creation
int() argument must be a string or a number, not 'NoneType'
Request Method: GET
Request URL: http://ishtar-test.proxience.net/file_creation/instruction-file_creation
Django Version: 1.4.5
Exception Type: TypeError
Exception Value:
int() argument must be a string or a number, not 'NoneType'
Exception Location: /srv/ishtar-ctest/ishtar/archaeological_files_pdl/wizards.py in get_saisine_type, line 62
Python Executable: /usr/bin/uwsgi-core
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
- response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view
- return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in dispatch
- response = super(WizardView, self).dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
- return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in get
- files=self.storage.current_step_files,
File "/srv/ishtar-ctest/ishtar/archaeological_operations/wizards.py" in get_form
- form = super(OperationWizard, self).get_form(step, data, files)
File "/srv/ishtar-ctest/ishtar/ishtar_common/wizards.py" in get_form
- form = super(Wizard, self).get_form(step, data, files)
File "/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py" in get_form
- kwargs = self.get_form_kwargs(step)
File "/srv/ishtar-ctest/ishtar/archaeological_files_pdl/wizards.py" in get_form_kwargs
- returned['saisine_type'] = self.get_saisine_type()
File "/srv/ishtar-ctest/ishtar/archaeological_files_pdl/wizards.py" in get_saisine_type
- 'preventivetype-' + self.url_name, 'saisine_type'))
Exception Type: TypeError at /file_creation/instruction-file_creation
Exception Value: int() argument must be a string or a number, not 'NoneType'