I found an interesting tutorial here and followed it.

http://eixerits.wordpress.com/2013/07/20/python-2-7-migration-demystified/

however, I have encountered some problems. 

I tried to deploy the my app and I got an error message:

2013-08-29 21:29:28 Running command: “['C:\\Python27\\pythonw.exe', '-u', 
'C:\\Program Files\\Google\\google_appengine\\appcfg.py', '--no_cookies', 
u'[email protected]', '--passin', 'update', 
u'C:\\Users\\xplore\\Documents\\shitty shit\\cs']”
09:29 PM Host: appengine.google.com
Error parsing yaml file:
while scanning a simple key
in “C:\Users\xplore\Documents\shitty shit\cs\app.yaml”, line 10, column 1
could not found expected ‘:’
in “C:\Users\xplore\Documents\shitty shit\cs\app.yaml”, line 11, column 1
2013-08-29 21:29:44 (Process exited with code 1)

You can close this window now.


I tried to check my .yaml file and this is what it says: 

application: yourapp

version: 2
runtime: python27
api_version: 1
threadsafe:true
handlers:
- url: /images
static_dir: images
- url: /
script: main.app
login: admin
- url: /getvalue
script: main.app
login: optional
- url: /setvalue
script: main.app
login: optional
- url: /sendemail
script: main.app
login: optional
builtins:
- datastore_admin: on


I have no idea what went wrong with the code. I'm kinda new to Python so 
it's impossible for me to figure out what I need to change in lines 10 and 
11 based on the yaml file. Please enlighten me on the possible solutions.


Your response is appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to