Project

General

Profile

Bug #66923

erreur pickle à la sauvegarde d'une session : Can't pickle <class 'wcs.carddef._wcs_Djs-Famille-Team13'>: it's not the same object as wcs.carddef._wcs_Djs-Famille-Team13

Added by Benjamin Dauvergne 7 months ago. Updated 7 months ago.

Status:
Information nécessaire
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
04 July 2022
Due date:
% Done:

0%

Estimated time:
Patch proposed:
No
Planning:
No

Description

https://sentry.entrouvert.org/entrouvert/gplexpert/issues/61812/

PicklingError: Can't pickle <class 'wcs.carddef._wcs_Djs-Famille-Team13'>: it's not the same object as wcs.carddef._wcs_Djs-Famille-Team13
  File "django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "django/utils/deprecation.py", line 96, in __call__
    response = self.process_response(request, response)
  File "wcs/middleware.py", line 99, in process_response
    pub.session_manager.finish_successful_request()
  File "quixote/session.py", line 392, in finish_successful_request
    self.maintain_session(session)
  File "quixote/session.py", line 299, in maintain_session
    self[session.id] = session
  File "wcs/qommon/sessions.py", line 398, in __setitem__
    session.store()
  File "wcs/sql.py", line 616, in f
    return func(*args, **kwargs)
  File "wcs/sql.py", line 3283, in store
    'session_data': bytearray(pickle.dumps(self.__dict__, protocol=2)),

Related issues

Related to w.c.s. - Bug #60611: Donnée calculée associée à une source de données, prefill avec une liste de valeursSolution proposée13 January 2022

Actions

History

#1

Updated by Frédéric Péters 7 months ago

  • Status changed from Nouveau to Information nécessaire

Se renseigner sur ce qu'il est essayé de faire, juger si on doit permettre ça ou pas.

#2

Updated by Lauréline Guérin 7 months ago

  • Related to Bug #60611: Donnée calculée associée à une source de données, prefill avec une liste de valeurs added

Also available in: Atom PDF