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

Pylint "go to line" does not work with the additional dot in filename #1179

Closed
spyder-bot opened this issue Feb 17, 2015 · 4 comments
Closed

Comments

@spyder-bot
Copy link
Collaborator

From wenzesl...@gmail.com on 2012-10-25T10:11:26Z

Spyder Version: 2.1.11
Python Version: 2.6.5
Qt Version: 4.6.2, PyQt4 (API v2) 4.7.2 on Linux
OS: Ubuntu 10.04

What steps will reproduce the problem?

  1. Create some file with file name containing more than one the dot (e.g. examlple.1.py)
    1. Fill it with any Python code, e.g.:

def main():
print "world"

print "Hello"
main()

  1. Run Pylint analysis
  2. Browse issues
  3. Double click on the issue

What is the expected output?

That editor will focus on the line with issue.

What do you see instead?

Nothing happens without any error message.

Additional information:
Everything is working if you use file name with only one dot, like no_dot.py. But it is not working with the name changed to has.dot.py.

Dots in directory names are ok.

Unfortunately, I have to use dots in file names, I can not use different naming convention. So the usability goes down a little bit for me.

By the way, enhancement related to this would be to use single click in the list to unfold items and to focus to the source code. It is much more comfortable to me just use single click. (Of course this should be the same for all widgets and Outline already has this single click behavior.)

Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1179

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2012-10-26T08:11:04Z

Thanks for reporting. I can reproduce your error and we'll try to fix it for the next version (2.2).

Regarding your enhancement suggestion, please open a new issue to not talk about two different things in the same one.

Summary: Pytlint "go to line" does not work with the additional dot in filename
Status: Accepted
Labels: MS-v2.2 Cat-Pylint

@spyder-bot
Copy link
Collaborator Author

From pierre.raybaut on 2012-11-04T04:56:11Z

This issue was updated by revision 8ee5045d98c4 .

Status: Fixed

@spyder-bot
Copy link
Collaborator Author

From wenzesl...@gmail.com on 2012-11-04T05:26:36Z

Great, I've manually changed the file pylintgui.py (I have pip installation) and now it works. Thanks.

@spyder-bot
Copy link
Collaborator Author

From ccordoba12 on 2013-02-04T09:16:52Z

Summary: Pylint "go to line" does not work with the additional dot in filename (was: Pytlint "go to line" does not work with the additional dot in filename)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant