Roundup Tracker - Issues

Message952

Author anonymous
Recipients
Date 2003-09-03.14:46:22
Message-id
In-reply-to
When I press the "Submit New Entry" button from the
add user page I get the traceback shown below.

This is using the web interface as shipped in roundup-
0.6.0.

Cheers,
Giles Brown (giles_brown@hotmail.com)

"""
Templating Error
exceptions.KeyError: list

Debugging information follows

Looking for "list", current path:
In path expression "list" 
While evaluating the standard:'context/list' expression 
on line 22 Current variables: 
templates <roundup.cgi.templating.Templates instance 
at 0x011938E0> 
repeat <roundup.cgi.PageTemplates.TALES.SafeMapping 
instance at 0x010E78C0> 
default <roundup.cgi.PageTemplates.TALES.Default 
instance at 0x00E467D0> 
db <roundup.cgi.templating.HTMLDatabase instance at 
0x01195020> 
utils <roundup.cgi.templating.utils instance at 
0x01191530> 
request <roundup.cgi.templating.HTMLRequest instance 
at 0x01190440> 
tracker <module '_roundup_tracker_1' from '\\trn2304
\groups_trtemp3
\roundup\trackers\tempplus\__init__.pyc'> 
context <HTMLItem(0x10a9db0) user 15> 
nothing None 
config <module '_roundup_tracker_1.config' 
from '\\trn2304\groups_trtemp3
\roundup\trackers\tempplus\config.pyc'> 
options {'ok_message': ['user 15 
created'], 'error_message': []} 
loop <roundup.cgi.PageTemplates.TALES.SafeMapping 
instance at 0x010E78C0> 
attrs {'tal:repeat': 'user 
context/list', 'tal:attributes': "class python:['normal', 'alt']
[repeat['user'].index%6/3]"} 

A problem occurred in your template "user.index". 
Full traceback: 
Traceback (most recent call last):
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\client.py", line 523, in 
renderContext
    return pt.render(self, None, None, **args)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\templating.py", line 214, in render
    getEngine().getContext(c), output, tal=1, 
strictinsert=0)()
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\TAL\TALInterpreter.py", line 154, 
in __call__
    self.interpret(self.program)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\TAL\TALInterpreter.py", line 186, 
in interpret
    handlers[opcode](self, args)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\TAL\TALInterpreter.py", line 525, 
in do_useMacro
    self.interpret(macro)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\TAL\TALInterpreter.py", line 186, 
in interpret
    handlers[opcode](self, args)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\TAL\TALInterpreter.py", line 549, 
in do_defineSlot
    self.interpret(slot)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\TAL\TALInterpreter.py", line 186, 
in interpret
    handlers[opcode](self, args)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\TAL\TALInterpreter.py", line 491, 
in do_condition
    self.interpret(block)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\TAL\TALInterpreter.py", line 186, 
in interpret
    handlers[opcode](self, args)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\TAL\TALInterpreter.py", line 474, 
in do_loop_tal
    iterator = self.engine.setRepeat(name, expr)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\PageTemplates\TALES.py", line 
210, in setRepeat
    expr = self.evaluate(expr)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\PageTemplates\TALES.py", line 
225, in evaluate
    v = expression(self)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\PageTemplates\Expressions.py", 
line 188, in __call__
    return self._eval(econtext)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\PageTemplates\Expressions.py", 
line 176, in _eval
    ob = self._subexprs[-1](econtext)
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\PageTemplates\Expressions.py", 
line 132, in _eval
    ob = restrictedTraverse(ob, path, getSecurityManager
())
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\PageTemplates\Expressions.py", 
line 314, in restrictedTraverse
    o = object[name]
  File "C:\Program Files\Python22\Lib\site-
packages\roundup\cgi\templating.py", line 527, in 
__getitem__
    prop = self._props[item]
KeyError: list
"""

 

 
History
Date User Action Args
2009-02-03 14:20:28adminlinkissue799842 messages
2009-02-03 14:20:28admincreate