SChool tool access denied,no connection

Asked by sudhir gaikwad

hi,
      i just changed my system to intel duo,wherein i installed Schootool....later i got the data copied to the usr/schooltool,,,,,but the Schooltool doesnt take it automatically,,,,,also there is problem when i tried to update,,,.,,,,,error

...GPG error: http://ppa.launchpad.net maverick Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 464AD83D4631BBEA

shall i reinstall it

Question information

Language:
English Edit question
Status:
Expired
For:
SchoolTool Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Justas Sadzevičius (justas.sadzevicius) said :
#1

Reinstalling SchoolTool is the safest bet. First place a backup somewhere safe - in your home folder, for example. Then make a full uninstall and install again.

You should then stop your server and copy your back-up to /var/lib/schooltool/

In terminal window:
$ sudo /etc/init.d/schooltool-2009 stop

Now copy your database. The full file name should be /var/lib/schooltool/schooltool-2009-Data.fs
You might need to update database permissions:
$ sudo chown schooltool:schooltool /var/lib/schooltool/schooltool-2009-Data.fs
$ sudo chmod 640 /var/lib/schooltool/schooltool-2009-Data.fs

Finally, start the server:
$ sudo /etc/init.d/schooltool-2009 stop

Revision history for this message
sudhir gaikwad (zissshh) said :
#2

i reinstalled it,,but cant open it on the http://localhost:7080/ i dont understand why.. ... i use maverick 10.10

Revision history for this message
Tom Hoffman (tom-hoffman) said :
#3

Well... for one thing you should do:

$ sudo /etc/init.d/schooltool-2009 restart

not 'stop' as Justas said above.

Revision history for this message
sudhir gaikwad (zissshh) said :
#4

sudhir@sudhir-desktop:~$ sudo /etc/init.d/schooltool-2009 restart
[sudo] password for sudhir:
 * Restarting SchoolTool 2009... No PID file exists in /var/run/schooltool/schooltool-2009.pid
Could not stop daemon; aborting

Revision history for this message
Tom Hoffman (tom-hoffman) said :
#5

Er... what about just 'start'

Revision history for this message
sudhir gaikwad (zissshh) said :
#6

nothing happens but the calender does not open in browser

Revision history for this message
sudhir gaikwad (zissshh) said :
#7

how am i going to solve this problem,,,can there be any chance that the plugins in firefox are blockng it,,,but i tried it on chromium too.....

Revision history for this message
Tom Hoffman (tom-hoffman) said :
#8

If SchoolTool isn't starting it should be appending the error messages to /var/log/schooltool/paste.log

Try opening that up (as superuser) and pasting the last few messages on it to here.

Revision history for this message
sudhir gaikwad (zissshh) said :
#9

pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool

Revision history for this message
Gediminas Paulauskas (menesis) said :
#10

Looks like your schooltool installation is broken.

Check that schooltool-owners PPA is enabled and gets maverick packages:

$ cat /etc/apt/sources.list.d/schooltool-owners-ppa*.list
deb http://ppa.launchpad.net/schooltool-owners/ppa/ubuntu maverick main
deb-src http://ppa.launchpad.net/schooltool-owners/ppa/ubuntu maverick main

Then update and reinstall:

$ sudo apt-get update
$ sudo apt-get install --reinstall python-schooltool

Revision history for this message
sudhir gaikwad (zissshh) said :
#11

dpkg: error processing schooltool-2009 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of schooltool-zambia:
 schooltool-zambia depends on python-schooltool (>= 1:1.5.0); however:
  Package python-schooltool is not configured yet.
 schooltool-zambia depends on python-schooltool.gradebook (>= 0.6.0); however:
  Package python-schooltool.gradebook is not configured yet.
 schooltool-zambia depends on python-schooltool.lyceum.journal (>= 0.7.0); however:
  Package python-schooltool.lyceum.journal is not configured yet.
