-
-
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
Splash screen when running from installer shows partially (at least on Windows) #22353
Comments
@dalthviz, could you check if the splash screen SVG is rendered correctly in other applications? For instance Inkscape? |
Checking over Inkscape I see the following: Seems like the image being shown there is labeled as But the only one that is being referenced is |
It could be, yes. Could you change those references and check again? |
Did some changes to the
And there are also other messages after the one from the failed image load (although those seem more like deprecation messages):
🤔 |
Ok, could you try older versions of the installer to see if the error is present in them? I mean, beta3, beta2, etc? But before uninstalling one version and reinstalling another, please run
This is not good either (and it could cause this issue too). Please also check this with older versions.
Yeah, that's an issue between asyncssh and cryptography and I don't think we can do anything about it. |
Checking seems like with Spyder 6b2 the splash image is showing, Spyder 6b3 and 6rc1 have the missing image issue. Also, with Spyder 6b2 the only output that appears when launching is related with OpenGL:
|
Thanks for checking @dalthviz!
I still don't understand why that's happening, but we can deal with that later because it doesn't seem as bad as the splash screen bug. I have two theories about this: it can be a problem with more recent versions of Qt or Matplotlib:
I mentioned Matplotlib because in PR conda-forge/matplotlib-feedstock#393 they switched the default backend from PyQt5 to PySide6. And that could be interfering with Spyder. @mrclary, now we need your help to generate Windows installers with the beta2 versions of qt-main and/or Matplotlib and check if the issue is solved with either of them. Sorry to put you through this so close to the end, but this is an ugly bug with our new installers. |
We certainly need to solve this!
We can then compare the versions of If we determine that either of these packages are producing the problem, it will be simple enough to pin their versions in the installer. |
So, the good news is that this has nothing to with the installer; Do you guys have any other ideas? Did something else change? |
Thanks for the in-depth testing @mrclary! Given your results, I'd say the problem is not related to the env packages but to Spyder itself. So, could you run |
So my previous post is incorrect. I mistakenly thought that b2 did not have splash screen issues, but it does. I don't know how I missed it. 😫 The issue is definitely the presence of |
So the updated observation:
|
Ok, that's really good to know! And actually the new dependency on PySide 6 was introduced in Matplotlib 3.9.1 build 2, according to the PR I referenced above.
Yes, there is! As you can see in the Conda-forge recipe, the So, you just need to add to our installers |
No good. |
conda create -n b2-lock --file=conda-win-64.lock (good)
conda create -n b2 python=3.11.9 spyder=6.0.0b2 (bad)
|
Ok, still it's a good idea to do the changes I mentioned (i.e. using
The main difference I see between the two that could affect Spyder is Qt:
So, could you install the Qt version from the lock file in the env you created it without it? For that you need to run
|
Agreed. |
I've installed I'm trying to go through all the environment diffs between b2 and b2-lock... |
Found it! |
@ccordoba12, this issue does not seem to affect macOS or Linux, only Windows. |
Man, how on earth is Sphinx affecting loading an svg in Spyder? Thanks for taking the time to find that! 👍🏽
I have no idea how else we could solve this. So, I think it's ok for now. |
I know, right? This has me stumped. Is there a plugin relationship between |
There is a |
I'm reopening this issue. It seems that So installing Spyder from the installer, with However, installing Spyder by itself, e.g. The splash screen renders correctly:
I suspect that Qt requires something in |
Problem Description
When launching Spyder installed from the installer the splash screen doesn't show the top image (at least on Windows)
What steps reproduce the problem?
What is the expected output? What do you see instead?
I think the splash screen should be showing an image, right?
Traceback
Running the command the generated shortcut uses to launch from a cmd (so something like
C:\Users\dalth\AppData\Local\spyder-6\envs\spyder-runtime\python.exe C:\Users\dalth\AppData\Local\spyder-6\envs\spyder-runtime\Scripts\spyder-script.py
) I can get see some output that could be related:Versions
The text was updated successfully, but these errors were encountered: