Open mekarpeles opened 11 years ago
Actual error is with analytics decorator (when its recording data, has a file handler open and then crashes mid write). The error thrown is cPickle.PicklingError -- should be handled more gracefully in lazydb. Logging + error handling in @track decorator should also be updated
Adding logging via waltz.log() to the track decorator in waltz.decorators to learn more.
In the event of an unclean shutdown / termination of the server, sometimes the analytics key within the waltz lazydb is left in a bad state. The solution is to rollback / remove the last analytics entry added to db (or optionally just db.put('analytics', []) if you don't care about the data.