I'd like to use web.py with Google App Engine. I'm trying to compile
my templates and this is what I get:

C:\Dev\google_appengine\myappname> python web\template.py --compile
templates
Traceback (most recent call last):
  File "web\template.py", line 1384, in <module>
    compile_templates(sys.argv[2])
  File "web\template.py", line 1040, in compile_templates
    text = Template.normalize_text(text)
UnboundLocalError: local variable 'text' referenced before assignment

Any thoughts on how to address or work around this?

If I compile the templates on a unix system and then copy the
resulting __init__.py to my Windows machine, I can run successfully
with the App Engine dev_appserver. It's just a matter of getting those
templates to compile on Windows.

Thanks.

--~--~---------~--~----~------------~-------~--~----~
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