please send this type of message to the trunk list, remember python25 is still experimental.
On 2/10/07, bearsprite <[EMAIL PROTECTED]> wrote: > > I checked out the r2576 and test with python 2.5(also with the > ruledispatch 0.5a0? from svn, compiled by myself). > > I created a project, but when I started the buildin server and > browsed, error raised: > > >> for ev, item in stream: > >> File "D:\Projects\web\zoll\zoll\templates\master.py", line 138, in > >> _match_func > >>NameError: name 'tg_flash' is not defined > >>Error location in template file > >>'D:\\Projects\\web\\zoll\\zoll\\templates\\welcome.kid' > >>between line 23, column 2 and line 24, column 2: > >> </div> > > I read the turbogears's controllers.py, line 77~79: > > tg_flash = _get_flash() > if not tg_flash == None: > output["tg_flash"] = tg_flash > > when the _get_flash() return None(maybe?), the output would not have > key "tg_flash", so it was wrong. > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" 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/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

