Comments (7)
Have you installed pylint? You can find it at http://www.pylint.org/
If you have installed it, what method did you use and what version? A clear error message if pylint isn't present wouldn't hurt either.
from pylinter.
I'm getting the same. pylint installed with pacman: https://www.archlinux.org/packages/extra/any/python-pylint/
reloading plugin Pylinter.pylinter
Traceback (most recent call last):
File "/opt/sublime_text_3/sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 869, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "/home/gcl/.config/sublime-text-3/Packages/Pylinter/pylinter.py", line 78, in <module>
if PYLINT_VERSION[0] == 0:
IndexError: tuple index out of range
pylint --version
No config file found, using default configuration
pylint 1.0.0,
astroid 1.0.0, common 0.60.0
Python 3.3.2 (default, May 21 2013, 15:40:45)
[GCC 4.8.0 20130502 (prerelease)]
Also, after commenting out lines 49-75 in pylinter.py, I get the following when running the plugin:
Traceback (most recent call last):
File "/opt/sublime_text_3/sublime_plugin.py", line 549, in run_
return self.run(edit)
File "/home/gcl/.config/sublime-text-3/Packages/Pylinter/pylinter.py", line 144, in run
settings = self._read_settings()
File "/home/gcl/.config/sublime-text-3/Packages/Pylinter/pylinter.py", line 178, in _read_settings
python_path = PATH_SEPERATOR.join([str(p) for p in python_path])
TypeError: 'NoneType' object is not iterable
from pylinter.
I just pushed a new version. The problem should be gone. Please let me know if there are any more problems.
Thank you for your feedback!
from pylinter.
Sorry for reopening, but I think this is related bug in latest release
Traceback (most recent call last):
File "/opt/sublime_text_3/sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 869, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "/home/sputnikus/.config/sublime-text-3/Packages/Pylinter/pylinter.py", line 154, in <module>
PYLINT_VERSION = PylSet.get_lint_version()
File "/home/sputnikus/.config/sublime-text-3/Packages/Pylinter/pylinter.py", line 145, in get_lint_version
os.path.dirname(PylSet.get_lint_path()),
File "X/posixpath.py", line 151, in dirname
AttributeError: 'NoneType' object has no attribute 'rfind'
from pylinter.
Hmm, I can't reproduce this on Ubuntu. Could you please make sure that the latest version of the Pylinter plugin is installed. If the problem remains, please set the following in pylinter.py
: PYLINTER_VERBOSE = True
and paste the console output here.
from pylinter.
Pylinter doesn't want to use my configs and insists on getting pylint path on it's own. I've made you a pull request #28
from pylinter.
Thanks @sputnikus!
from pylinter.
Related Issues (20)
- pylint with plugins error: NoSuchChecker HOT 2
- UnicodeDecode when source not ASCII only HOT 1
- pylint run on save doesn't work after latest upgrade HOT 7
- Pylint not showing errors in sublime 3 HOT 19
- Pylinter Overwrites Built-In Key Binding HOT 2
- `UnboundLocalError` while searching for lint.py HOT 1
- UnicodeEncodeError: 'ascii' codec can't encode characters in position 163-164 HOT 2
- Can't find '__main__' module in '' HOT 1
- Problems with error messages containing non-ASCII HOT 4
- When save, a message box alert, Distribution not found HOT 1
- Icons become black HOT 2
- Choosing how to list error messages
- Fatal pylint error: ValueError: Attempted relative import in non-package
- Not working with multiple views into same file.
- extra arguments functionality broken during a past merge and never fully restored
- update extra_pylint_args setting for list input
- Show the most severe message in status line and icon
- TypeError: 'NoneType' object is not subscriptable HOT 3
- An Error from pylinter — cannot import moudle name "exceptions" HOT 1
- When adding pylint disable, use symbolic name instead of code
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pylinter.