From: John P. R. <ro...@cs...> - 2003-07-27 19:27:46
|
Hi again: In trying to do a bit more debugging, I installed a new classic tracker using the standard: roundup-admin install classic bsddb <edit config file> roundup-admin initialize ... sequence. Now when I go to: http://localhost:8080/classic/index I get: Templating Error roundup.cgi.PageTemplates.PageTemplate.PTRuntimeError: Page Template page.html has errors. Debugging information follows A problem occurred in your template "page.html". Compilation failed roundup.cgi.TAL.TALDefs.METALError: METAL attributes on <td> require explicit </td>, at line 140, column 1 Looking for "macros", current path: "page" (<roundup.cgi.templating.RoundupPageTemplate instance at 0xa2ff0f8>) In path expression "page/macros/icing" While evaluating the standard:'templates/page/macros/icing' expression on line 2 Current variables: templates <roundup.cgi.templating.Templates instance at 0xa358908> repeat <roundup.cgi.PageTemplates.TALES.SafeMapping instance at 0xa307420> default <roundup.cgi.PageTemplates.TALES.Default instance at 0xa132db0> db <roundup.cgi.templating.HTMLDatabase instance at 0xa37cd20> utils <roundup.cgi.templating.utils instance at 0xa2f99a0> request <roundup.cgi.templating.HTMLRequest instance at 0xa2feb80> tracker <module '_roundup_tracker_1' from '/var/roundup/classic/__init__.pyc'> context <HTMLClass(0xa360a18) issue> nothing None config <module '_roundup_tracker_1.config' from '/var/roundup/classic/config.py'> options {} loop <roundup.cgi.PageTemplates.TALES.SafeMapping instance at 0xa307420> A problem occurred in your template "issue.index.html". In python expression "db.issue.renderWith('index', sort=('-', 'activity'), group=('+', 'priority'), filter=['status'], columns=['id','activity','title','creator','assignedto', 'status'], filterspec={'status':['-1','1','2','3','4','5','6','7']})" While evaluating the expression on line 7 Current variables: templates <roundup.cgi.templating.Templates instance at 0xa378698> repeat <roundup.cgi.PageTemplates.TALES.SafeMapping instance at 0xa3da5b0> default <roundup.cgi.PageTemplates.TALES.Default instance at 0xa132db0> db <roundup.cgi.templating.HTMLDatabase instance at 0xa3710f0> utils <roundup.cgi.templating.utils instance at 0xa35ced0> request <roundup.cgi.templating.HTMLRequest instance at 0xa38b7c8> tracker <module '_roundup_tracker_1' from '/var/roundup/classic/__init__.pyc'> nothing None config <module '_roundup_tracker_1.config' from '/var/roundup/classic/config.py'> options {'ok_message': [], 'error_message': []} loop <roundup.cgi.PageTemplates.TALES.SafeMapping instance at 0xa3da5b0> attrs {'tal:replace': "structure python:db.issue.renderWith('index',\n sort=('-', 'activity'), group=('+', 'priority'), filter=['status'],\n columns=['id','actiut, tal=1, strictinsert=0)() File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 154, in __call__ self.interpret(self.program) File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 186, in interpret handlers[opcode](self, args) File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/TAL/TALInterpreter.py", line 432, in do_insertStructure_tal structure = self.engine.evaluateStructure(expr) File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/PageTemplates/TALES.py", line 225, in evaluate v = expression(self) File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/PageTemplates/PythonExpr.py", line 71, in __call__ return f() File "<string>", line 2, in f File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/templating.py", line 494, in renderWith return pt.render(self._client, self.classname, req) File "/tools/roundup-0.6.0m/lib/pythrpreter.py", line 510, in do_useMacro macro = self.engine.evaluateMacro(macroExpr) File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/PageTemplates/TALES.py", line 225, in evaluate v = expression(self) File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/PageTemplates/Expressions.py", line 188, in __call__ return self._eval(econtext) File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/PageTemplates/Expressions.py", line 176, in _eval ob = self._subexprs[-1](econtext) File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/PageTemplates/Expressions.py", line 132, in _eval ob = restrictedTraverse(ob, path, getSecurityManager()) File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/PageTemplates/Expressions.py", line 305, in restrictedTraverse o = get(object, name, M) File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/PageTemplates/PageTemplate.py", line 125, in __getattr__ return self.pt_macros() File "/tools/roundup-0.6.0m/lib/python2.2/site-packages/roundup/cgi/PageTemplates/PageTemplate.py", line 120, in pt_macros raise PTRuntimeError, 'Page Template %s has errors.' % self.id PTRuntimeError: Page Template page.html has errors. The files compare the same as in the distribution from cvs, and is version .15 of page.html according to CVS/Entries. So is it me, or is something in flux in CVS and I just chose the wrong tine to get restarted? -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. |