Teaching Pending Messages inaccessable

Bug #276039 reported by Jason Straw
2
Affects Status Importance Assigned to Milestone
CanDo
Critical
Alan Elkner

Bug Description

2008-09-29 10:10:35,426 https://acc08.candoskills.org/sections/10-245/queue/index.html
Traceback (most recent call last):
  File "/home/cando/competency-model-refactoring-6/eggs/zope.publisher-3.4.6-py2.4.egg/zope/publisher/publish.py", line 133, in publish
    result = publication.callObject(request, obj)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.app.publication-3.4.3-py2.4.egg/zope/app/publication/zopepublication.py", line 167, in callObject
    return mapply(ob, request.getPositionalArguments(), request)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.publisher-3.4.6-py2.4.egg/zope/publisher/publish.py", line 108, in mapply
    return debug_call(obj, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.publisher-3.4.6-py2.4.egg/zope/publisher/publish.py", line 114, in debug_call
    return obj(*args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.app.pagetemplate-3.4.1-py2.4.egg/zope/app/pagetemplate/simpleviewclass.py", line 44, in __call__
    return self.index(*args, **kw)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.app.pagetemplate-3.4.1-py2.4.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 83, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.app.pagetemplate-3.4.1-py2.4.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 51, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  File "/home/cando/competency-model-refactoring-6/eggs/zope.pagetemplate-3.4.0-py2.4.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 957, in do_defineSlot
    self.interpret(block)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 536, in do_optTag_tal
    self.do_optTag(stuff)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 521, in do_optTag
    return self.no_tag(start, program)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 949, in do_defineSlot
    self.interpret(slot)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 824, in do_loop_tal
    self.interpret(block)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 534, in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 745, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/expressions.py", line 211, in _eval
    return ob()
  File "/home/cando/competency-model-refactoring-6/eggs/zope.app.pagetemplate-3.4.1-py2.4.egg/zope/app/pagetemplate/simpleviewclass.py", line 44, in __call__
    return self.index(*args, **kw)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.app.pagetemplate-3.4.1-py2.4.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 83, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.app.pagetemplate-3.4.1-py2.4.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 51, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),

  File "/home/cando/competency-model-refactoring-6/eggs/zope.pagetemplate-3.4.0-py2.4.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 824, in do_loop_tal
    self.interpret(block)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 534, in do_optTag_tal
    self.no_tag(stuff[-2], stuff[-1])
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 516, in no_tag
    self.interpret(program)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 745, in do_insertStructure_tal
    structure = self.engine.evaluateStructure(expr)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/expressions.py", line 211, in _eval
    return ob()
  File "/home/cando/competency-model-refactoring-6/eggs/zope.app.pagetemplate-3.4.1-py2.4.egg/zope/app/pagetemplate/simpleviewclass.py", line 44, in __call__
    return self.index(*args, **kw)

  File "/home/cando/competency-model-refactoring-6/eggs/zope.app.pagetemplate-3.4.1-py2.4.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 83, in __call__
    return self.im_func(im_self, *args, **kw)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.app.pagetemplate-3.4.1-py2.4.egg/zope/app/pagetemplate/viewpagetemplatefile.py", line 51, in __call__
    sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
  File "/home/cando/competency-model-refactoring-6/eggs/zope.pagetemplate-3.4.0-py2.4.egg/zope/pagetemplate/pagetemplate.py", line 115, in pt_render
    strictinsert=0, sourceAnnotations=sourceAnnotations)()
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 271, in __call__
    self.interpret(self.program)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 346, in interpret
    handlers[opcode](self, args)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tal-3.4.1-py2.4.egg/zope/tal/talinterpreter.py", line 854, in do_condition
    if not self.tal or self.engine.evaluateBoolean(condition):
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/tales.py", line 701, in evaluateBoolean
    return not not self.evaluate(expr)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/tales.py", line 696, in evaluate
    return expression(self)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/expressions.py", line 217, in __call__
    return self._eval(econtext)
  File "/home/cando/competency-model-refactoring-6/eggs/zope.tales-3.4.0-py2.4.egg/zope/tales/expressions.py", line 211, in _eval
    return ob()
  File "/home/cando/competency-model-refactoring-6/src/cando/message/browser/message.py", line 164, in studentIsActive
    return not self.isTeacher() and bool(self.getStatus())
  File "/home/cando/competency-model-refactoring-6/src/cando/message/browser/message.py", line 215, in isTeacher
    if person in messageBox.managers:
AttributeError: 'Message' object has no attribute 'managers'

Jason Straw (jasonstraw)
Changed in cando:
assignee: nobody → aelkner
importance: Undecided → High
milestone: none → 2008.08
David Welsh (rdavidw)
Changed in cando:
importance: High → Critical
David Welsh (rdavidw)
Changed in cando:
status: New → Triaged
David Welsh (rdavidw)
Changed in cando:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers