On Mon, Jul 24, 2006 at 06:57:58PM +0200, Andreas Matthus wrote:
> 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

> 
> 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
> 
> _______________________________________________
> Schooltool mailing list
> [email protected]
> 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!!"
_______________________________________________
Schooltool mailing list
[email protected]
http://lists.schooltool.org/mailman/listinfo/schooltool

Reply via email to