Struggling with CherryPy and Genshi

2008-04-10 Thread Joe Tseng
I'm still a very pythonically green newbie (since last Tuesday) so this issue may be obvious to someone else. I'm trying to get a CherryPy/Genshi-based web app to display the contents of a list object being passed to a template but it's not playing nice. I was able to verify in the shell the l

RE: Struggling with CherryPy and Genshi

2008-04-10 Thread Joe Tseng
Well I was able to make the error msg go away using the following: stream = tmpl.generate(runlist = runlist)Now I'm trying to loop through the list in my template but I'm getting a zero item count. I've verified runlist in the template is of type list. What else could I be doing wrong? From