-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
tries to open emacs locks #367
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Closing this. I am not sure how to even reproduce this. I installed emacs, did some fiddling around, noticed some lock files being generated, although they were skipped as well, since their format was something of |
FWIW I'm getting this from time to time as well and find it quite annoying - unfortunately no idea how to reproduce it. |
If you can find a way, don't hesitate to reopen it. |
This just happened again while having a file open in emacs while running pylint over it. Looks like emacs has some kind of broken symlink for whatever reason:
And pylint chokes on it:
I can reproduce it by doing (on Linux)
I guess pylint should either ignore broken symlinks entirely, or maybe at least ignore broken symlinks named |
It looks like it may be worked around by modifying On the other hand, it's quite unclear to me why should we introduce any workarounds for bugs in other software. |
@sandrotosi Sorry for you pinging you again There are no active maintainers/contributors that use emacs (as far as I know) so this is becoming a very stale issue at this point. Do you know if the suggestion of handling broking sym links would fix this issue? If so, I can try and make a PR for it. |
I'm afraid i have no more information than the one provided when opening this ticket (there may be relevant updates at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563000): i dont use emacs and i was just forwarding this bug from a Debian user |
@DanielNoord those symlinks are emacs lock files, basically guaranteed to be dangling and always prefixed with |
This can be fixed in past pylint version by defining [MASTER]
ignore-patterns=^\.# |
* Fix 'path' shadowing variable from outer scope * Ignore file that starts like emacs's file lock Closes #367 Co-authored-by: Daniël van Noord <13665637+DanielNoord@users.noreply.github.com>
~~Based on branch for PR pylint-dev#500 -- I will rebase after that PR merges.~~ Closes pylint-dev#367. Supersedes PR pylint-dev#497.
Originally reported by: BitBucket: sandrotosi, GitHub: @sandrotosi?
Hello,
this is bug http://www.logilab.org/19517 and https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=563000 which is still happening:
The text was updated successfully, but these errors were encountered: