GithubHelp home page GithubHelp logo

Comments (9)

groteworld avatar groteworld commented on August 20, 2024

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.

thornomad avatar thornomad commented on August 20, 2024

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.

snario avatar snario commented on August 20, 2024

+1

from sublimelinter-flake8.

snario avatar snario commented on August 20, 2024

@thornomad any fix?

from sublimelinter-flake8.

thornomad avatar thornomad commented on August 20, 2024

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.

snario avatar snario commented on August 20, 2024

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.

thornomad avatar thornomad commented on August 20, 2024

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 replied

when I fixed it.

Reply to this email directly or view it on GitHub:

#22 (comment)


Reply to this email directly or view it on GitHub
#22 (comment)
.

from sublimelinter-flake8.

romanlv avatar romanlv commented on August 20, 2024

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.

groteworld avatar groteworld commented on August 20, 2024

looks like OP was fixed and pathing issues should be fixed now in v3.0.0

from sublimelinter-flake8.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.