On 07/09/2015 06:52 PM, Robert Love wrote:


On Thursday, July 9, 2015 at 8:02:26 AM UTC-5, Adrian Klaver wrote:



    First under Help --> Optional dependencies see what it shows for
    pylint.


It says pylint  1.4.2 (OK)  Static code analysis

So Spyder thinks pylint is of correct version, that's a start.



    Second I would think that 'pip install pylint' would install in the
    system Python not Anaconda. Should you not do 'conda install or update
    pylint'?


OK, I've performed the install that way.   Same results.

Just verifying we are talking apples to apples.




    Third what OS and version and Python version are you using?


Not sure it matters.   I get the same failure on both my Mac (10.10.4)
and my Mint 19 Linux box.   Both have the same recent anaconda suite
with Python 2.7.
BTW, on the Mint box pylint is version 1.44

It provides context and also helps narrow down whether it is an OS specific bug for now and for those folks who wander across this thread in the future.

So onward.

What version of Spyder are you using?
I am on 2.3.3 on openSuse 13.1 and the static analysis works.

What are you trying analyze and where is it?


The error you got:

self.stats['by_module'][self.current_name][msg_cat] += 1

KeyError: None


would seem to indicate information is missing, in that one of the above keys is None.

--
Adrian Klaver
[email protected]

--
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Reply via email to