Tried to upgrade an existing instance to flourish, unable to start with an error:
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
INFO:zope.app.generations:main db/schooltool: currently at generation 35, targetting generation 37
ERROR:zope.app.generations: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/schedule_builders.py", line 160, in build
built = builder.build(schedule_root, context(app=app))
File "/usr/lib/python2.7/dist-packages/schooltool/generations/evolve36/schedule_builders.py", line 121, in build
owner=self.owner))
File "/usr/lib/python2.7/dist-packages/schooltool/generations/evolve36/schedule_builders.py", line 83, in build
period = context.shared.period_map[key]
KeyError: (1314654565, u'pirma-pamaina', u'Pirmadienis', u'ketvirta')
Traceback (most recent call last):
File "/usr/bin/paster", line 18, in <module>
command.run()
File "/usr/lib/pymodules/python2.7/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/usr/lib/pymodules/python2.7/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/usr/lib/pymodules/python2.7/paste/script/command.py", line 218, in run
result = self.command()
File "/usr/lib/pymodules/python2.7/paste/script/serve.py", line 276, in command
relative_to=base, global_conf=vars)
File "/usr/lib/pymodules/python2.7/paste/script/serve.py", line 313, in loadapp
**kw)
File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 204, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 225, in loadobj
return context.create()
File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 625, in create
return self.object_type.invoke(self)
File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 110, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/usr/lib/pymodules/python2.7/paste/deploy/util/fixtypeerror.py", line 57, in fix_call
val = callable(*args, **kw)
File "/usr/lib/python2.7/dist-packages/schooltool/paste/main.py", line 48, in schooltool_app_factory
os.path.join(global_conf['here'], config_file))
File "/usr/lib/python2.7/dist-packages/schooltool/paste/main.py", line 37, in __init__
db = self.setup(options)
File "/usr/lib/python2.7/dist-packages/schooltool/app/main.py", line 707, in setup
notify(DatabaseOpened(db))
File "/usr/lib/python2.7/dist-packages/zope/event/__init__.py", line 31, in notify
subscriber(event)
File "/usr/lib/python2.7/dist-packages/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/usr/lib/python2.7/dist-packages/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/lib/python2.7/dist-packages/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/usr/lib/python2.7/dist-packages/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/usr/lib/python2.7/dist-packages/zope/app/appsetup/bootstrap.py", line 175, in bootStrapSubscriber
zope.event.notify(zope.processlifetime.DatabaseOpenedWithRoot(db))
File "/usr/lib/python2.7/dist-packages/zope/event/__init__.py", line 31, in notify
subscriber(event)
File "/usr/lib/python2.7/dist-packages/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/usr/lib/python2.7/dist-packages/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/lib/python2.7/dist-packages/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/usr/lib/python2.7/dist-packages/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/usr/lib/python2.7/dist-packages/zope/app/generations/generations.py", line 521, in evolveMinimumSubscriber
evolve(event.database, EVOLVEMINIMUM)
File "/usr/lib/python2.7/dist-packages/zope/app/generations/generations.py", line 506, in evolve
manager.generation)
zope.app.generations.interfaces.UnableToEvolve: (36, u'schooltool', 37)
This bug prevents me from using my database at all. Would it be possible to get the patch asap. I would be glad to help by checking it out on my system.