IndexError in Code Analysis prevents Spyder from getting launched
See original GitHub issueIssue Report Checklist
- Searched the issues page for similar reports
- Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
- Reproduced the issue after updating with
conda update spyder(orpip, if not using Anaconda) - Could not reproduce inside
jupyter qtconsole(if console-related) - Tried basic troubleshooting (if a bug/error)
- Restarted Spyder
- Reset preferences with
spyder --reset - Reinstalled the latest version of Anaconda
- Tried the other applicable steps from the Troubleshooting Guide
- Completed the Problem Description, Steps to Reproduce and Version sections below
Problem Description
On launching Spyder, I get error as mentioned below:
What steps reproduce the problem?
- launch Spyder
What is the expected output? What do you see instead?
Spyder IDE not getting launched
Paste Traceback/Error Below (if applicable)
Traceback (most recent call last):
File "C:\Users\uidn7351\AppData\Local\Continuum\anaconda3\Scripts\spyder-script.py", line 10, in
sys.exit(main())
File "C:\Users\uidn7351\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\app\start.py", line 205, in main
mainwindow.main()
File "C:\Users\uidn7351\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3763, in main
mainwindow = run_spyder(app, options, args)
File "C:\Users\uidn7351\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3638, in run_spyder
main.setup()
File "C:\Users\uidn7351\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 984, in setup
plugin = module.PLUGIN_CLASS(self)
File "C:\Users\uidn7351\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\plugins\pylint\plugin.py", line 56, in __init__
self.pylint = PylintWidget(self, max_entries=max_entries,
File "C:\Users\uidn7351\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\plugins\pylint\widgets\pylintgui.py", line 252, in __init__
self.set_filename(f)
File "C:\Users\uidn7351\AppData\Local\Continuum\anaconda3\lib\site-packages\spyder\plugins\pylint\widgets\pylintgui.py", line 279, in set_filename
self.curr_filenames.pop(index)
IndexError: pop index out of range
Versions
- Spyder version:
- Python version:
- Qt version:
- PyQt version:
- Operating System name/version: As I am unable to launch Spyder, please let me know how to get these details.
Dependencies
As I am unable to launch Spyder, please let me know how to get these details.
NOTE: Today I upgraded Spyder and few other modules. Since then there is this issue.
Issue Analytics
- State:
- Created 3 years ago
- Comments:14 (4 by maintainers)
Top Results From Across the Web
How to turn on/off code analysis features in Spyder 4
I get false warnings every time I rename a variable. It flags me that "old variable name" is assigned to but never use....
Read more >Python Intro for Libraries
Objectives. Learners can launch the Spyder IDE. Learners are able to use the IPython console to interact with Python. Learners are able to...
Read more >spyder-ide/public - Gitter
In Spyder 4, you can undock the Variable Explorer (or any Spyder pane) to be a separate, Alt-Tabbable window, and any sub-windows opened...
Read more >Python Tutorial - Getting Started with Python and Python Basics
The drawback is that you have to hard code the path to the Python Interpreter, which may prevent the program from being portable...
Read more >How to fix 'Sys.argv [1], indexerror: list index out of range ...
It means that the integer value being used to index the list is either too large or too small. For instance if you...
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

To all people that have posted here: please close Spyder, open the Anaconda Prompt, run there
and try again.
My problem is that I reverted back to Spyder 4.1.3. My Anaconda will not allow any upgrade to 4.1.4 so that I can try the suggested workarounds. It tells me there is an upgrade available but when run it just finishes without upgrading to 4.1.4.