-
-
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 opens new instances when double-clicking Python scripts #6899
Comments
This is supposed to be fixed. @dalthviz, could you take a look at this when you have some time? Thanks! |
I can confirm that I have repeatedly had troubles with new instances appearing with a number of the recent 3.2* versions. I regularly upgrade Spyder. I update via Anaconda. I did not have the problem with 3.2.6. I just downgraded to that version and the new instance problem is gone via conda install spyder=3.2.6. The downgrade to 3.2.7 did not work to solve things. Hence you may want to look at the diff between 3.2.6 and later versions. |
See https://stackoverflow.com/q/33817046/438386 for ways people is using this feature on Windows. |
This is another related question: https://stackoverflow.com/q/50162165/438386 |
@dalthviz If there is a new version of Spyder, I will try it out and see if the problem has been solved. The latest version I see is 3.2.8 which was not working. I will download 3.2.9 when it is ready and give feedback. |
@dalthviz @ccordoba12 (1) When no Spyder instance is opened, double-clicking a Python script opens up Spyder, but the cmd window stays open (I don't remember what the behavior of Spyder was Maybe (1) is still a bug? But the original problem associated with this issue (i.e., (2)) is solved. |
@jsh9, then please open a new issue about (1). |
Problem Description
I recently upgraded Spyder to 3.2.8 from 3.2.4. I bind Spyder with any
.py
files on my Windows 10 computer, i.e., on the right-click menu of a certain.py
file, under "open with", I choose "choose another app", and choose "C:\Anaconda3\Scripts\spyder.exe" to open.py
files (and I check "Always use this app to open .py files" option).After upgrading to 3.2.8, I found that every time I double-clicked a
.py
file, a new instance of Spyder opens up, with an empty cmd window pointing to "C:\Anaconda3\Scripts\spyder.exe" also open.This was not the case for my previous versions of Spyder.
What steps will reproduce the problem?
The steps are described above.
What is the expected output? What do you see instead?
If a Spyder instance is already open, then double-clicking other
.py
files does not open new Spyder instances. Instead, the.py
files should be opened in the current Spyder instance.Paste Traceback/Error Below (if applicable)
N/A
Package Versions
Dependencies
N/A
The text was updated successfully, but these errors were encountered: