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

Uncaught TypeError: Object #<LinterPylint> has no method 'getCmd' #4

Closed
Bengt opened this Issue Jun 17, 2014 · 4 comments

Comments

Projects
None yet
6 participants
@Bengt

Bengt commented Jun 17, 2014

I just installed linter-pylint and I get this error every time I make a change to a .py-file:

Uncaught TypeError: Object #<LinterPylint> has no method 'getCmd' linter-pylint.coffee:35
LinterPylint.lintFile linter-pylint.coffee:35
(anonymous function) linter-pylint.coffee:1
(anonymous function) linter-view.coffee:133
(anonymous function) fs.js:97

I already tried reinstalling the linter and linter-pylint package, but that did not help.

$ atom --version
0.101.0-7be8bd7
@techdragon

This comment has been minimized.

Show comment
Hide comment
@techdragon

techdragon Jun 22, 2014

I also get this error. I know its something in atom, linter, or linter-pylint. Since pylint works fine when invoked from the command line and from a properly configured copy of sublime text.

techdragon commented Jun 22, 2014

I also get this error. I know its something in atom, linter, or linter-pylint. Since pylint works fine when invoked from the command line and from a properly configured copy of sublime text.

@msbentley

This comment has been minimized.

Show comment
Hide comment
@msbentley

msbentley Jun 23, 2014

I'm also seeing the same error parsing python on ubuntu 14.04, atom 0.104.0-2c7d01e.

msbentley commented Jun 23, 2014

I'm also seeing the same error parsing python on ubuntu 14.04, atom 0.104.0-2c7d01e.

@jaanauati

This comment has been minimized.

Show comment
Hide comment
@jaanauati

jaanauati Jun 23, 2014

Same problem.

It seems to be an incompatibility with last version of atom-linter.

I downgraded to 0.4.9, and all is working out fine:

apm install linter@0.4.9

Regards.

jaanauati commented Jun 23, 2014

Same problem.

It seems to be an incompatibility with last version of atom-linter.

I downgraded to 0.4.9, and all is working out fine:

apm install linter@0.4.9

Regards.

@Argon-

This comment has been minimized.

Show comment
Hide comment
@Argon-

Argon- Jun 23, 2014

Well, that's not a real fix. :p
Here's the problem: steelbrain/linter@676ca5f#diff-8bbae72b6288a0263998cd68a1086738L51
They replaced getCmd with getCmdAndArgs and linter-pylint should've received an updated to accommodate.

Argon- commented Jun 23, 2014

Well, that's not a real fix. :p
Here's the problem: steelbrain/linter@676ca5f#diff-8bbae72b6288a0263998cd68a1086738L51
They replaced getCmd with getCmdAndArgs and linter-pylint should've received an updated to accommodate.

@hd-deman hd-deman closed this in 8e0263a Jun 24, 2014

hd-deman added a commit that referenced this issue Jun 24, 2014

Merge pull request #5 from sebdah/custom-path
Now using getCmdAndArgs. Fixes #4

@Arcanemagus Arcanemagus added the bug label Mar 29, 2017

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