Timetables evolution fails on exception days

Bug #1003834 reported by Gediminas Paulauskas on 2012-05-24
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
Critical
Justas Sadzevičius

Bug Description

A schooltool 1.6 database could not be evolved because of a bug in evolution code.

2012-05-24 10:07:50,043 main db/schooltool: failed to evolve to generation 36
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/zope/app/generations/generations.py", line 494, in evolve
    manager.evolve(context, generation)
  File "/usr/lib/python2.7/dist-packages/zope/app/generations/generations.py", line 145, in evolve
    evolver.evolve(context)
  File "/usr/lib/python2.7/dist-packages/schooltool/generations/evolve36/__init__.py", line 37, in evolve
    evolveTimetables(app)
  File "/usr/lib/python2.7/dist-packages/schooltool/generations/evolve36/evolve.py", line 60, in evolveTimetables
    built = builder.build(app, BuildContext(shared=result))
  File "/usr/lib/python2.7/dist-packages/schooltool/generations/evolve36/timetable_builders.py", line 510, in build
    built = builder.build(timetable_root, context(app=app))
  File "/usr/lib/python2.7/dist-packages/schooltool/generations/evolve36/timetable_builders.py", line 464, in build
    schoolyear=schoolyear))
  File "/usr/lib/python2.7/dist-packages/schooltool/generations/evolve36/timetable_builders.py", line 422, in build
    period_map=built_periods.period_map))
  File "/usr/lib/python2.7/dist-packages/schooltool/generations/evolve36/timetable_builders.py", line 306, in build
    meeting_id = timetable.uniqueMeetingId(
AttributeError: 'Timetable' object has no attribute 'uniqueMeetingId'

Changed in schooltool:
status: New → Incomplete
status: Incomplete → Confirmed
importance: Undecided → Critical
milestone: none → 2.1.1
Changed in schooltool:
assignee: nobody → Justas Sadzevičius (justas-pov)
status: Confirmed → In Progress
Changed in schooltool:
status: In Progress → Fix Committed
Changed in schooltool:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related questions