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
when I undock the console window, I pressed the configuring window layout by default. And then the error came up!
After that I cannot set the default layout..
Traceback
Traceback (most recent call last):
File "C:\Users\lee\AppData\Local\spyder-6\envs\spyder-runtime\Lib\site-packages\spyder\plugins\workingdirectory\plugin.py", line 78, in <lambda>lambdapath, plugin=None: self.chdir(path, plugin))
^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\lee\AppData\Local\spyder-6\envs\spyder-runtime\Lib\site-packages\spyder\plugins\workingdirectory\plugin.py", line 184, in chdir
ipyconsole.set_current_client_working_directory(directory)
File "C:\Users\lee\AppData\Local\spyder-6\envs\spyder-runtime\Lib\site-packages\spyder\plugins\ipythonconsole\plugin.py", line 955, in set_current_client_working_directoryself.get_widget().set_current_client_working_directory(directory)
File "C:\Users\lee\AppData\Local\spyder-6\envs\spyder-runtime\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 2438, in set_current_client_working_directory
shellwidget =self.get_current_shellwidget()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\lee\AppData\Local\spyder-6\envs\spyder-runtime\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 1671, in get_current_shellwidget
client =self.get_current_client()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\lee\AppData\Local\spyder-6\envs\spyder-runtime\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 1665, in get_current_client
client =self.tabwidget.currentWidget()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^RuntimeError: wrapped C/C++ object of type Tabs has been deleted
Traceback (most recent call last):
File "C:\Users\lee\AppData\Local\spyder-6\envs\spyder-runtime\Lib\site-packages\spyder\plugins\ipythonconsole\plugin.py", line 955, in set_current_client_working_directoryself.get_widget().set_current_client_working_directory(directory)
File "C:\Users\lee\AppData\Local\spyder-6\envs\spyder-runtime\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 2438, in set_current_client_working_directory
shellwidget =self.get_current_shellwidget()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\lee\AppData\Local\spyder-6\envs\spyder-runtime\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 1671, in get_current_shellwidget
client =self.get_current_client()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\lee\AppData\Local\spyder-6\envs\spyder-runtime\Lib\site-packages\spyder\plugins\ipythonconsole\widgets\main_widget.py", line 1665, in get_current_client
client =self.tabwidget.currentWidget()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^RuntimeError: wrapped C/C++ object of type Tabs has been deleted
Hey @LVZER0, thanks for reporting and the clear instructions to reproduce this problem. With them I was able to verify that indeed it's present in Spyder.
We'll fix it in our 6.0.2 version, to be released in a couple of weeks.
ccordoba12
changed the title
configuring window layout
RuntimeError when setting a layout and the IPython console is undocked
Sep 27, 2024
Description
What steps will reproduce the problem?
when I undock the console window, I pressed the configuring window layout by default. And then the error came up!
After that I cannot set the default layout..
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: