Projet

Général

Profil

Actions

Anomalie #1567

fermé

CRASH after validation of FILE

Ajouté par Yann Le Jeune il y a plus de 10 ans. Mis à jour il y a plus de 10 ans.

Statut:
Résolu
Priorité:
Immédiat
Assigné à:
Catégorie:
-
Version cible:
Début:
17 décembre 2013
Echéance:
% réalisé:

0%

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

Description

ON http://ishtar-pdl.peacefrogs.net/file_creation/done

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache/2.2.22 (Debian) Server at 192.168.100.204 Port 80

Mis à jour par Yann Le Jeune il y a plus de 10 ans

I tried to reproduce the crash with the same form. This time i get (for the same file) : ValueError at /file_creation/done

Cannot assign 2080 "File.responsible_town_planning_service" must be a "Person" instance.

Request Method: GET

Request URL: http://192.168.100.204/file_creation/done

Django Version: 1.4.5

Exception Type: ValueError

Exception Value:

Cannot assign 2080 "File.responsible_town_planning_service" must be a "Person" instance.

Exception Location: /usr/lib/python2.7/dist-packages/django/db/models/fields/related.py in set, line 366

Python Executable: /usr/bin/python

Python Version: 2.7.3

Python Path:

['/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/pymodules/python2.7',

'/srv/ishtar/',

'/usr/local/lib/',

'/usr/local/lib/']

Server time: mar, 17 Déc 2013 09:36:58 +0100

Traceback Switch to copy-and-paste view

/usr/lib/python2.7/dist-packages/django/core/handlers/base.py in get_response


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


    ...

▶ Local vars

/usr/lib/python2.7/dist-packages/django/views/generic/base.py in view


                return self.dispatch(request, *args, **kwargs)


    ...

▶ Local vars

/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in dispatch


            response = super(WizardView, self).dispatch(request, *args, **kwargs)


    ...

▶ Local vars

/usr/lib/python2.7/dist-packages/django/views/generic/base.py in dispatch


            return handler(request, *args, **kwargs)


    ...

▶ Local vars

/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in get


                ), **kwargs)


    ...

▶ Local vars

/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in render_done


            return super(NamedUrlWizardView, self).render_done(form, **kwargs)


    ...

▶ Local vars

/usr/lib/python2.7/dist-packages/django/contrib/formtools/wizard/views.py in render_done


            done_response = self.done(final_form_list, **kwargs)


    ...

▶ Local vars

/srv/ishtar/archaeological_files/wizards.py in done


                                             **kwargs)


    ...

▶ Local vars

/srv/ishtar/ishtar_common/wizards.py in done


                                   return_object)


    ...

▶ Local vars

/srv/ishtar/ishtar_common/wizards.py in save_model


                obj = self.get_saved_model()(**dct)


    ...

▶ Local vars

/usr/lib/python2.7/dist-packages/django/db/models/base.py in __init__


                    setattr(self, field.name, rel_obj)


    ...

▶ Local vars

/usr/lib/python2.7/dist-packages/django/db/models/fields/related.py in __set__


                                     self.field.name, self.field.rel.to._meta.object_name))


    ...

▶ Local vars  

Mis à jour par Étienne Loks il y a plus de 10 ans

  • Statut changé de Nouveau à Résolu
Actions

Formats disponibles : Atom PDF