Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tries to open emacs locks #367

Open
pylint-bot opened this issue Nov 3, 2014 · 0 comments
Open

tries to open emacs locks #367

pylint-bot opened this issue Nov 3, 2014 · 0 comments
Labels

Comments

@pylint-bot
Copy link
Owner

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:

When a file is modified but not saved in emacs, some sort of
dangling-symlink lockfile is created:

 .#HexBoard.py -> username@hostname.domain.tld.9285:1262073654

This confuses pylint:

************* Module Omaha.Boards..#HexBoard
F0002:  1: <class 'logilab.astng._exceptions.ASTNGBuildingException'>: Unable to load module Omaha.Boards..#HexBoard (No module named #HexBoard)


I suppose it would be enough to just ignore dotfiles, I guess they
would make invalid python module names anyway.  Similarly, the #
character is most probaby forbidden here as well - all in all, pylint
should probably ignore such files as impossible to properly use from
python, and possibly issue a warning about their presence.
> > Is this still happening with the latest version of pylint in sid?

The problem still happens today:

************* Module Omaha.Games.abstract..#PlayerPools
F:  1, 0: error while code parsing: Unable to load file '/work/yann/games/omaha2/Omaha/Games/abstract/.#PlayerPools.py' ([Errno 2] No such file or directory: '/work/yann/games/omaha2/Omaha/Games/abstract/.#PlayerPools.py') (parse-error)

@pylint-bot pylint-bot added the bug label Dec 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant