-
-
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
No QcoreApplication Found - Spyder 5 installation problem #15163
Comments
I have a similar problem. i have not found a solution yet, but when running it with python to get the error logs, it seems like that during the init spyder is not able to find all icons. The first one was mdi.check-bold, which i testwise replaced for now, but now i am having the same problem with mdi.content-save-edit @agos316 Did you also use pip for installing spyder? |
I installed using conda. I really like this IDE so I hope the problem is fixed soon. I checked all the dependencies and everything seemed to be in line. |
Same error for Spyder 5 installed using miniconda on MacOS Catalina 10.15.7. A fix or workaround would be greatly appreciated! I've reverted to 4.2.5 for the moment. |
okay i moved on and also replaced couple of the other icons that were not found.
I than replaced them by modifing the corresponding lines in the file: icon_manager.py which you can find in: In this file you will find a class called IconManager which has an attribute called _qtaargs. This attribute seems to be a big dictonary mapping some operation to the corresponding icons. There one can find the "invalid icon names" in the form font.icon_name. I replaced them with some icon that seemed familiar with the required one. So e.g I replaced the above one with mdi.source-commit. I will attach my modified version of the file. But this should definitely be only a temporary fix and i am not 100% confident that this might also help you (needed to change file type to txt ;)) Now it at least starts. Even though it still has a bug with the icons (see the attached screenshot). It also gives me now in spyder on the gui the error message, that i have the wrong version of spyder-kernels, which i so far tried to solve by updating it with pip. Which told me that spyder kernels would be allready on the newest version. |
Wow @ITWARRIORS-Kilian thats pretty cool that you got it to run,I might try this, I hope a long term solution is available soon. |
Hi @agos316 thanks for the feedback! Regarding the message @agos316 or @emmaworthington could you check if running Spyder with the @ITWARRIORS-Kilian about the pop-up dialog saying that the @agos316 @emmaworthington in terms of a workaround, if the launching problem is related with the icons, you could try to use the Let us know if something of the above helps! (or at least helps clarifying the status of things :) ) |
@dalthviz I ran the debug, and it led to the same call back. File "/home/qtconsole/util.py", line 64, in new Here is what it says after before closing out |
Thank you for the response @agos316 in that case the issue is related with a new release of |
@dalthviz That did it ! Thank you for your help Thanks to all that replied as well |
@ITWARRIORS-Kilian could you open a new issue for the errors you were experiencing with the icons, please? Seems like the issue here was different. Thanks! @emmaworthington let us know if downgrading |
I can confirm that "No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect. " is present for bootstrap on macOS and the macOS application but does not inhibit launching. Also, regarding |
@yiorgosn, that will also be fixed in 5.0.1, to be released shortly. |
Hi, I also get the spyder-kernels missing dependencies popup, but I have v2.0.1 installed by conda. Thanks |
Hey @emmaworthington, you said
That's a duplicate of issue #15091 and it'll be fixed in our next version (5.0.1), to be released shortly. |
Carlos, Thanks for your and your team's great work and being so responsive. Spyder is awesome and I love the job you all do! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I get this warning on Ubuntu 18.04 as well, although Spyder still launches |
Hi @jamesmhbarry yep is just a warning but since it could be kind of misleading (you could think something bad is happening) we are thinking to remove/hide it in a future release |
During installation of spyder 5 on Ubuntu 20.04. The following error appears.
"No QCoreApplication instance found. Application patches not applied. You have to call load_stylesheet function after instantiation of QApplication to take effect. "
The IDE doesn't launch.
Is there a way to fix this ?
The text was updated successfully, but these errors were encountered: