Energy-Visualizer / mexer

Energy Visualizer (Summer 2024)
MIT License
0 stars 0 forks source link

User Account Information Serialization Crashing #36

Closed kenny5033 closed 2 months ago

kenny5033 commented 3 months ago

When a user signs up, occasionally the Pickle dumps() will throw an exception that the progenator number of instance of the class to be pickled is not the same as the actual class. Not sure what is causing this to happen, but some quick searching says that the way the class is imported could cause this error.

kenny5033 commented 3 months ago

Screenshot from 2024-06-20 14-58-47

kenny5033 commented 2 months ago

Fixed by just not serializing an instance of that class and instead using a different data structure to represent user information.