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

Installer-based Spyder does not start on Windows #16537

Closed
giumas opened this issue Sep 28, 2021 · 4 comments
Closed

Installer-based Spyder does not start on Windows #16537

giumas opened this issue Sep 28, 2021 · 4 comments

Comments

@giumas
Copy link

giumas commented Sep 28, 2021

Using the latest installer, Spyder does not start on Windows. It only shows the splash screen, then nothing else happens. (How to activate the console or debug logging?)

I suspect that it is related to spyder-ide/qtawesome#167 because it works when I change the Untrusted Font Blocking setting (described in https://docs.microsoft.com/en-US/troubleshoot/windows-client/shell-experience/feature-to-block-untrusted-fonts). Unfortunately, the listed solutions in the Microsoft page cannot be applied on the target machines.

@dalthviz
Copy link
Member

Hi @giumas thank you for the feedback! I think you are right although maybe we should move this issue to the Spyder main repo to keep track of it, what do you think @ccordoba12 ?

Besides that I guess checking if we can somehow try to install the fonts for the current user could be quite useful. If you get to know more info regarding that process let us know at spyder-ide/qtawesome#167 (I started checking and searching but not yet there so any help is quite appreciated!)

@ccordoba12
Copy link
Member

Yeah, this issue doesn't belong here. @dalthviz, please move it to our main repo.

@dalthviz dalthviz transferred this issue from spyder-ide/windows-installer-assets Oct 4, 2021
@ccordoba12 ccordoba12 added this to the v5.2.0 milestone Oct 4, 2021
@dalthviz
Copy link
Member

dalthviz commented Oct 5, 2021

Note: For now fix the fallback to the Spyder 2 icon set so if the icons are not available due to the font load error, Spyder should use the old Spyder 2 icon set which doesn't rely in loading fonts.

@dalthviz
Copy link
Member

dalthviz commented Oct 6, 2021

By the way @giumas to debug you can launch the installed Spyder from a terminal running the Target specified in the generated shortcut and changing pythonw.exe for python.exe. It should be something like this (where <your user> is the current session user directory):


C:\Users\<your user>\AppData\Local\Programs\Spyder\Python\python.exe "C:\Users\<your user>\AppData\Local\Programs\Spyder\Spyder.launch.pyw"

If you want even more information you can run it with the debug-info verbose flag, so something like this:


C:\Users\<your user>\AppData\Local\Programs\Spyder\Python\python.exe "C:\Users\<your user>\AppData\Local\Programs\Spyder\Spyder.launch.pyw" --debug-info verbose

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

3 participants