use ./manage.py update, not appcfg.  The former will run ./manager.py
generatemedia before uploading which results in _generated_media being
filled.  The dev server uses some trickery to make generatemedia an
unnecessary step.

H

On Feb 22, 6:32 pm, Bert <[email protected]> wrote:
> Hi,
>
> I've uploaded my app (which was working in dev) to app engine, but for
> some reason none of the static files seem to be found/generated in the
> _generated_media folder.
>
> I subsequently downloaded app engine patch sample and tried uploading
> it, but I also get the same issue: no style sheets or static files.
> example from log: Static file referenced by handler not found:
> _generated_media/1/combined-print-ltr.css
>
> Am I missing something?
> Is there some special command I need to run besides appcfg.py update
> <app>?
>
> I'm running on windows 7, latest version of app engine sdk python.
> I'm using app engine patch rc 1.1
>
> As mentioned, the app works fine in dev.
>
> On the page, running on app engine, the style sheet url is at /media/1/
> combined-print-ltr.css
> In the app.yaml
>
> handlers:
> - url: /remote_api
>   script: $PYTHON_LIB/google/appengine/ext/remote_api/handler.py
>   secure: optional
>   login: admin
>
> - url: /media
>   static_dir: _generated_media
>   secure: optional
>
> - url: /.*
>   script: common/appenginepatch/main.py
>   secure: optional
>
> the _generated_media folder is empty in dev (is this supposed to be
> empty?)
>
> Thanks for your time,
> Rob

-- 
You received this message because you are subscribed to the Google Groups 
"app-engine-patch" 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/app-engine-patch?hl=en.

Reply via email to