-
-
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
Spyder can't open files with spaces from the Windows Explorer #22844
Spyder can't open files with spaces from the Windows Explorer #22844
Comments
Hey @ilpresidente51, thanks for reporting. This should be working, so sorry to hear that it's not. @dalthviz, could you check if you can reproduce this with our Windows installer? Thanks! |
I think I was able to reproduce this with a file which has spaces in its name, @ilpresidente51 does the filename that you are trying to open has spaces in its name or path? Let us know! |
You are right, the problem occurs when there is a space in the file name or in its path. Thank you ! |
I also have this issue. Can confirm it happens when the path has spaces, but the same file opens as expected when the path does not have spaces. (Apologies if this is unnecessary/redundant, I'm brand new to using Github and Spyder.) |
Hey @Merlin820, no worries and thanks for the confirmation. We'll try to take a look at this issue in 6.0.4, to be released at the end of next month. |
@mrclary, could you take a look at this one? |
I've discovered the underlying issues is that the registry command does not quote the input argument, e.g. |
Thanks @mrclary! Do you know how to fix that in |
I've submitted conda/menuinst#290 and inquired about a possible permanent solution. However, I have also discovered a workaround and applied it in conda-forge/spyder-feedstock#212. A new build for 6.0.3 should fix the problem. |
Great! Thanks for your help with that.
You mean a new build of the installers? Mmhh, that would cause us to lose our current number of downloads, which I don't like too much. So, I'd prefer to leave it for 6.0.4. |
No, I mean just a new build for 6.0.3 on conda-forge. Of course this fix will not propagate to our installers until 6.0.4 is released. Although, we could consider looking at new builds in our update manager, not just new versions? |
That's a good idea, but it could be annoying for users to be constantly asked to update. Hopefully the installers will be more stable and feature complete in a few months, which wouldn't require that. |
Description
What steps will reproduce the problem?
When double-clicking on a .py file in Windows 10 Explorer, Spyder 6 is opened, but the file is not opened
Versions
Dependencies
The text was updated successfully, but these errors were encountered: