Printrun
Printrun copied to clipboard
Config file error
I have been using Pronterface on Ubuntu 18.04 (the version available through apt-get). I had a powercut and had a few harddisk errors to sort out on my machine. It seems at the same time it corrupted the Printrun/Pronterface config file. This is not a problem because there's a backup in the same folder. But, it took a bit of figuring out to work out that that was the problem. i.e. reading the Python stack trace. It was a codecs error in parsing the file - the error isn't handled. Might be worth putting some error handling in there? Perhaps a UI notification to let users know of a failure in loading the config file, and prompt to restore backup?
I agree with you here. That error should be properly handled.