Cannot display timetable when first day is empty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Fix Released
|
Low
|
Gediminas Paulauskas |
Bug Description
Reproduce:
1) create a new time table, name it Exensive a.m.
2) answer "days of the week" to the question "Does your school's timetable cycle use days of the week, or a rotating cycle?"
3) answer "different times" to the question "Do classes begin and end at the same time each day in your school's timetable?"
4) in the 7 text areas tagged Monday till Sunday, empty the first five (Monday til Friday) and fill "8:00-12:00" for Saturday and Sunday.
5) answer "designated by time" to the question "Do periods have names or are they simply designated by time?"
6) answer "yes" to "Do you check student attendance for the day in a homeroom period or equivalent?"
7) check both checkboxes in question "Please indicate the homeroom period(s) for each day:"
8) the new timetable is created, clikc its name "Exensive a.m.", this error message is shown:
Server Error
An internal server error has occurred. This most likely means that you have found a bug in SchoolTool. Please report it on the issue tracker.
Exception
UnboundLocalE
Traceback
File "/usr/lib/
result = publication.
File "/usr/lib/
return mapply(ob, request.
File "/usr/lib/
return debug_call(obj, args)
Extra information: <zope.app.
File "/usr/lib/
return obj(*args)
File "/usr/lib/
return self.index(*args, **kw)
File "/usr/lib/
return self.im_
File "/usr/lib/
sourceAnnotat
File "/usr/lib/
strictinsert=0, sourceAnnotatio
Template "/usr/lib/
File "/usr/lib/
self.
File "/usr/lib/
handlers[
File "/usr/lib/
self.
File "/usr/lib/
handlers[
File "/usr/lib/
self.
File "/usr/lib/
return self.no_tag(start, program)
File "/usr/lib/
self.
File "/usr/lib/
handlers[
File "/usr/lib/
self.
File "/usr/lib/
handlers[
File "/usr/lib/
self.
File "/usr/lib/
return self.no_tag(start, program)
File "/usr/lib/
self.
File "/usr/lib/
handlers[
File "/usr/lib/
self.
File "/usr/lib/
handlers[
File "/usr/lib/
self.
File "/usr/lib/
return self.no_tag(start, program)
File "/usr/lib/
self.
File "/usr/lib/
handlers[
File "/usr/lib/
iterator = self.engine.
File "/usr/lib/
expr = self.evaluate(expr)
File "/usr/lib/
return expression(self)
Template "/usr/lib/
Expression: <PathExpr standard:
File "/usr/lib/
return self._eval(
File "/usr/lib/
return ob()
File "/usr/lib/
return format_
File "/usr/lib/
for nrow in range(nrow + 1, len(rows)):
summary: |
- Server error when clicking on Timetable CancelOk + Server error when clicking on Timetable |
tags: | added: timetables traceback |
summary: |
- Server error when clicking on Timetable + Cannot display timetable when first day is empty |
Changed in schooltool: | |
status: | New → Fix Committed |
importance: | Undecided → Low |
assignee: | nobody → Gediminas Paulauskas (menesis) |
milestone: | none → 1.4.0 |
Changed in schooltool: | |
status: | Fix Committed → Fix Released |
Just for your information, this is potentially a duplicate of 174190