You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to rename the folder in which the files are located.
Windows will possibly remark that the files are currently open (and it is possible to try again to rename the folder).
Restart the python kernel (optionally, only if renaming the folder was not possible).
Retry to rename the file containing folder (windows will now rename the folder).
Spyder will remark that the files have been removed or deleted outside of the editor and will allow to close the files.
Close all files that were opened in Spyder (and were located in the renamed folder).
What is the expected output? What do you see instead?
Spyder should close the file without promting an IndexError.
Please provide any additional information below
File "C:\Users\TheUser\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyder\widgets\editor.py", line 1660, in current_changed
self.current_file_changed.emit(self.data[index].filename,
IndexError: list index out of range
Description
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Spyder should close the file without promting an IndexError.
Please provide any additional information below
File "C:\Users\TheUser\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyder\widgets\editor.py", line 1660, in current_changed
self.current_file_changed.emit(self.data[index].filename,
IndexError: list index out of range
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: