that "- remote_api: on" option was just added in the latest version.
Do you have the latest version of GAE source?

You may want to ask these kind of questions in the GAE group:
http://groups.google.com/group/google-appengine
http://groups.google.com/group/google-appengine-python


On Oct 19, 5:21 am, Nathan VanHoudnos <nathan...@gmail.com> wrote:
> Hi,
>
> Attempting to follow the directions here:
>
> http://code.google.com/appengine/docs/python/tools/uploadingdata.html
>
> So I added to my app.yaml:
>
> builtins:
> - remote_api: on
>
> And then I try to to run appcfg.py update:
>
> vanho...@gauze:~/google_appengine$ python2.5 appcfg.py update
> ../workspace/nathanvan-creatia/src/
> Error parsing yaml file:
> Unexpected attribute 'builtins' for object of type <class
> 'google.appengine.api.appinfo.AppInfoExternal'>.
>   in "../workspace/nathanvan-creatia/src/app.yaml", line 58, column 1
>
> The whole app.yaml file follows. (It is just the "standard" web2py file.):
>
> application: nathanvan-creatia
> version: 1
> api_version: 1
> runtime: python
>
> derived_file_type:
> - python_precompiled
>
> handlers:
>
> - url: /_ah/stats.*
>   script: $PYTHON_LIB/google/appengine/ext/appstats/ui.py
>   login: admin
>
> - url: /(?P<a>.+?)/static/(?P<b>.+)
>   static_files: applications/\1/static/\2
>   upload: applications/(.+?)/static/(.+)
>   secure: optional
>   expiration: "90d"
>
> - url: /_ah/admin/.*
>   script: $PYTHON_LIB/google/appengine/ext/admin
>   login: admin
>
> - url: /_ah/queue/default
>   script: gaehandler.py
>   login: admin
>
> - url: .*
>   script: gaehandler.py
>   secure: optional
>
> admin_console:
>   pages:
>   - name: Appstats
>     url: /_ah/stats
>
> skip_files: |
>  ^(.*/)?(
>  (app\.yaml)|
>  (app\.yml)|
>  (index\.yaml)|
>  (index\.yml)|
>  (#.*#)|
>  (.*~)|
>  (.*\.py[co])|
>  (.*/RCS/.*)|
>  (\..*)|
>  ((admin|examples|welcome)\.tar)|
>  (applications/(admin|examples)/.*)|
>  (applications/.*?/databases/.*) |
>  (applications/.*?/errors/.*)|
>  (applications/.*?/cache/.*)|
>  (applications/.*?/sessions/.*)|
>  )$
>
> builtins:
> - remote_api: on
>
> I must be missing something obvious. Do I need to manually add some files to
> the web2py instance for this to work?
>
> Cheers,
> --
> Nathan VanHoudnos
> |- Statistics & Public Policy PhD student
> |- Program in Interdisciplinary Education Research (PIER) Fellowship
> |- Carnegie Mellon University
> |-http://www.andrew.cmu.edu/user/nmv
>
> "Neglect of mathematics works injury to all knowledge,
>  since he who is ignorant of it cannot know the other
>  sciences or the things of this world." -- Roger Bacon

Reply via email to