1

Closed

Create virtual env dialog comes up twice on project creation

description

Create New Bottle Project (one of the templates that has a requirements.txt).
Dialog comes up to install external packages, click on Install into virtual environment.
Click Create
When it's done creating the virtual env, a similar dialog will come up again, prompting you to add a new virtual environment. That shouldn't happen.

Note: If you happened to have switched to a different application while it was creating the first virtual env, you may have trouble switching back to VS and see that 2nd dialog. You'll have to minimize the other apps you have opened.
Closed Aug 1 at 6:28 PM by Zooba

comments

Zooba wrote Jul 29 at 6:42 PM

Did you close the dialog after you clicked Create? It doesn't close automatically anymore - there's a progress bar and it will go back to Create when it's done.

Zooba wrote Jul 29 at 6:58 PM

(It actually goes back to "Add", since the path does not change and there's already a valid environment there. We should detect whether the environment is already in the project and not show this option, especially since it will try and install the packages again.)

huguesv wrote Jul 30 at 4:48 PM

I filed a separate issue for the modal dialog problems: https://pytools.codeplex.com/workitem/2546

Zooba wrote Jul 30 at 5:32 PM

If that's a separate issue, then have you confirmed that this one isn't a real issue?