Exception
ValueError: invalid literal for int() with base 10: 'Pass'
Traceback
File "/opt/socialskills/schooltool/eggs/zope.publisher-3.12.6-py2.7.egg/zope/publisher/publish.py", line 132, in publish
result = publication.callObject(request, obj)
File "/opt/socialskills/schooltool/eggs/zope.app.publication-3.13.2-py2.7.egg/zope/app/publication/zopepublication.py", line 207, in callObject
return mapply(ob, request.getPositionalArguments(), request)
File "/opt/socialskills/schooltool/eggs/zope.publisher-3.12.6-py2.7.egg/zope/publisher/publish.py", line 107, in mapply
return debug_call(obj, args)
Extra information: <schooltool.skin.flourish.zcml_content.SectionReportByStudentView_section_report_by_student.html object at 0x9bab1d0>
File "/opt/socialskills/schooltool/eggs/zope.publisher-3.12.6-py2.7.egg/zope/publisher/publish.py", line 113, in debug_call
return obj(*args)
File "/opt/socialskills/schooltool/src/schooltool/skin/flourish/page.py", line 81, in __call__
result = self.render(*args, **kw)
File "/opt/socialskills/schooltool.virginia/src/schooltool/virginia/browser/report.py", line 316, in render
return super(SectionReportView, self).render(*args, **kw)
File "/opt/socialskills/schooltool/src/schooltool/skin/flourish/page.py", line 74, in render
return self.template(*args, **kw)
File "/opt/socialskills/schooltool/eggs/zope.browserpage-3.12.2-py2.7.egg/zope/browserpage/viewpagetemplatefile.py", line 83, in __call__
return self.im_func(im_self, *args, **kw)
File "/opt/socialskills/schooltool/eggs/zope.browserpage-3.12.2-py2.7.egg/zope/browserpage/viewpagetemplatefile.py", line 51, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/opt/socialskills/schooltool/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations
Template "/opt/socialskills/schooltool/src/schooltool/skin/flourish/templates/main.pt"
File "/opt/socialskills/schooltool/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 742, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
Template "/opt/socialskills/schooltool/src/schooltool/skin/flourish/templates/main.pt", line 79, column 8
Expression: <PathExpr standard:u'view/page_template|nothing'>
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/expressions.py", line 211, in _eval
return ob()
File "/opt/socialskills/schooltool/eggs/zope.browserpage-3.12.2-py2.7.egg/zope/browserpage/viewpagetemplatefile.py", line 83, in __call__
return self.im_func(im_self, *args, **kw)
File "/opt/socialskills/schooltool/eggs/zope.browserpage-3.12.2-py2.7.egg/zope/browserpage/viewpagetemplatefile.py", line 51, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/opt/socialskills/schooltool/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations
Template "/opt/socialskills/schooltool/src/schooltool/skin/flourish/templates/page.pt"
File "/opt/socialskills/schooltool/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
Template "/opt/socialskills/schooltool/src/schooltool/skin/flourish/templates/page.pt", line 8, column 0
Expression: <PathExpr standard:u'view/providers/page_related|nothing'>
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/expressions.py", line 211, in _eval
return ob()
File "/opt/socialskills/schooltool/src/schooltool/skin/flourish/content.py", line 59, in __call__
return self.render(*args, **kw)
File "/opt/socialskills/schooltool/src/schooltool/skin/flourish/page.py", line 140, in render
result = ViewletManager.render(self, *args, **kw)
File "/opt/socialskills/schooltool/src/schooltool/skin/flourish/viewlet.py", line 239, in <lambda>
render = lambda self, *args, **kw: self.template(*args, **kw)
File "/opt/socialskills/schooltool/eggs/zope.browserpage-3.12.2-py2.7.egg/zope/browserpage/viewpagetemplatefile.py", line 83, in __call__
return self.im_func(im_self, *args, **kw)
File "/opt/socialskills/schooltool/src/schooltool/common/inlinept.py", line 111, in __call__
showtal=getattr(instance.request.debug, 'showTAL', False),
File "/opt/socialskills/schooltool/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations
File "/opt/socialskills/schooltool/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 821, in do_loop_tal
self.interpret(block)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 583, in do_setLocal_tal
self.engine.setLocal(name, self.engine.evaluateValue(expr))
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
Template "None", line 3, column 10
Expression: <PathExpr standard:'viewlet'>
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/expressions.py", line 211, in _eval
return ob()
File "/opt/socialskills/schooltool/src/schooltool/skin/flourish/viewlet.py", line 77, in __call__
return self.render(*args, **kw)
File "/opt/socialskills/schooltool/src/schooltool/skin/flourish/zcml_content.py", line 130, in <lambda>
setattr(new_class, attr, lambda *a, **kw: method(*a, **kw))
File "/opt/socialskills/schooltool/eggs/zope.browserpage-3.12.2-py2.7.egg/zope/browserpage/viewpagetemplatefile.py", line 83, in __call__
return self.im_func(im_self, *args, **kw)
File "/opt/socialskills/schooltool/eggs/zope.browserpage-3.12.2-py2.7.egg/zope/browserpage/viewpagetemplatefile.py", line 51, in __call__
sourceAnnotations=getattr(debug_flags, 'sourceAnnotations', 0),
File "/opt/socialskills/schooltool/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 132, in pt_render
strictinsert=0, sourceAnnotations=sourceAnnotations
Template "/opt/socialskills/schooltool.virginia/src/schooltool/virginia/browser/templates/section_report_score_colors.pt"
File "/opt/socialskills/schooltool/eggs/zope.pagetemplate-3.6.3-py2.7.egg/zope/pagetemplate/pagetemplate.py", line 240, in __call__
interpreter()
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 271, in __call__
self.interpret(self.program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 533, in do_optTag_tal
self.do_optTag(stuff)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 518, in do_optTag
return self.no_tag(start, program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 513, in no_tag
self.interpret(program)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 343, in interpret
handlers[opcode](self, args)
File "/opt/socialskills/schooltool/eggs/zope.tal-3.5.2-py2.7.egg/zope/tal/talinterpreter.py", line 742, in do_insertStructure_tal
structure = self.engine.evaluateStructure(expr)
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/tales.py", line 696, in evaluate
return expression(self)
Template "/opt/socialskills/schooltool.virginia/src/schooltool/virginia/browser/templates/section_report_score_colors.pt", line 21, column 4
Expression: <PathExpr standard:u'view/view/providers/ajax/score_colors_table'>
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/expressions.py", line 217, in __call__
return self._eval(econtext)
File "/opt/socialskills/schooltool/eggs/zope.tales-3.5.1-py2.7.egg/zope/tales/expressions.py", line 211, in _eval
return ob()
File "/opt/socialskills/schooltool/src/schooltool/skin/flourish/viewlet.py", line 253, in __call__
return ViewletManager.__call__(self, *args, **kw)
File "/opt/socialskills/schooltool/src/schooltool/skin/flourish/content.py", line 58, in __call__
self.update()
File "/opt/socialskills/schooltool/src/schooltool/table/ajax.py", line 107, in update
self.updateFormatter()
File "/opt/socialskills/schooltool.virginia/src/schooltool/virginia/browser/report.py", line 759, in updateFormatter
css_classes={'table': 'score-colors-table'})
File "/opt/socialskills/schooltool/src/schooltool/table/table.py", line 239, in setUp
items = self.items()
File "/opt/socialskills/schooltool.virginia/src/schooltool/virginia/browser/report.py", line 729, in items
is_passing = int(score[0]) >= int(self.view.passing_score)
This is in the social skills server.