Hello everyone,
I'm compiling my local apps with this command:
python -c "import gluon.compileapp;
gluon.compileapp.compile_application('applications/<myapp>')"
And everything is working well. But when I try to do the same thing in the
server (as admin), in the production environment I get this error:
Traceback (most recent call last):
File "<string>", line 1, in ?
File "gluon/__init__.py", line 15, in ?
from globals import current
File "gluon/globals.py", line 17, in ?
from storage import Storage, List
File "gluon/storage.py", line 73
return value if not value else \
^
SyntaxError: invalid syntax
I know it doesn't give too much information so I'm lost. Without compiling
my app works well so I guess the web2py environment is well installed.
Anyone has any clue of what is it happening?
On the other hand, really is there a difference in performance bewtween a
compiled app and a non compiled app? I don't notice a great difference when
I use my app compiled.
Kind regards and thank you very much!
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.