Skip to content

terminal server not starting with python>=3.10 #331

@briswi

Description

@briswi

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?

  1. Install spyder and spyder-terminal in a conda environment that has python>=3.10
  2. Start spyder via command line
  3. Close spyder

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):

fromIccProfile: failed minimal tag size sanity
[183908:183923:0908/165116.430741:ERROR:simple_version_upgrade.cc(165)] Disk cache backend fake index file has wrong magic number.
[183908:183923:0908/165116.430845:ERROR:simple_backend_impl.cc(757)] Simple Cache Backend: wrong file structure on disk: 3 path: ~/.cache/Spyder/QtWebEngine/Default/Cache`

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

  • Terminal Version: 1.2.1
  • Spyder Version: 5.3.3
  • Python Version: >=3.10
  • Operating system: Ubuntu 22.04

spyder_terminal_out.log
spyder_terminal_err.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions