Linter stays half-dead on Windows
See original GitHub issuedemo.mp4 No clue how to reproduce, it’s a first; other spyder
instance is running a TensorFlow session. Linter does detect #TODO
and unused imports, but not syntax errors, and code folding fails. Kernel restart, Spyder restart, Anaconda Powershell Prompt restart didn’t help - didn’t try restarting computer, but think it’ll work.
Problems: (reproduced in 4.1.2)
- Syntax error red flag persists after fixing the error1
- Syntax errors no longer detected
- Unused variables no longer detected
- Code folding markers misplaced4
- Code folding folds only partially5
1: This is usually the first ‘symptom’; everything goes downhill from there. The red flags can be dismissed by cut-repasting the entire code in the file.
4:
5:
Issue Analytics
- State:
- Created 4 years ago
- Comments:26 (26 by maintainers)
Top Results From Across the Web
Linter stays half-dead on Windows (again?) · Issue #13302 · spyder ...
The error you reported here is unrelated to the linter staying dead, and it was fixed in 4.1.4. Please wait until it's released...
Read more >Half Dead - PCGamingWiki PCGW
Half Dead. From PCGamingWiki, the wiki about fixing PC games. This page is a stub: it lacks content and/or basic article components.
Read more >Almost Dead Guy - TV Tropes
Heavily wounded and on the verge of death, the Almost Dead Guy manages to stay alive just long enough to answer a question,...
Read more >Code quality rules overview - .NET - Microsoft Learn
A method has conditional code that always evaluates to true or false at run time. This leads to dead code in the false...
Read more >Best PC games to buy 2022: The top games to add to your ...
Whether a game is good or not is often down to personal opinion, but we've crafted this list of fantastic PC games we've...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@OverLordGoldDragon, thanks a lot for giving us a reproducible example!! That’s all we needed!
After hours of debugging I finally found the cause (it was Windows specific). Right now I’m preparing a pull request and the fix will be available in our 4.1.4 version (to be released in mid June).
Thanks for the pointer @OverLordGoldDragon! I confirmed this generates an internal error in Jedi, which probably kills the linter afterwards on Windows (that’s not the case on Linux, which is my main OS).
I’ll test on Windows later on to check if that’s the case.