-
-
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
AttributeError: 'NoneType' object has no attribute 'get_active_project_path' #7403
Comments
Please describe step by step how you got this error so we can reproduce it in our side. If you fail to do that, we'll close this issue in a week from now. Also, please read our https://github.com/spyder-ide/spyder/wiki/Troubleshooting-Guide-and-FAQ to see if you are able to fix this problem by following it. |
So I am still not able to use the ipython console during this time? |
This error is not related at all to the IPython console. |
@ccordoba12 Ok you closed my issue and related it to this, but my error the ipython console not opening because of the kernel error this happened after the update to 3.3.0 It says that Your Python environment or installation doesn't have the spyder‑kernels module installed on it. Without this module is not possible for Spyder to create a console for you. But this is not the case I do have spyder-kernels installed. This was the error of mine you closed; It was sent via your automatic error checking tool. |
You probably installed spyder-kernels in another Python virtualenv. You need to figure that out by yourself. |
ok you are correct that when I come out of my virtualenv the ipython console is there. But in my virutalenv spyder-kernels is already installed each time I do pip install spyder-kernels it says requirement already satisfied, this has never happened before on a update. |
@ccordoba12 Ok I have tried everything, I tried to delete my virtualenv and reset the path, did not work, I have tried to reinstall spyder and delete virtualenv and reset the path, and it still doesn't work. As mentioned before this happened when I updated, it has never happened before. |
Is Spyder installed in your virtualenv? Reading again #7412, I'd say you installed it globally, so
Look, this is why we don't have time to give support for installations other than Anaconda. This is a very simple thing if you'd understand well how virtualenvs work and how to make Spyder work with them. |
I have literally done all of this earlier, I am really confused as to how it is not working. |
spyder is installed globally, and spyder-kernels is installed globally and in my virtual env as well. It works without my virtual env but when I change the interpreter to my virtual env it gives me the same error. |
I think I know what's happening. You need to run in your virtualenv
|
Thank you! This worked, can I ask why was this the case? |
Because Spyder 3.3 requires spyder-kernels versions less than 1.0 I'll improve the error message to make that clear. |
@dalthviz, are you able to reproduce this problem in a clean conda env on Windows? |
@ccordoba12 For what it's worth, I did some testing and did not observe this problem installing and running Spyder from conda-forge into 3 different new, clean environments on two different machines (Win 8.1 and Win 10), both with "mixed" and (almost) all conda-forge packages, with both qt/pyqt 5.6 and 5.9 and with Python 3.6.6. Every report I've seen has been on Linux. |
Yes, it's on Linux, but I wanted to be sure if it's seen in other OSes. |
@ccordoba12 Right. If there's any further specific testing I can do, let me know. |
Description
What steps will reproduce the problem?
(python3:12490): Gtk-WARNING **: 13:04:31.888: Theme parsing error: gtk-main.css:73:38: Failed to import: Error opening file /usr/share/themes/Radiance/gtk-3.20/apps/gnome-builder.css: No such file or directory
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: