Event table cannot be pickled in Python3 (PySide2) #18

Closed
opened 2021-07-09 15:39:25 +02:00 by marcel · 0 comments
Owner

When trying to save a project with activated event table (opening tab once), it could not be saved anymore.

Workaround: Not saving event table as part of the project object. However, information on test/ref datasets or notes might be lost after loading a saved project. (Done)

Idea for a better, more costly workaround: Extract data of QTableWidgetItems before adding them to the PyLot-project object and unpack when building Event Table.
Or: Add table object to Mainwindow and only add extract data of QTableWidgetItems to project when saving project and extract when loading project. (To do)

When trying to save a project with activated event table (opening tab once), it could not be saved anymore. Workaround: Not saving event table as part of the project object. However, information on test/ref datasets or notes might be lost after loading a saved project. (Done) Idea for a better, more costly workaround: Extract data of QTableWidgetItems before adding them to the PyLot-project object and unpack when building Event Table. Or: Add table object to Mainwindow and only add extract data of QTableWidgetItems to project when saving project and extract when loading project. (To do)
marcel added reference develop 2022-03-21 15:48:57 +01:00
sebastianw added the
incompatibility
label 2023-04-09 22:22:47 +02:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: marcel/pylot#18
No description provided.