darcs

Issue 1340 search => templating error (roundup)

Title search => templating error (roundup)
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List Serware, darcs-devel, dmitry.kurochkin, kowey, thorkilnaur
Assigned To simon
Topics BugTracker

Created on 2009-02-02.10:25:57 by kowey, last changed 2009-10-23.23:31:10 by admin.

Messages
msg7259 (view) Author: kowey Date: 2009-02-02.10:25:51
Simon: may I assign this to you?

I tried performing a search for bugs created by 'Tim' and got this error:

Full traceback:

Traceback (most recent call last):
  File "/usr/local/src/roundup/roundup/cgi/client.py", line 730, in renderContext
    result = pt.render(self, None, None, **args)
  File "/usr/local/src/roundup/roundup/cgi/templating.py", line 323, in render
    getEngine().getContext(c), output, tal=1, strictinsert=0)()
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 192, in
__call__
    self.interpret(self.program)
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 236, in
interpret
    handlers[opcode](self, args)
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 666, in
do_useMacro
    self.interpret(macro)
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 236, in
interpret
    handlers[opcode](self, args)
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 411, in
do_optTag_tal
    self.do_optTag(stuff)
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 396, in
do_optTag
    return self.no_tag(start, program)
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 391, in
no_tag
    self.interpret(program)
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 236, in
interpret
    handlers[opcode](self, args)
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 689, in
do_defineSlot
    self.interpret(slot)
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 236, in
interpret
    handlers[opcode](self, args)
  File "/usr/local/src/roundup/roundup/cgi/TAL/TALInterpreter.py", line 462, in
do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/usr/local/src/roundup/roundup/cgi/PageTemplates/TALES.py", line 227, in
evaluate
    return expression(self)
  File "/usr/local/src/roundup/roundup/cgi/PageTemplates/Expressions.py", line
194, in __call__
    return self._eval(econtext)
  File "/usr/local/src/roundup/roundup/cgi/PageTemplates/Expressions.py", line
189, in _eval
    return render(ob, econtext.vars)
  File "/usr/local/src/roundup/roundup/cgi/PageTemplates/Expressions.py", line
95, in render
    ob = ob()
  File "/usr/local/src/roundup/roundup/cgi/templating.py", line 2466, in batch
    l = [id for id in klass.filter(matches, filterspec, sort, group)
  File "/usr/local/src/roundup/roundup/backends/rdbms_common.py", line 2178, in
filter
    del d[None]
KeyError
msg8074 (view) Author: kowey Date: 2009-08-10.16:06:49
I just tried this search again and the problem seems to have gone away.
History
Date User Action Args
2009-02-02 10:25:57koweycreate
2009-08-10 16:06:51koweysetstatus: unread -> resolved
nosy: kowey, simon, thorkilnaur, dmitry.kurochkin, Serware
messages: + msg8074
2009-08-25 17:40:19adminsetnosy: + darcs-devel, - simon
2009-08-27 14:21:53adminsetnosy: kowey, darcs-devel, thorkilnaur, dmitry.kurochkin, Serware
2009-10-23 22:45:39adminsetnosy: + serware, - Serware
2009-10-23 23:31:10adminsetnosy: + Serware, - serware