This has been fixed in trunk although technically it not a breaking of backward compatibility but a bug because
{{=URL('static','/images/logo.png')}} should be {{=URL('static','images/logo.png')}} And the old version was ignoring the /. Anyway, since this is important, we fixed and will release a new version soon. On Sunday, 8 April 2012 21:35:06 UTC-5, Matt Gorecki wrote: > > I am completely baffled. After moving my web2py application from one > server to another, I keep getting "SyntaxError: not enough information to > build the url" as a result of this line in one of my layout views: > > {{=URL('static','/images/logo.png')}} > > This working working on a 1.99.4 install and now isn't on a 1.99.7 > install. The thing is, I have dozens of these exact statements throughout > my view for all the necessary images. This is the only one that throws > this error. If I comment it out, the rest of the page loads fine. Far as > I can tell, my routes are fine since everything else works as expected. > > The only thing I can think is that this line is in navbar.html which is > included in layout.html. Maybe that somehow makes it different? > > Matt >