Printrun icon indicating copy to clipboard operation
Printrun copied to clipboard

Config file error

Open simongcx opened this issue 4 years ago • 1 comments

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?

simongcx avatar May 31 '20 21:05 simongcx

I agree with you here. That error should be properly handled.

rockstorm101 avatar Jun 02 '20 18:06 rockstorm101