-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
5.1.0 crashes with KeyError 'preferences' #16117
Comments
Hi, I'm having the same king of problem, but with KeyError: 'spyder_report_action' :
I installed Spyder from pip install in a virtualenv. Versions
|
No keywords until spyder-ide/spyder#16117 is resolved. Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
Same issue on Gentoo Linux, slightly different traceback:
Resetting the configuration does not fix the problem, nor does uninstalling all plug-ins. |
Similar issue slightly different traceback.
I launched spyder from terminal as it crashes part way through opening.
|
Similar issue with different traceback on macOS 11.4 with Python 3.8.10:
|
Hey eveyone, thanks for reporting. I'm taking a look at this problem and will try to release 5.1.1 with a fix for it as soon as possible. Thanks for your patience. |
@ccordoba12, the first traceback for @mscheltienne, @a-allard, and @AndrewAmmerlaan, are result of an undeclared dependency on the Application plugin in the Tours plugin. spyder/spyder/plugins/tours/plugin.py Line 35 in 97a9961
spyder/spyder/plugins/tours/plugin.py Lines 57 to 69 in 97a9961
Note the dependency on line 63. #16127 will fix these issues. The OP may have similar solution. |
That was indeed part of the issue. I have a different traceback now:
|
Digging in a bit further into the second error I found I could spyder to start if I modified registery.py (api/plugin_registration/registry.py) line 222 to be: if self.plugin_availability.get(plugin, False) and plugin_name != 'application': It was: if self.plugin_availability.get(plugin, False): I don't know why this works I just know it gets spyder running on my machine. |
@ccordoba12, #16130 appears to resolve all issues that I ran into for the macOS application. |
Great! I'm really glad to hear that. |
5.1.1 works! Thanks for the quick fix. |
Thanks for the confirmation @AndrewAmmerlaan! |
Problem Description
Spyder won't start due to a plugin KeyError. A
spyder --reset
doesn't solve the problem.What steps reproduce the problem?
Start spyder 5.1.0 or git 48b9305.
What is the expected output? What do you see instead?
Spyder should start successfully. Instead, the following errors are shown.
Paste Traceback/Error Below (if applicable)
Versions
The text was updated successfully, but these errors were encountered: