[Nitro] How to debug templates not being rendered?

Bill Kelly billk at cts.com
Tue Dec 18 13:25:22 EST 2007

From: "Arne Brasseur" <arne at arnebrasseur.net>
> Bill Kelly schreef:
> > (Note: my templates use the extension .htmlx)
> That's probably the problem, in the current version the x was dropped, 
> try renaming them to .html (same for cssx -> css).

Thanks, I've tried that now, but it made no difference.

When I use strace on the demo/blog app, I can see nitro reading the
template files:

stat64("app/template/view.html", {st_mode=S_IFREG|0640, st_size=133, ...}) = 0
open("app/template/view.html", O_RDONLY|O_LARGEFILE) = 7
stat64("app/template/post.inc.html", {st_mode=S_IFREG|0640, st_size=242, ...}) = 0
open("app/template/post.inc.html", O_RDONLY|O_LARGEFILE) = 7

However, when I strace my app, I don't see nitro ever trying to 
read my template files.

Not sure why.......

At this point I guess I'll be putting some printouts in nitro
and raw to try to understand how it works...  Any tips would be
appreciated... :)



More information about the Nitro-general mailing list