SeanIFitch / Icarus_v2

Monitoring software for the Icarus NMR pressure jump apparatus
MIT License
0 stars 0 forks source link

Handle log file being deleted while being read #53

Closed SeanIFitch closed 1 month ago

SeanIFitch commented 3 months ago

Traceback (most recent call last): File "/home/seanf/Icarus_v2/src/MainWindow.py", line 220, in closeEvent File "/home/seanf/Icarus_v2/src/DataHandler.py", line 170, in quit self.period_handler.last_depressurize_bit = None File "/home/seanf/Icarus_v2/src/Logger.py", line 62, in close os.remove(self.filename) FileNotFoundError: [Errno 2] No such file or directory: '/home/seanf/Icarus_v2/src/../logs/temp/log_2024-05-22_21-40-19.xz' QThread: Destroyed while thread is still running Aborted (core dumped)

SeanIFitch commented 1 month ago

ed7110d