Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

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

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

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

Bengt opened this issue Jun 17, 2014 · 4 comments
Labels

Comments

@Bengt
Copy link

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
Copy link

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
Copy link

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

@jaanauati
Copy link

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-
Copy link

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 added a commit that referenced this issue Jun 24, 2014
Now using getCmdAndArgs. Fixes #4
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants