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
Hi @ccordoba12 , I finally find the reason why I cannot connect to existing kernel in #23444.
Briefly, the function of the project plugin to open the previous project conflicts with the function of ipythonconsole plugin to connect to the kernel.
In #23444 (comment), I described the process of failing to connect to the kernel. But it's not detailed.
Detailed process
Following the dev guide to config the spyder-dev conda environment.
Start Spyder from source.
python bootstrap.py
Open a project (through menu bar).
Close Spyder.
Start Spyder with --connect-to-kernel kernel-*.json option.
ccordoba12
changed the title
[BUG] Reopen Last Project Conflicts with Connecting to Kernel
Reopen last project command line option conflicts with the new connect to kernel one
Jan 17, 2025
Hi @ccordoba12 , I finally find the reason why I cannot connect to existing kernel in #23444.
Briefly, the function of the project plugin to open the previous project conflicts with the function of ipythonconsole plugin to connect to the kernel.
In #23444 (comment), I described the process of failing to connect to the kernel. But it's not detailed.
Detailed process
spyder-dev
conda environment.--connect-to-kernel kernel-*.json
option.The result: Spyder connects to
kernel-12345
indeed. But then Spyder window flashes and a new kernel is created.Reason
Spyder will reopen last project when start.
spyder/spyder/plugins/projects/plugin.py
Lines 289 to 306 in 1e20d17
The method
reopen_last_project
will flash Spyder.Fix
I have fixed this bug on my computer. I will open a pull request later.
The text was updated successfully, but these errors were encountered: