-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
terminal server not starting with python>=3.10 #331
Comments
Hey @briswi, thanks for reporting. We'll check why Spyder-terminal is not working for Python 3.10 in the coming months. In the meantime, please use it with Python 3.9. |
Similar but different. Just installed Spyder 5.3.3. Notebook is fixed--yay! Terminal is broken--boo!
When I start spyder the Terminal pane is just blank. If I then create a new terminal, the pane populates for a few seconds, and then also goes blank. So, it's like it's trying to start and then fails or hangs. |
@dalthviz, could you check if Spyder-terminal is working for you using the env configuration mentioned by @dkinneyBU? |
I was able to run the terminal normally (although indeed when starting Spyder you can see it as a blank pane, which I think is related with #327). Just in case, this is the env
A preview of what I'm seeing: |
I completely uninstalled anaconda, and re-installed mini-conda, which packages Python 3.9.12, and I have the same results. @dalthviz you mentioned that it starts as a blank pane for you as well. What did you do to "wake it up"? I also tried with both Powershell and Cmd--the results are the same. |
@dkinneyBU I just wait for a bit and then the Terminal shows itself (I think the blank pane happens when the Terminal is still loading). Could it be possible for you to start Spyder on debug mode and share the generated log? Maybe by cheking it we could determine the error happening when starting the Terminal in your case. To generated the debug log output, run Spyder from an Anaconda prompt using the |
Yeah, I can wait for an hour and it never starts up. :-( I think I attached the log; if that didn't work let me know and I'll copy & paste. thank you for the prompt assistance, I appreciate it! |
My machine experiencing this issue is showing Python 3.10.6 in the Console. On a whim, I went through the same install process on my gaming laptop (both machines are running Windows 11). Terminal is working on that install, but this one is showing 3.9.12. So, looks like this is likely a Python 3.10 thing, as the original issue logger stated. A little later today I will downgrade Python on my main machine to see if the issue goes away. |
@dalthviz-- Uncaught ReferenceError: spyder_terminal is not defined |
Don't worry, that's a harmless message. |
After checking the debug log I'm seeing a couple of things that could be worthy to investigate:
Also, what happens if you try to access the url where the terminal server technically starts? I think it should be something like http://127.0.0.1:8071/ |
Hey sorry for the delay, it was a crazy week for me. @dalthviz so that's interesting. If I hit that url the terminal works fine. So, just not working within Spyder??? Or maybe it's "working" but just not displaying correctly in the pane? Also, in regards to the urllib3 message, I have the same version installed that you do, based on your |
Thanks for the feedback @dkinneyBU ! And then seems like for some reason the Terminal GUI is not able to stablish a connection with the started Terminal server which I guess is related with the Also, just in case checked creating a new env with the conda-forge and Python 3.10.6 but is working for me 🤔 Env details:
However, I noticed something. If I launch Spyder from an Anaconda prompt I got the env name on the terminal, but if I run from the shortcut on the Start menu I got a terminal without that information: From Anaconda prompt: From Start menu shortcut: Could it be that the envs where you are trying to use Spyder terminal you are mixing conda-channels? Could you compare the env details with your envs to see if there is any difference maybe related with packages like |
Description of your problem
This is similar to an already open issue (#325). Submitting new issue as it is occurring for different versions and main components.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The spyder-terminal window appears within the spyder app, but there is no command prompt. After closing spyder, error message "The server that creates terminals failed to start." appears.
Please provide any additional information below
As suggested by @steff456 in issue 325, I also created a new conda environment with python=3.9 and the error does not recur. However, the error message is occurring in any environment with python>=3.10, and the terminal window appears within spyder, but there is no prompt.
I start spyder from bash shell.
Within environment with python=3.9.13, spyder starts and the spyder-terminal seems to be working properly. However, I see this (in the terminal that I started spyder from):
The first line of that readout,
fromIccProfile: failed minimal tag size sanity
, also occurs when starting spyder in a conda environment without spyder-terminal installed (but still with python=3.9.13).In any environment with python>=3.10, there is no message on the terminal output regardless of whether spyder-terminal is installed or not.
Versions and main components
spyder_terminal_out.log
spyder_terminal_err.log
The text was updated successfully, but these errors were encountered: