Hi there
i'm developing a small web application with web.py and today i tried
to put it on GAE (localhost) unsuccesfully.

1. I put a zipped web.py sources  in a lib directory inside my project
and added this few lines on code.py.

import sys
sys.path.insert(0, 'lib/lib.zip')

Is it correct?I've checked Aaron's appspot experiment but i did not
see anything before "import web".
I'm having a weird behaviour of GAE that sometimes show me the correct
pages and sometimes not with "no module named web" error on log.

2. I'm using templating for my views.I've read that i need to compile
them with template.py.
Again..i'm getting "No module named parser" but i've compiled my views
and i have __init__.py file correctly compiled in my views folder.
Is it correct to find in __init__.py source, a path like "views/
index.html" ?
index = CompiledTemplate(index(), 'views/index.html')
When compiling, is it correct to stay just outside the views folder
and type:
"python web/template.py --compile views" ?

thanks in advance for your help

Michele

--

You received this message because you are subscribed to the Google Groups 
"web.py" group.
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/webpy?hl=en.


Reply via email to