jrfonseca/xdot.py

View stops updating after file is found missing

liujed opened this issue · 0 comments

During an update poll, if the file is found to be missing (e.g., it is being rewritten by an editor), a stack trace is produced, and the window stops updating.

Traceback (most recent call last):
 File "/usr/lib/python3.8/site-packages/xdot/ui/window.py", line 171, in update
   current_mtime = os.stat(self.openfilename).st_mtime
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/test.dot'