This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: bug tracker exception, when searching for "creator"
Type: crash Stage:
Components: None Versions: 3rd party
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ThurnerRupert, georg.brandl
Priority: normal Keywords:

Created on 2008-01-19 10:48 by ThurnerRupert, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg60142 - (view) Author: (ThurnerRupert) Date: 2008-01-19 10:48
filling out "creator" gives the following traceback:

Traceback (most recent call last):
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/client.py", line 770, in renderContext
    result = pt.render(self, None, None, **args)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/templating.py", line 323, in render
    getEngine().getContext(c), output, tal=1, strictinsert=0)()
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 192, in __call__
    self.interpret(self.program)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret
    handlers[opcode](self, args)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 666, in do_useMacro
    self.interpret(macro)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret
    handlers[opcode](self, args)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 411, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 396, in do_optTag
    return self.no_tag(start, program)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 391, in no_tag
    self.interpret(program)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret
    handlers[opcode](self, args)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 689, in do_defineSlot
    self.interpret(slot)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret
    handlers[opcode](self, args)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 411, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 396, in do_optTag
    return self.no_tag(start, program)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 391, in no_tag
    self.interpret(program)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 236, in interpret
    handlers[opcode](self, args)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/TAL/TALInterpreter.py", line 462, in 
do_setLocal_tal
    self.engine.setLocal(name, self.engine.evaluateValue(expr))
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/PageTemplates/TALES.py", line 227, in evaluate
    return expression(self)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/PageTemplates/Expressions.py", line 194, in 
__call__
    return self._eval(econtext)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/PageTemplates/Expressions.py", line 189, in _eval
    return render(ob, econtext.vars)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/PageTemplates/Expressions.py", line 95, in render
    ob = ob()
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/cgi/templating.py", line 2463, in batch
    l = [id for id in klass.filter(matches, filterspec, sort, group)
  File "/home/roundup/roundup-production//lib/python2.4/site-
packages/roundup/backends/rdbms_common.py", line 2178, in filter
    del d[None]
KeyError
msg60143 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-01-19 10:53
Note that this only happens when the user does not exist.

It's a bug nevertheless.
msg60144 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-01-19 10:54
I've now moved it to the meta tracker, where python's roundup is maintained.
msg60145 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-01-19 10:58
(for reference: http://psf.upfronthosting.co.za/roundup/meta/issue179)
History
Date User Action Args
2022-04-11 14:56:29adminsetgithub: 46178
2008-01-19 10:58:43georg.brandlsetmessages: + msg60145
2008-01-19 10:54:51georg.brandlsetstatus: open -> closed
2008-01-19 10:54:03georg.brandlsetmessages: + msg60144
2008-01-19 10:53:39georg.brandlsetnosy: + georg.brandl
messages: + msg60143
2008-01-19 10:48:49ThurnerRupertcreate