Does anybody could run the base sample for Python 2.7
http://code.google.com/appengine/docs/python/gettingstartedpython27/helloworld.html
on* local machine* with  parameter threadsafe: true in yaml
This sample generate error: Could not find module helloworld.app 

the only way this sample works on my computer
is to change this line "script: helloworld.app"
to this "script: helloworld.py.app"
and add
def main():
    app.run();

if __name__ == "__main__":
    main()
to helloworld.py

And also what is official way to add webapp2 and jinja2 on local computer
i know two working solutions:
1) Add webapp2 jinja2 dirs to my app folder and exlude them in app.yaml

2) Add this libs to GAPP lib folder and change dev_appserver.py adding this 
lines 
os.path.join(DIR_PATH,'lib','jinja2'), 
os.path.join(DIR_PATH,'lib','webapp2') to EXTRA_PATHS list

Is any elegant solution to make webapp2 and jinja2 work locally?






-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/qFolbjU1WSIJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to