Closed Prillan closed 4 years ago
That's interesting. Thanks for the report, I'll see what I can find.
@Prillan - does it happen even when you specify a pattern (one that doesn't match the lock file)?
It does. Minimal example:
$ ln -s /invalid/link link
$ sos -p very_random_pattern
Hit Ctrl+C to quit.
sos: /tmp/test/link: getFileStatus: does not exist (No such file or directory)
This looks like an fsnotify
bug
@schell Can I get commit access to the repo?
You should be good to go, @mitchellwrosen - thanks 👍
I'm on spacemacs now and this isn't happening. Methinks it's fixed?
Try starting sos after emacs.
$ emacs asdf &
Thanks for the update @Prillan. Temporarily can you use a pattern that excludes those files? Something like ^[#]*otherstuff$
?
I haven't needed to use the program for some time, so I'm fine for now.
This doesn't crash for me, I see changes to these artifacts proc'ing if they are not excluded, which is expected.
This only happens if you start sos
in a directory where one of these files exists. If sos
is started before that and then emacs creates the lock file, everything is business as usual.
While editing a file, emacs creates a lock file (symbolic link) of the form
.#filename → user@host.pid:timestamp
(not sure if it's a real timestamp or not).While checking file status on files in the target directory,
sos
crashes with the following message:Steps to reproduce:
Create an invalid link.
Run
sos