hi Yes I did use the web2py.py -G to configure those.
The lines are the ones commented: #- url: /(.+?)/static/(.+) # static_files: applications/\1/static/\2 # upload: applications/(.+?)/static/(.+) # secure: optional They were not commented out in the original app.yaml -M On Thu, Oct 2, 2014 at 7:27 AM, Lucas Geiger <l...@keyscores.com> wrote: > Hi Miguel, sorry which line specifically? > Also did you use the "web2py.py -G config " to generate these? > I did. It seems that would be a bug? > > Lucas Geiger > On Oct 2, 2014 9:47 AM, "Miguel Goncalves" <goncalvesmig...@gmail.com> > wrote: > >> Try to do comment the 2dn url line in the the app.yaml : >> >> handlers: >> # Warning! Static mapping - below - isn't compatible with >> # the parametric router's language logic. >> # You cannot use them together. >> >> - url: /(.+?)/static/_\d.\d.\d\/(.+) >> static_files: applications/\1/static/\2 >> upload: applications/(.+?)/static/(.+) >> secure: optional >> expiration: "365d" >> >> #- url: /(.+?)/static/(.+) >> # static_files: applications/\1/static/\2 >> # upload: applications/(.+?)/static/(.+) >> # secure: optional >> >> This solved the problem for me. >> I also tried to access an image directly in my views without having a >> version number in the static/ path and it seems to work. >> Nothing else broke so far. >> >> -Miguel >> >> On Wed, Oct 1, 2014 at 4:25 PM, lpg <lucas.gei...@gmail.com> wrote: >> >>> Testing the latest 2.9.11 on GAE, seems like /admin app is breaking, >>> since many static resources can't be found. >>> I used the new web2py.py -G configure. >>> However it seems like the .yaml may not have all the static routes? >>> >>> See Screenshot here: >>> >>> https://www.dropbox.com/s/6zbb2zezmfrzhxe/Screenshot%202014-10-01%2019.24.36.png?dl=0 >>> >>> And here: >>> >>> https://www.dropbox.com/s/ywk8spbyd79oah2/Screenshot%202014-10-01%2019.21.34.png?dl=0 >>> >>> -- >>> Resources: >>> - http://web2py.com >>> - http://web2py.com/book (Documentation) >>> - http://github.com/web2py/web2py (Source code) >>> - https://code.google.com/p/web2py/issues/list (Report Issues) >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "web2py-users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to web2py+unsubscr...@googlegroups.com. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> Resources: >> - http://web2py.com >> - http://web2py.com/book (Documentation) >> - http://github.com/web2py/web2py (Source code) >> - https://code.google.com/p/web2py/issues/list (Report Issues) >> --- >> You received this message because you are subscribed to a topic in the >> Google Groups "web2py-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/web2py/sN8mWOiCqgI/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> web2py+unsubscr...@googlegroups.com. >> For more options, visit https://groups.google.com/d/optout. >> > -- > Resources: > - http://web2py.com > - http://web2py.com/book (Documentation) > - http://github.com/web2py/web2py (Source code) > - https://code.google.com/p/web2py/issues/list (Report Issues) > --- > You received this message because you are subscribed to the Google Groups > "web2py-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to web2py+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.