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
Space in Windows Username Fixes #22027
Conversation
Hello @hyperionrock! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2024-04-29 04:37:55 UTC |
Hi @hyperionrock thank you for your interest in helping and contributing to Spyder! Sadly, I don't think the changes here will help with the mentioned issues :/ If you are experiencing an issue due to the spaces over paths from the IPython Console, could it be possible for you to test the generated Windows installers at https://github.com/spyder-ide/spyder/actions/runs/8853573213?pr=22028, which are part of PR #22028 ? Also, if you are interested in contributing to Spyder in general, you can check the Contributing guide (https://github.com/spyder-ide/spyder/blob/master/CONTRIBUTING.md) to get more details of the handling we do for PRs ( Let us know! |
Hi @dalthviz However investigating further I had a suspicion and downloaded the standalone windows installer of the current released version (5.5.4) and oddly enough there is also no error there too. I saw a comment saying to try running jupyter qtconsole to see if this is systemic issue and can confirm that console works fine. This leads me to suspect the issue is specifically with installing Spyder into Anaconda and other similar environments. Not entirely sure why that is, but this should help in isolating the issue. |
@dalthviz If you discover a solution let me know and I will try to install and test it within a new environment |
Thank you for giving the installers a check @hyperionrock ! Regarding your test with pip/conda versions of Spyder, I think another test that you could do is either use the PR #22028 branch (https://github.com/dalthviz/spyder/tree/fixes_issue_21937) and install Spyder from that source in a new conda env or patch manually your pip/conda Spyder installations (Spyder files inside your Let us know! |
Hello @dalthviz. |
Thank you for the testing @hyperionrock ! The fix will be part of the next release (5.5.5). To follow up the release, you can check the v5.5.5 milestone: https://github.com/spyder-ide/spyder/milestone/143 |
Description of Changes
Mitigates issues related to spaces in windows username path. Added other additional checks that can be extrapolated to other problems areas (see screenshot below) as I'm not too familiar with the codebase.
Issue(s) Resolved
Issue: Kernel not running due to space in windows username, causing only partial path string.
Relevant issues:
#21937, #4150 and closed issues #21662, #21909
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.
I certify the above statement is true and correct: hyperionrock