Closed DocHopper closed 9 months ago
A potential fix is available in this commit: https://github.com/Frix-x/klippain-shaketune/commit/a4c2ead732ba7ba5daca371b0856f23e6cb0a834
Let me know if it's working correctly. I'll do some regression test on my side also
Thanks Frix! This seemed to have done the trick! Nice work!
Hi,
I'm writing to let you know about some changes I made to fix issue #13. I went back to the old way of checking when Klipper is done writing the CSV file because the new method implemented to fix your error didn't work well and get the original problem back: sometimes Klipper wasn't finished writing the file when my script started using it, and this made the file unusable (as experienced by the user in #13).
But to not reintroduce your error at the same time, I also added something new to handle permissions errors. This means the script shouldn't crash anymore if it tries to access a filedescriptor your user can't read. Could you try the latest commit and let me know if everything still works fine you?
Thanks for your help with this!
K-Shake&Tune module branch
Version
v1.1.2-0-g6e884528
Describe the bug and expected behavior
When I run any of the calibrations, at the time of plot creation, I get the following messages. They vary based on the type of calibration, but the common thread is the permission denied error.
Additional information and klippy.log
klippy (11).log