Ok just figured something out. My development machine is a linux box, fedora. I am using firefox browser which may or may not be forgiving. I dont have any problem when access the production server from my linux box.
I then opened up with IE and the page fails to render. Do you know how to resolve this. Its a browser specific I think now. Thanks, Gazza On Mar 12, 2:52 pm, Mike Orr <[email protected]> wrote: > On Fri, Mar 12, 2010 at 11:36 AM, gazza <[email protected]> wrote: > > Hello, > > > I am running my plylons app on a VPS system. I installed the egg am > > using Paste HTTP server. > > > Within a controller: > > > I am calling return render('/derived/item/mod.html') > > > This is failing to render. It renders fine on my development machine. > > Is there a way to determine why it does not render i.e can I check the > > path of where it thinks the file is? > > What is it doing? Is it giving an Internal Server Error, a blank page, or > what? > > If it's giving an error, you should get a traceback via email. If not, > you'll have to adjust the [server] settings so it can. Or you can > temporarily turn on debug mode so you can see it in the interactive > traceback. > > If it's not giving an error, you'll probably have to force an error by > inserting "raise RuntimeError" so you can inspect > ``app_globals.template_lookup`` and ``config["pylons.paths"]`` to see > if the template paths are wrong. Or you could also add logging > statements to print this information to the error log. But since it's > happening inside render() or Mako, it's probably easier to debug > interactively. > > -- > Mike Orr <[email protected]> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" 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/pylons-discuss?hl=en.
