Resolved:

Looks like that attribute is not allowed for static_dir but is allowed
static_files.

http://code.google.com/appengine/docs/configuringanapp.html

On Oct 10, 4:32 pm, GMan <[EMAIL PROTECTED]> wrote:
> The error message I am receiving is:
>
> Error parsing yaml file:
> Invalid Object
> Unexpected attribute "upload" for mapping type static_dir
>     in "draftboard/app.yaml", line 15, col 1
>
> On Oct 10, 4:27 pm, GMan <[EMAIL PROTECTED]> wrote:
>
> > Hi,
> > I looked around on the discussion group and it seems the standard answer for
> > uploading a directory of static files is not working for me.  Is there
> > something obvious that I'm doing wrong?
>
> > I have two subdirectories which contain static files.
> > 1) /static
> > some html files
>
> > 2) /css
> > a .css file
>
> > Here is my app.yaml. what am I missing here?
>
> > application: draftcentral
> > version: 1
> > runtime: python
> > api_version: 1
>
> > handlers:
> > - url: /load
> >   script: Loader.py
> >   #login: admin
>
> > - url: /static
> >   static_dir: staticDir
> >   upload: staticDir/
>
> > - url: /stylesheets
> >   static_dir: stylesheets
> >   upload: stylesheets/
>
> > - url: /.*
> >   script: DraftCentral.py
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to