Hello,
wanted to try GAE deployment as shown in
http://www.screencast.com/users/mdipierro/folders/Jing/media/b3de44de-814b-48fa-ba91-edd283597d8b
I found a number of glitches:
1) not really documented how to do this quickly!
2) I found out that I need to have appcfg.py. Unfortunately, it's
absolute path is hardcoded into
applications/admin/models/0.py
Why do you not use web2py root directory as default?
Actually, you start to hit the walls of the zero-config paradigm...
I'd like to support the idea of a comon static direcory which could also
be the default place for tthe appcfg.py
Any other place could easily changed by symlinks...
3) I put it into
/var/devel/web2py/web2py_gae/appcfg.py
4) when hitting deploy in admin I got this:
Traceback (most recent call last):
File "/var/devel/web2py/web2py_gae/gluon/restricted.py", line 107, in
restricted
exec ccode in environment
File
"/var/devel/web2py/web2py_gae/applications/admin/controllers/gae.py",
line 78, in <module>
File "/var/devel/web2py/web2py_gae/gluon/globals.py", line 100, in
<lambda>
self._caller = lambda f: f()
File
"/var/devel/web2py/web2py_gae/applications/admin/controllers/gae.py",
line 25, in deploy
apps = sorted([(file.upper(), file) for file in os.listdir(apath())
File "/var/devel/web2py/web2py_gae/gluon/admin.py", line 11, in apath
opath = up(r.folder)
AttributeError: 'NoneType' object has no attribute 'folder'
Please assist me.
Thanks and kind regards,
Timmie
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---