Comments (9)
Hey @thornomad,
Sorry you're having issues. First SublimeLinter-flake8
should be found in Library/Application Support/Sublime Text 3/Installed Packages, so hopefully you find it in there...
Can you give me the version of SublimeText you are using and the full console output on a fresh start of SublimeText.
from sublimelinter-flake8.
Thanks for getting back to me so quick!
To answer your questions:
- Yes,
SublimeLinter-flake8.sublime-package
is present in~/Library/Application Support/Sublime Text\ 3/Installed Packages
Second, the version reported is:
startup, version: 3083 osx x64 channel: stable
You can see the whole console output here: http://pastebin.com/ZcrWdLBr
But I noticed two things myself:
reloading plugin SublimeLinter-flake8.linter
SublimeLinter: flake8 linter loaded
[...]
SublimeLinter: debug mode: off
SublimeLinter: WARNING: import of flake8.engine module in flake8 failed, linter will not work with python 3 code
And I also I noticed that sublime is searching through all my .tox directories ... not sure if that's cool or not.
Thanks!
from sublimelinter-flake8.
+1
from sublimelinter-flake8.
@thornomad any fix?
from sublimelinter-flake8.
So for me I believe the problem had to do with my python pointing to python3 ... At least I think that's what it was. Sorry. Should have replied when I fixed it.
from sublimelinter-flake8.
So 'which python' pointed to Python 3 or was there a setting within sublime?
Sent from my iPhone
On Wed, Oct 28, 2015 at 12:23 PM, Damon Timm [email protected]
wrote:
So for me I believe the problem had to do with my python pointing to python3 ... At least I think that's what it was. Sorry. Should have replied when I fixed it.
Reply to this email directly or view it on GitHub:
#22 (comment)
from sublimelinter-flake8.
Which Python ... It was a global issue not a sublime based one. I had
gotten screwy by installing multiple versions of Python ...
On Wed, Oct 28, 2015 at 9:24 AM Liam Horne [email protected] wrote:
So 'which python' pointed to Python 3 or was there a setting within
sublime?Sent from my iPhone
On Wed, Oct 28, 2015 at 12:23 PM, Damon Timm [email protected]
wrote:So for me I believe the problem had to do with my python pointing to
python3 ... At least I think that's what it was. Sorry. Should have repliedwhen I fixed it.
Reply to this email directly or view it on GitHub:
—
Reply to this email directly or view it on GitHub
#22 (comment)
.
from sublimelinter-flake8.
The same problem on Linux Mint 17.3
reloading plugin SublimeLinter-flake8.linter
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 78, in reload_plugin
m = importlib.import_module(modulename)
File "./importlib/__init__.py", line 90, in import_module
File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
File "/opt/sublime_text/sublime_plugin.py", line 696, in load_module
exec(compile(source, source_path, 'exec'), mod.__dict__)
File "linter in /home/roman/.config/sublime-text-3/Installed Packages/SublimeLinter-flake8.sublime-package", line 17, in <module>
File "/home/roman/.config/sublime-text-3/Packages/SublimeLinter/lint/linter.py", line 123, in __init__
cls.reinitialize()
File "/home/roman/.config/sublime-text-3/Packages/SublimeLinter/lint/python_linter.py", line 97, in reinitialize
cls.initialize()
File "linter in /home/roman/.config/sublime-text-3/Installed Packages/SublimeLinter-flake8.sublime-package", line 76, in initialize
RuntimeError: super(): empty __class__ cell
which python
references python 2.7, although python3 is installed as well
Sublime Text build 3103
Installing individual sublimelinter-pep8
and sublimelinter-pyflake
works fine
from sublimelinter-flake8.
looks like OP was fixed and pathing issues should be fixed now in v3.0.0
from sublimelinter-flake8.
Related Issues (20)
- recent update triggers ImportError of configparser module HOT 4
- Does not work at all in Sublime 3.1.1 HOT 3
- F401 handling trips on star imports HOT 3
- No linting errors reported but there should be
- Can't find this package in Package control HOT 3
- .flake8 in a subdirectory HOT 4
- can get E,W type errors, but no F type errors HOT 7
- Error: 'selector' is mandatory in 'cls.defaults' HOT 3
- Is --per-file-ignores supported for flake8 >= 3.7.0? HOT 11
- Package not showing in packaging control anymore HOT 1
- Shows E251 for function definitions having type annotations HOT 2
- Args seem to be getting ignored HOT 1
- Extend "E501 line too long" match till end of line HOT 1
- AttributeError: 'int' object has no attribute 'rstrip' HOT 3
- W type errors not showing HOT 1
- SublimeText 4 Support HOT 2
- Using per-file-ignores argument in settings causes an error HOT 4
- TypeError: expected str, bytes or os.PathLike object, not TextIOWrapper. Why extra " -" is being added after `flake8 --format default`? HOT 6
- plugin_host-3.3 has exited unexpectedly HOT 6
- List unpack operator in assignment triggers false positive HOT 2
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 sublimelinter-flake8.