this discussion while searching for information on how to use Python Tools for Google App Engine development.
I have been unable to get debugging to work using VS 2010, PTVS RC1 and App Engine SDK 1.5.1. Running without debugging works fine, but as soon as I hit F5, I get the following exception:
"google.appengine.dist.py_zipimport.ZipImportErrorTraceback (most recent call last): File "C:\Program Files (x86)\Google\google_appengine\google\appengine\dist\py_zipimport.py", line 123, in __init__ raise ZipImportError(msg)ZipImportError:
Non-file 'C:\\Program Files (x86)\\Google\\google_appengine\\lib\\yaml\\lib\\yaml' found for 'C:\\Program Files (x86)\\Google\\google_appengine\\lib\\yaml\\lib\\yaml'"
If I choose "break" here, I can use the debugger to analyze the code in the py_zipimport.py file, and doing so, I can determine that the error comes from this statement:
if not os.path.isfile(archive):
msg = 'Non-file %r found for %r' % (archive, path_entry)
The variable "archive" has the value "C:\\Program Files (x86)\\Google\\google_appengine\\lib\\yaml\\lib\\yaml" - which is not a file, but a directory.
I would be very grateful if anyone (joxn?) could try to build the "helloworld" example as per the discussion link above, with the current versions of PTVS and AppEngine, and see if they run into the same issue.
Any help is greatly appreciated.