dpkg: error processing schooltool-zambia (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-zope.html
 python-schooltool
 python-schooltool.cas
 python-schooltool.lyceum.journal
 python-schooltool.gradebook
 python-schooltool.intervention
 python-schooltool.stapp2008fall
 schooltool-2009
 schooltool-zambia
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
sudhir gaikwad (zissshh) said :
#12

sudhir@sudhir-desktop:~$ sudo apt-get install --reinstall python-schooltool
[sudo] password for sudhir:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libavutil49 conky-all libgme0 libemeraldengine0 libimlib2 libetpan13
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
9 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up python-zope.html (2.2.0-0ubuntu3) ...
file does not exist: /usr/lib/python2.6/dist-packages/zope/html/ckeditor/3.3.1/ckeditor
pycentral: pycentral pkginstall: error byte-compiling files (28)
pycentral pkginstall: error byte-compiling files (28)
dpkg: error processing python-zope.html (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of python-schooltool:
 python-schooltool depends on python-zope.html; however:
  Package python-zope.html is not configured yet.
dpkg: error processing python-schooltool (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-schooltool.cas:
 python-schooltool.cas depends on python-schooltool; however:
  Package python-schooltool is not configured yet.
dpkg: error processing python-schooltool.cas (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-schooltool.lyceum.journal:
 python-schooltool.lyceum.journal depends on python-schooltool (>= 1:1.5.0); however:
  Package python-schooltool is not configured yet.
dpkg: error processing python-schooltool.lyceum.journal (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-schooltool.gradebook:
 python-schooltool.gradNo apport report written because the error message indicates its a followup error from a previous failure.
                                                 No apport report written because the error message indicates its a followup error from a previous failure.
                                                                           No apport report written because MaxReports is reached already
                                                         No apport report written because MaxReports is reached already
                                       No apport report written because MaxReports is reached already
                     No apport report written because MaxReports is reached already
   No apport report written because MaxReports is reached already
                                                                 No apport report written because MaxReports is reached already
                                               ebook depends on python-schooltool (>= 1:1.5.2); however:
  Package python-schooltool is not configured yet.
 python-schooltool.gradebook depends on python-schooltool.lyceum.journal; however:
  Package python-schooltool.lyceum.journal is not configured yet.
 python-schooltool.gradebook depends on python-zope.html; however:
  Package python-zope.html is not configured yet.
dpkg: error processing python-schooltool.gradebook (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-schooltool.intervention:
 python-schooltool.intervention depends on python-schooltool (>= 1:1.5.1); however:
  Package python-schooltool is not configured yet.
 python-schooltool.intervention depends on python-schooltool.gradebook; however:
  Package python-schooltool.gradebook is not configured yet.
 python-schooltool.intervention depends on python-zope.html; however:
  Package python-zope.html is not configured yet.
dpkg: error processing python-schooltool.intervention (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-schooltool.stapp2008fall:
 python-schooltool.stapp2008fall depends on python-schooltool; however:
  Package python-schooltool is not configured yet.
 python-schooltool.stapp2008fall depends on python-schooltool.gradebook; however:
  Package python-schooltool.gradebook is not configured yet.
 python-schooltool.stapp2008fall depends on python-schooltool.intervention; however:
  Package python-schooltool.intervention is not configured yet.
 python-schooltool.stapp2008fall depends on python-schooltool.lyceum.journal; however:
  Package python-schooltool.lyceum.journal is not configured yet.
dpkg: error processing python-schooltool.stapp2008fall (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of schooltool-2009:
 schooltool-2009 depends on python-schooltool; however:
  Package python-schooltool is not configured yet.
 schooltool-2009 depends on python-schooltool.stapp2008fall; however:
  Package python-schooltool.stapp2008fall is not configured yet.
dpkg: error processing schooltool-2009 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of schooltool-zambia:
 schooltool-zambia depends on python-schooltool (>= 1:1.5.0); however:
  Package python-schooltool is not configured yet.
 schooltool-zambia depends on python-schooltool.gradebook (>= 0.6.0); however:
  Package python-schooltool.gradebook is not configured yet.
 schooltool-zambia depends on python-schooltool.lyceum.journal (>= 0.7.0); however:
  Package python-schooltool.lyceum.journal is not configured yet.
dpkg: error processing schooltool-zambia (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 python-zope.html
 python-schooltool
 python-schooltool.cas
 python-schooltool.lyceum.journal
 python-schooltool.gradebook
 python-schooltool.intervention
 python-schooltool.stapp2008fall
 schooltool-2009
 schooltool-zambia
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudhir@sudhir-desktop:~$ ^C
sudhir@sudhir-desktop:~$

Revision history for this message
Gediminas Paulauskas (menesis) said :
#13

Now I see a problem in python-zope.html package, that was accidentally uploaded for Maverick.

A fixed package will be built in a few hours.

You can workaround this issue now:

$ sudo apt-get install ckeditor
$ sudo apt-get install --reinstall python-zope.html python-schooltool

Revision history for this message
Gediminas Paulauskas (menesis) said :
#14

Also, the GPG error that you mentioned is a separate issue and does not harm schooltool. This is a key of https://launchpad.net/~tiheum/+archive/equinox PPA. Remove it, or add it again using

$ sudo add-apt-repository ppa:tiheum/equinox

Revision history for this message
sudhir gaikwad (zissshh) said :
#15

still unable to solve the issue

Revision history for this message
sudhir gaikwad (zissshh) said :
#16

Mr Palauskas,,pls can u solve this problem

Revision history for this message
sudhir gaikwad (zissshh) said :
#17

Mr Palauskas,,pls can u solve this problem

Revision history for this message
Tom Hoffman (tom-hoffman) said :
#18

What does your paste.log say now (at the end)?

Revision history for this message
sudhir gaikwad (zissshh) said :
#19

Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
INFO:zope.app.generations:main db/schooltool: running install generation
INFO:zope.app.generations:main db/schooltool.gradebook: running install generation
INFO:zope.app.generations:main db/schooltool.intervention: running install generation
INFO:zope.app.generations:main db/schooltool.stapp2008fall: running install generation
INFO:zope.app.generations:main db/zope.app: running install generation
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
INFO:zope.app.generations:main db/schooltool: running install generation
INFO:zope.app.generations:main db/schooltool.gradebook: running install generation
INFO:zope.app.generations:main db/schooltool.zambia.app: running install generation
INFO:zope.app.generations:main db/zope.app: running install generation
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
WARNING:ZODB.FileStorage:Ignoring index for /var/lib/schooltool/schooltool-zambia-Data.fs
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'

Revision history for this message
Gediminas Paulauskas (menesis) said :
#20

> Could not initialize the database:
> [Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'

The database file has wrong permissions or owner.

$ sudo chown schooltool.schooltool /var/lib/schooltool/schooltool-2009*

Should solve this problem.

Revision history for this message
sudhir gaikwad (zissshh) said :
#21

sudhir@sudhir-desktop:~$ sudo chown schooltool.schooltool /var/lib/schooltool/schooltool-2009*
[sudo] password for sudhir:
chown: cannot access `/var/lib/schooltool/schooltool-2009*': No such file or directory
sudhir@sudhir-desktop:~$

Revision history for this message
sudhir gaikwad (zissshh) said :
#22

this didnt solve the problem

Revision history for this message
sudhir gaikwad (zissshh) said :
#23

Firefox can't establish a connection to the server at localhost:7080.

Revision history for this message
Gediminas Paulauskas (menesis) said :
#24

> sudhir@sudhir-desktop:~$ sudo chown schooltool.schooltool /var/lib/schooltool/schooltool-2009*
> [sudo] password for sudhir:
> chown: cannot access `/var/lib/schooltool/schooltool-2009*': No such file or directory
> sudhir@sudhir-desktop:~$

So the directory has wrong permissions... Try
$ sudo mkdir -p /var/lib/schooltool
$ sudo chown -R schooltool.schooltool /var/lib/schooltool

Then start again

Maybe something else is missing, try

$ sudo apt-get install --reinstall schooltool-common

Revision history for this message
sudhir gaikwad (zissshh) said :
#25

sudhir@sudhir-desktop:~$ sudo apt-get install --reinstall schooltool-common
[sudo] password for sudhir:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 9 not upgraded.
Need to get 6,884B of archives.
After this operation, 0B of additional disk space will be used.
Get:1 http://ppa.launchpad.net/schooltool-owners/ppa/ubuntu/ maverick/main schooltool-common all 6.3 [6,884B]
Fetched 6,884B in 0s (15.3kB/s)
(Reading database ... 222651 files and directories currently installed.)
Preparing to replace schooltool-common 6.3 (using .../schooltool-common_6.3_all.deb) ...
Unpacking replacement schooltool-common ...
Setting up schooltool-common (6.3) ...

   You have to configure "localepurge" with the command

       dpkg-reconfigure localepurge

   to make /usr/sbin/localepurge actually start to function.

   Nothing to be done, exiting ...

Revision history for this message
Tom Hoffman (tom-hoffman) said :
#26

The incorrect permissions were definitely the primary problem. What does paste.log tell us now?

Revision history for this message
sudhir gaikwad (zissshh) said :
#27

Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
INFO:zope.app.generations:main db/schooltool: running install generation
INFO:zope.app.generations:main db/schooltool.gradebook: running install generation
INFO:zope.app.generations:main db/schooltool.intervention: running install generation
INFO:zope.app.generations:main db/schooltool.stapp2008fall: running install generation
INFO:zope.app.generations:main db/zope.app: running install generation
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Warning: font directory '/usr/share/fonts/truetype/msttcorefonts' does not exist.
PDF support disabled.
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Traceback (most recent call last):
  File "/usr/bin/paster", line 18, in <module>
    command.run()
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 84, in run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 123, in invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.6/paste/script/command.py", line 218, in run
    result = self.command()
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 276, in command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.6/paste/script/serve.py", line 313, in loadapp
    **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 204, in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 224, in loadobj
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 278, in _loadconfig
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 409, in get_context
    section)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 431, in _context_from_use
    object_type, name=use, global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 361, in get_context
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 248, in loadcontext
    global_conf=global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 285, in _loadegg
    return loader.get_context(object_type, name, global_conf)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 561, in get_context
    object_type, name=name)
  File "/usr/lib/pymodules/python2.6/paste/deploy/loadwsgi.py", line 581, in find_egg_entry_point
    pkg_resources.require(self.spec)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: schooltool
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
INFO:zope.app.generations:main db/schooltool: running install generation
INFO:zope.app.generations:main db/schooltool.gradebook: running install generation
INFO:zope.app.generations:main db/schooltool.zambia.app: running install generation
INFO:zope.app.generations:main db/zope.app: running install generation
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
WARNING:ZODB.FileStorage:Ignoring index for /var/lib/schooltool/schooltool-zambia-Data.fs
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.confReading configuration from /etc/schooltool/schooltool-2009/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.confReading configuration from /etc/schooltool/schooltool-zambia/main.conf

/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'
Reading configuration from /etc/schooltool/schooltool-2009/main.conf
Reading configuration from /etc/schooltool/schooltool-zambia/main.conf
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
/usr/lib/pymodules/python2.6/pyPdf/pdf.py:52: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
INFO:zope.app.generations:main db: evolving in mode EVOLVEMINIMUM
Could not initialize the database:
[Errno 13] Permission denied: '/var/lib/schooltool/schooltool-2009-Data.fs.lock'

Revision history for this message
sudhir gaikwad (zissshh) said :
#28

2011-01-12 17:30:30,276 main db: evolving in mode EVOLVEMINIMUM
2011-01-12 17:30:30,278 main db/schooltool: running install generation
2011-01-12 17:30:30,280 main db/schooltool.gradebook: running install generation
2011-01-12 17:30:30,284 main db/schooltool.intervention: running install generation
2011-01-12 17:30:30,306 main db/schooltool.stapp2008fall: running install generation
2011-01-12 17:30:30,308 main db/zope.app: running install generation

this is schooltool error log

Revision history for this message
Tom Hoffman (tom-hoffman) said :
#29

It is only the end of the log that matters to us now. You're still simply getting a permission denied error, now on the database lock file. This should have been fixed by the command menesis gave you above.

$ sudo chown -R schooltool.schooltool /var/lib/schooltool

What does: 'sudo ls -lh /var/lib/schooltool' tell you?

Revision history for this message
sudhir gaikwad (zissshh) said :
#30

sudhir@sudhir-desktop:~$ sudo ls -lh /var/lib/schooltool
total 18M
-rw------- 1 schooltool schooltool 6.2M 2010-11-30 09:56 schooltool-2009-Data.fs
-rw------- 1 schooltool schooltool 6.2M 2010-11-30 09:56 schooltool-2009-Data.fs.0
-rw------- 1 schooltool schooltool 934K 2010-11-30 09:56 schooltool-2009-Data.fs.1.gz
-rw------- 1 schooltool schooltool 934K 2010-11-30 09:56 schooltool-2009-Data.fs.2.gz
-rw------- 1 schooltool schooltool 934K 2010-11-30 09:56 schooltool-2009-Data.fs.3.gz
-rw------- 1 schooltool schooltool 934K 2010-11-30 09:56 schooltool-2009-Data.fs.4.gz
-rw------- 1 schooltool schooltool 934K 2010-11-30 09:56 schooltool-2009-Data.fs.5.gz
-rw------- 1 schooltool schooltool 888K 2010-11-25 04:56 schooltool-2009-Data.fs.6.gz
-rw------- 1 schooltool schooltool 3.2K 2010-10-28 14:58 schooltool-2009-Data.fs.index
-rw------- 1 schooltool schooltool 5 2010-12-09 11:45 schooltool-2009-Data.fs.lock
-rw------- 1 schooltool schooltool 0 2010-12-09 11:45 schooltool-2009-Data.fs.tmp
-rw-r----- 1 schooltool schooltool 58K 2011-02-19 17:00 schooltool-zambia-Data.fs
-rw-r----- 1 schooltool schooltool 58K 2011-02-19 17:00 schooltool-zambia-Data.fs.0
-rw-r----- 1 schooltool schooltool 11K 2011-02-19 17:00 schooltool-zambia-Data.fs.1.gz
-rw-r----- 1 schooltool schooltool 11K 2011-02-19 17:00 schooltool-zambia-Data.fs.2.gz
-rw-r----- 1 schooltool schooltool 2.4K 2011-02-19 17:01 schooltool-zambia-Data.fs.index
-rw-r----- 1 schooltool schooltool 6 2011-03-06 12:29 schooltool-zambia-Data.fs.lock
-rw-r----- 1 schooltool schooltool 0 2011-03-06 12:29 schooltool-zambia-Data.fs.tmp

Revision history for this message
Gediminas Paulauskas (menesis) said :
#31

Close an old question