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
Edit two python files in a single window.
Right click the tab for one of them and select New window.
Now there are two windows, both showing both files.
In the new window, close one file. It disappears from both.
In the new window, close the second file. The error which led me this dialog occurs.
Now both windows have an untitled[n] file which wasn't there before.
What I really wanted was one file in each window, but even if I did that incorrectly, this should not happen.
Traceback
Traceback (most recent call last):
File "C:\Program Files\Spyder\pkgs\spyder\plugins\editor\plugin.py", line 2679, in current_file_changed
cursor =self.get_current_editor().textCursor()
AttributeError: 'NoneType' object has no attribute 'textCursor'
Traceback (most recent call last):
File "C:\Program Files\Spyder\pkgs\spyder\plugins\editor\plugin.py", line 2679, in current_file_changed
cursor =self.get_current_editor().textCursor()
AttributeError: 'NoneType' object has no attribute 'textCursor'
Traceback (most recent call last):
File "C:\Program Files\Spyder\pkgs\spyder\plugins\editor\plugin.py", line 2697, in current_editor_cursor_changed
filename = code_editor.filename
AttributeError: 'NoneType' object has no attribute 'filename'
Traceback (most recent call last):
File "C:\Program Files\Spyder\pkgs\spyder\plugins\editor\plugin.py", line 2679, in current_file_changed
cursor =self.get_current_editor().textCursor()
AttributeError: 'NoneType' object has no attribute 'textCursor'
Traceback (most recent call last):
File "C:\Program Files\Spyder\pkgs\spyder\plugins\editor\plugin.py", line 2679, in current_file_changed
cursor =self.get_current_editor().textCursor()
AttributeError: 'NoneType' object has no attribute 'textCursor'
Traceback (most recent call last):
File "C:\Program Files\Spyder\pkgs\spyder\plugins\editor\plugin.py", line 2697, in current_editor_cursor_changed
filename = code_editor.filename
AttributeError: 'NoneType' object has no attribute 'filename'
ccordoba12
changed the title
Internal problem after closing both files in a window
AttributeError after closing all files in a new editor window
Mar 8, 2023
Description
What steps will reproduce the problem?
Edit two python files in a single window.
Right click the tab for one of them and select New window.
Now there are two windows, both showing both files.
In the new window, close one file. It disappears from both.
In the new window, close the second file. The error which led me this dialog occurs.
Now both windows have an untitled[n] file which wasn't there before.
What I really wanted was one file in each window, but even if I did that incorrectly, this should not happen.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: