Creating project from existing python code fails


(I'm using the integrated VS 2013 Preview package)

Create a project from existing python code

Go through the wizard.

After choosing the folder to add and hitting finish, I get a popup with
"The given key was not present in the dictionary"

No solution/project files get created.
Closed Jan 16 at 9:01 PM by Zooba


Zooba wrote Aug 13, 2013 at 4:21 PM

I've had a look and can't reproduce this. Are you able to provide any more details (VS language, source/destination paths, number/types of files)?

Most of the issues we've seen in the past have been to do with opening the project, rather than creating it. Are you sure the project file was not created?

denfromufa wrote Aug 27, 2013 at 11:39 PM

Creating project from existing python code actually just makes an empty folder in default projects folder:

...\Documents\Visual Studio 2010\Projects\PythonApplication1

No error message

Visual Studio 2010 Pro

PTVS 2.0 Beta VS 2010

Zooba wrote Sep 5, 2013 at 3:39 PM

denfromufa - do you see the wizard appear? It seems like you may be seeing a slightly different issue to bkilian. Visual Studio is responsible for the empty folder, but if our wizard starts then we should have deleted it already.

einaren wrote Sep 11, 2013 at 12:30 PM

I can reproduce it using PythonToolsIntegrated.exe downloaded today (2.0 RC)

einaren wrote Sep 11, 2013 at 12:35 PM

I can not reproduce the problem in Python tools for Visual Studio 2010 2.0.60306.0

Zooba wrote Sep 16, 2013 at 4:27 PM

Are you able to provide some details about the files you are importing? I am not able to reproduce this at all, so I need some help figuring out what is causing the issue.

Also, does everything else in PTVS seem to be working okay? It's possible that a corrupt installation could cause this, but you should be seeing other problems if that's the case.