Hi, I'm trying to get BundleBuggy working on a RHEL5 server, and am currently getting errors which seems to be related to TurboGear's kid template parsing... so maybe someone here can help me out.
Here is the end of the traceback I get when trying to access BundleBuggy's front page : [...] File "/home/elisa/BundleBuggy/bundlebuggy/templates/welcome.py", line 51, in ? File "/usr/lib/python2.4/site-packages/kid/template_util.py", line 125, in base_class_extends raise TemplateExtendsError((str(e) TemplateExtendsError: Could not open '/home/test/BundleBuggy/bundlebuggy/templates/master.kid' Template file "'master.kid'" not found while processing extends="'master.kid'" Error location in template file '/home/test/BundleBuggy/bundlebuggy/templates/welcome.kid' between line 2 and line 34: <?python ... ?> The "file not found" error seems to be misleading, as the file is there, but the parsing chokes on the python code inside the .kid file. What I've tried is executing kid directly on the template file : [...] File "/usr/lib64/python2.4/site-packages/dispatch/functions.py", line 326, in parse return parse_expr(expr_string,builder) File "/usr/lib64/python2.4/site-packages/dispatch/ast_builder.py", line 383, in parse_expr return build(builder, parser.expr(expr).totuple(1)[1]) AttributeError: 'module' object has no attribute 'expr' Error location in template file '/home/test/BundleBuggy/bundlebuggy/templates/welcome.kid' between line 2 and line 34: <?python ... ?> I'm a little confused about the "expr" problem here. I've checked, and have the latest kid, TurboGears, TurboKid, RuleDispatch... pretty much of everything. I am running the RHEL5 original python 2.4 as you can see. Does anyone have an idea about what the problem preventing kid from interpreting these python sections could be? Matthias -- Clean custom Red Hat Linux rpm packages : http://freshrpms.net/ Fedora release 8 (Werewolf) - Linux kernel 2.6.24.4-64.fc8 Load : 0.21 0.18 0.17 ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ kid-template-discuss mailing list kid-template-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kid-template-discuss