error while starting the schooltool service

Bug #1258529 reported by hero1900 on 2013-12-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gediminas Paulauskas

Bug Description

i got this error for the error.log file the service staus is starting and here is the errors in the tail of the log file
my system is (13.10 64 bit and i have the latest ppa package).:

manager.evolve(context, generation)
  File "/usr/lib/python2.7/dist-packages/zope/app/generations/", line 145, in evolve
  File "/usr/lib/python2.7/dist-packages/schooltool/generations/", line 63, in evolve
  File "/usr/lib/python2.7/dist-packages/schooltool/generations/", line 37, in evolveScheduleContainers
    prefs = annotations[APP_PREFERENCES_KEY]
  File "/usr/lib/python2.7/dist-packages/zope/annotation/", line 54, in __getitem__
    return annotations[key]
KeyError: ''

Related branches

hero1900 (hero1900) wrote :
Gediminas Paulauskas (menesis) wrote :

Steps to reproduce

1. Install schooltool from universe

  $ sudo apt-get install schooltool

2. It starts. But don't open in the browser (to avoid creating preferences object).

3. Add the ppa

  $ sudo add-apt-repository ppa:schooltool-owners/ppa
  $ sudo apt-get update
  $ sudo apt-get dist-upgrade schooltool

4. New version is installed, but it fails to start.


1. Temporarily downgrade to the version from archive:

  $ sudo apt-get install python-schooltool=1:2.6.0-0ubuntu1

2. Server is started. Check it in the browser at http://localhost:7080

3. Upgrade to the version from PPA again

  $ sudo apt-get install python-schooltool

4. It should upgrade successfully and work. See http://localhost:7080

Gediminas Paulauskas (menesis) wrote :

This is a fresh install without any useful data? Then you can simply remove the database:

  $ sudo service schooltool stop
  $ sudo rm /var/lib/schooltool/Data.fs*
  $ sudo service schooltool start

And don't need to reinstall anything.

Changed in schooltool:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Gediminas Paulauskas (menesis)
milestone: none → 2.6.2
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

Bug attachments