Discussion:
[schooltool] update schoolbell 0.8 to 1.2.4
Andreas Matthus
2006-10-16 23:23:04 UTC
Permalink
Hallo,

I updated my schoolbell from 0.8 to 1.2.4 (debian testing) and cant use
my old data. It is verry hard!

Can I convert the data to the new format?

The error-messages are below.

with regards
Andreas

--------snipp
/etc/init.d/schoolbell start
Starting SchoolBell...Traceback (most recent call last):
File "/usr/bin/schoolbell", line 23, in ?
schoolbell.app.main.StandaloneServer().main()
File "/usr/lib/python2.4/site-packages/schoolbell/app/main.py", line
478, in main
self.setup(options)
File "/usr/lib/python2.4/site-packages/schoolbell/app/main.py", line
526, in setup
notify(DatabaseOpened(db))
File "/usr/lib/python2.4/site-packages/zope/event/__init__.py", line
23, in notify
subscriber(event)
File "/usr/lib/python2.4/site-packages/zope/app/event/dispatching.py",
line 66, in dispatch
for ignored in subscribers(event, None):
File "/usr/lib/python2.4/site-packages/zope/component/__init__.py",
line 181, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/lib/python2.4/site-packages/zope/component/site.py", line
89, in subscribers
return self.adapters.subscribers(required, provided)
File "/usr/lib/python2.4/site-packages/zope/interface/adapter.py",
line 481, in subscribers
subscribers = [subscription(*objects)
File
"/usr/lib/python2.4/site-packages/zope/app/appsetup/bootstrap.py", line
151, in bootStrapSubscriber
zope.event.notify(interfaces.DatabaseOpenedWithRoot(db))
File "/usr/lib/python2.4/site-packages/zope/event/__init__.py", line
23, in notify
subscriber(event)
File "/usr/lib/python2.4/site-packages/zope/app/event/dispatching.py",
line 66, in dispatch
for ignored in subscribers(event, None):
File "/usr/lib/python2.4/site-packages/zope/component/__init__.py",
line 181, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/lib/python2.4/site-packages/zope/component/site.py", line
89, in subscribers
return self.adapters.subscribers(required, provided)
File "/usr/lib/python2.4/site-packages/zope/interface/adapter.py",
line 481, in subscribers
subscribers = [subscription(*objects)
File
"/usr/lib/python2.4/site-packages/zope/app/generations/generations.py",
line 430, in evolveMinimumSubscriber
evolve(event.database, EVOLVEMINIMUM)
File
"/usr/lib/python2.4/site-packages/zope/app/generations/generations.py",
line 416, in evolve
manager.generation)
zope.app.generations.interfaces.UnableToEvolve: (3, u'schoolbell.app',
8)
failed!
-----snapp
Ignas Mikalajunas
2006-10-16 23:23:04 UTC
Permalink
Post by Andreas Matthus
Hallo,
I updated my schoolbell from 0.8 to 1.2.4 (debian testing) and cant use
my old data. It is verry hard!
Can I convert the data to the new format?
The error-messages are below.
with regards
Andreas
Hi, could you please post the rest of the traceback as you have
snipped it in the place that was most important. Is there any
confidential data in the Data.fs ? If not maybe you could send it to
me so i could be sure that it evolves to new version properly.

Ignas
Brian Sutherland
2006-10-16 23:23:04 UTC
Permalink
Post by Andreas Matthus
Hallo,
I updated my schoolbell from 0.8 to 1.2.4 (debian testing) and cant use
my old data. It is verry hard!
Can I convert the data to the new format?
Sorry I realized that My earlier reply probably went to the wrong list,
here it is again:

We included an export-import script, for the 0.8 -> 1.0 migration. So it
needs to be done by installing the 1.0 packages after the 0.8 packages.
Unfortunately this script only works from 0.8/0.9 to 1.0.

So I would suggest removing 1.2.4, re-installing 0.8 and then manually
installing 0.9, 1.0, 1.1 and finally 1.2.4. You can access repositories of
all these packages from http://snapshot.debian.net.

Unfortunately, as you've already installed 1.2, there may be some other
issues as well. So there may be some jiggery-pokery required.

But I strongly suggest that you make a backup of your configuration [1] file
and database [2] before trying this.

There were so many large structural changes in schoolbell as well as in
the way upgrades are performed between 0.8 and 1.2 that it was
impossible to maintain an upgrade path that skipped too many versions.

[1] /etc/schoolbell/schoolbell.conf
[2] /var/lib/schoolbell/Data.fs
Post by Andreas Matthus
The error-messages are below.
with regards
Andreas
--------snipp
/etc/init.d/schoolbell start
File "/usr/bin/schoolbell", line 23, in ?
schoolbell.app.main.StandaloneServer().main()
File "/usr/lib/python2.4/site-packages/schoolbell/app/main.py", line
478, in main
self.setup(options)
File "/usr/lib/python2.4/site-packages/schoolbell/app/main.py", line
526, in setup
notify(DatabaseOpened(db))
File "/usr/lib/python2.4/site-packages/zope/event/__init__.py", line
23, in notify
subscriber(event)
File "/usr/lib/python2.4/site-packages/zope/app/event/dispatching.py",
line 66, in dispatch
File "/usr/lib/python2.4/site-packages/zope/component/__init__.py",
line 181, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/lib/python2.4/site-packages/zope/component/site.py", line
89, in subscribers
return self.adapters.subscribers(required, provided)
File "/usr/lib/python2.4/site-packages/zope/interface/adapter.py",
line 481, in subscribers
subscribers = [subscription(*objects)
File
"/usr/lib/python2.4/site-packages/zope/app/appsetup/bootstrap.py", line
151, in bootStrapSubscriber
zope.event.notify(interfaces.DatabaseOpenedWithRoot(db))
File "/usr/lib/python2.4/site-packages/zope/event/__init__.py", line
23, in notify
subscriber(event)
File "/usr/lib/python2.4/site-packages/zope/app/event/dispatching.py",
line 66, in dispatch
File "/usr/lib/python2.4/site-packages/zope/component/__init__.py",
line 181, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/lib/python2.4/site-packages/zope/component/site.py", line
89, in subscribers
return self.adapters.subscribers(required, provided)
File "/usr/lib/python2.4/site-packages/zope/interface/adapter.py",
line 481, in subscribers
subscribers = [subscription(*objects)
File
"/usr/lib/python2.4/site-packages/zope/app/generations/generations.py",
line 430, in evolveMinimumSubscriber
evolve(event.database, EVOLVEMINIMUM)
File
"/usr/lib/python2.4/site-packages/zope/app/generations/generations.py",
line 416, in evolve
manager.generation)
zope.app.generations.interfaces.UnableToEvolve: (3, u'schoolbell.app',
8)
failed!
-----snapp
_______________________________________________
Schooltool mailing list
http://lists.schooltool.org/mailman/listinfo/schooltool
--
Brian Sutherland

Metropolis - "it's the first movie with a robot. And she's a woman.
And she's EVIL!!"
Loading...