admin is readonly on GAE. GAE has a readonly file system. You have to create apps locally and then deploy them.
On Thursday, 13 September 2012 21:10:18 UTC-5, Igor Rafael wrote: > > I'm using the web2py 2.0.8 and had the same problem. > The suggested workaround worked. > > However when I try to create a new app through the admin interface I get > the following message: > > unable to create application "test"Traceback (most recent call last): > File "/opt/web2pytests/gluon/admin.py", line 176, in app_create > os.mkdir(path) > AttributeError: 'module' object has no attribute 'mkdir' > > > > Any suggestions? > > On Monday, September 3, 2012 10:26:07 AM UTC-3, howesc wrote: >> >> if it was our app.example.yaml file from the latest release then please >> open a ticket to have us update the example file to work with the latest >> GAE launcher. feel free to include your change as a patch. ;) >> >> thanks! >> >> cfh >> >> On Sunday, September 2, 2012 10:20:04 PM UTC-7, Andy W wrote: >>> >>> That fixed it - many thanks! >>> >>> On Sunday, September 2, 2012 4:11:24 PM UTC+4, Jan-Karel Visser wrote: >>>> >>>> put a # in front off - datastore_admin in the yaml and off you go :) >>>> >>>> >>>> 2012/9/2 Andy W <andyweb...@gmail.com> >>>> >>>>> I am experimenting with web2py and GAE. web2py is running fine on my >>>>> local machine (Windows 7) but I cannot get even the default Welcome app >>>>> to >>>>> run on the GAE SDK. >>>>> >>>>> Here are the detailed steps I have taken: >>>>> 1. Downloaded web2py (v 2.0.6) and unpacked to E:\web2py >>>>> 2. Run locally with the web2py rocket server - see the Welcome app as >>>>> expected >>>>> 3. Copied routes.example.py to routes.py. On line 8, set >>>>> default_application = 'welcome' >>>>> 4. Copied app.example.yaml to app.yaml. On line 6, changed >>>>> application name to 'welcome' >>>>> 5. Run the Windows GUI version of Google App Engine SDK (release >>>>> 1.7.1). Used File > Add Existing Application, setting the application >>>>> path >>>>> to E:\web2py >>>>> 6. Run the application and pressed the 'Browse' button >>>>> >>>>> The application fails with the warning "No selected projects are >>>>> running so we have nothing to Browse" >>>>> >>>>> The log file reads: >>>>> File "C:\Program Files >>>>> (x86)\Google\google_appengine\google\appengine\api\appinfo_includes.py", >>>>> line 222, in _ConvertBuiltinsToIncludes >>>>> yaml_path = builtins.get_yaml_path(builtin_name, runtime) >>>>> File "C:\Program Files >>>>> (x86)\Google\google_appengine\google\appengine\ext\builtins\__init__.py", >>>>> line 120, in get_yaml_path >>>>> builtin_name, ', '.join(sorted(available_builtins)))) >>>>> google.appengine.ext.builtins.InvalidBuiltinName: datastore_admin is >>>>> not the name of a valid builtin. >>>>> Available handlers are: admin_redirect, appstats, default, deferred, >>>>> django_wsgi, remote_api >>>>> 2012-09-02 14:45:06 (Process exited with code 1) >>>>> >>>>> Any pointers to what I am missing would be much appreciated! >>>>> >>>>> -- >>>>> >>>>> >>>>> >>>>> >>>> >>>> --