Skip to content
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

Spyder won't launch with update to 5.4.2 #20621

Closed
3 of 10 tasks
wforbes-pde opened this issue Mar 2, 2023 · 4 comments
Closed
3 of 10 tasks

Spyder won't launch with update to 5.4.2 #20621

wforbes-pde opened this issue Mar 2, 2023 · 4 comments

Comments

@wforbes-pde
Copy link

wforbes-pde commented Mar 2, 2023

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

I updated to spyder 5.4.2. However, when I unsuccessfully open spyder from the terminal, I get this message.

What steps reproduce the problem?

  1. conda install spyder=5.4.2

What is the expected output? What do you see instead?

Paste Traceback/Error Below (if applicable)

(base) w@comp-pde:~$ conda install spyder=5.4.2
Collecting package metadata (current_repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /home/w/mambaforge3

  added / updated specs:
    - spyder=5.4.2


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    spyder-5.4.2               |   py39hf3d152e_0        10.5 MB  conda-forge
    ------------------------------------------------------------
                                           Total:        10.5 MB

The following packages will be UPDATED:

  spyder             pkgs/main::spyder-5.4.1-py39h06a4308_0 --> conda-forge::spyder-5.4.2-py39hf3d152e_0 


Proceed ([y]/n)? y


Downloading and Extracting Packages
                                                                                                                                                                                                                                                                                   
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(base) w@comp-pde:~$ spyder
fromIccProfile: failed minimal tag size sanity
Traceback (most recent call last):
  File "/home/w/mambaforge3/bin/spyder", line 11, in <module>
    sys.exit(main())
  File "/home/w/mambaforge3/lib/python3.9/site-packages/spyder/app/start.py", line 253, in main
    mainwindow.main(options, args)
  File "/home/w/mambaforge3/lib/python3.9/site-packages/spyder/app/mainwindow.py", line 1822, in main
    mainwindow = create_window(MainWindow, app, splash, options, args)
  File "/home/w/mambaforge3/lib/python3.9/site-packages/spyder/app/utils.py", line 289, in create_window
    main.setup()
  File "/home/w/mambaforge3/lib/python3.9/site-packages/spyder/app/mainwindow.py", line 777, in setup
    ppm = self.get_plugin(Plugins.PythonpathManager)
  File "/home/w/mambaforge3/lib/python3.9/site-packages/spyder/app/mainwindow.py", line 355, in get_plugin
    raise SpyderAPIError(f'Plugin "{plugin_name}" not found!')
spyder.api.exceptions.SpyderAPIError: Plugin "pythonpath_manager" not found!




Versions

  • Spyder version: 5.4.2
  • Python version: 3.9.13
  • Qt version:
  • PyQt version: 5.15.7
  • Operating System name/version: Ubuntu 22.10. 5.19.0-35-generic

Dependencies

PASTE DEPENDENCIES HERE
@dalthviz
Copy link
Member

dalthviz commented Mar 3, 2023

Hi @wforbes-pde , thank you for the feedback! Seems like you had Spyder 5.4.1 from the main/default channel, right? Could you try to uninstall and install Spyder 5.4.2 again? I think a similar traceback happened in the PR that introduced the pythonpath manager plugin mentioned in the traceback (#19937 (comment)) and basically reinstalling Spyder helped to enable the new plugin to register properly.

Let us now if reinstalling helps!

@wforbes-pde
Copy link
Author

wforbes-pde commented Mar 4, 2023

Actually, I was using (I think) 5.1/2 because I had issues before with upgrading to whatever the latest version was at the time. Yesterday, I decided to upgrade to 5.4.1. I got a different error and that didn't work. So, I thought that maybe updating to 5.4.2 might work.

The uninstall didn't work.

(base) w@comp-pde:~$ conda uninstall spyder
Collecting package metadata (repodata.json): done
Solving environment: | -
The environment is inconsistent, please check the package plan carefully
The following packages are causing the inconsistency:

  • conda-forge/linux-64::mamba==0.19.0=py39hfa8f2c8_0
    / Segmentation fault (core dumped)

@dalthviz
Copy link
Member

dalthviz commented Mar 5, 2023

Maybe doing a rollback to your base env to the revision before you tried to update Spyder to 5.4.1 could help? For the rollback you can check https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#restoring-an-environment

@dalthviz
Copy link
Member

Closing due to lack of response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants