Problems upgrading to schooltool 2.7.0dev

Bug #1272181 reported by mark mcdougall
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SchoolTool
Fix Released
Critical
Gediminas Paulauskas

Bug Description

Still have problems with the add button not adding , whether for add and advisor or add to a group or whatever.
The add all still works and adds all the people.
It seems the update (ubuntu and schooltool) continues to fail in one regard, where would I find this information for you?

Revision history for this message
mark mcdougall (mmcdouga) wrote :

found the install problem that might be causing it??....................
...................................
installArchives() failed: Setting up python-schooltool
(1:2.6.2~dev.201401061333~ubuntu12.04.1) ...
SyntaxError: ("'continue' not properly in loop",
('/usr/lib/python2.7/dist-packages/schooltool/generations/evolve40.py', 58,
None, 'continue\n'))

dpkg: error processing python-schooltool (--configure):
 subprocess installed post-installation script returned error exit status 101
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of schooltool:
 schooltool depends on python-schooltool; however:
  Package python-schooltool is not configured yet.
dpkg: error processing schooltool (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-schooltool.gradebook:
 python-schooltool.gradebook depends on python-schooltool (>= 1:2.6); however:
  Package python-schooltool is not configured yet.
dpkg: error processing python-schooltool.gradebook (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
 python-schooltool
 schooltool
 python-schooltool.gradebook
Setting up python-schooltool (1:2.6.2~dev.201401061333~ubuntu12.04.1) ...
SyntaxError: ("'continue' not properly in loop",
('/usr/lib/python2.7/dist-packages/schooltool/generations/evolve40.py', 58,
None, 'continue\n'))

dpkg: error processing python-schooltool (--configure):
 subprocess installed post-installation script returned error exit status 101
dpkg: dependency problems prevent configuration of schooltool:
 schooltool depends on python-schooltool; however:
  Package python-schooltool is not configured yet.
dpkg: error processing schooltool (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-schooltool.gradebook:
 python-schooltool.gradebook depends on python-schooltool (>= 1:2.6); however:
  Package python-schooltool is not configured yet.
dpkg: error processing python-schooltool.gradebook (--configure):
 dependency problems - leaving unconfigured

Changed in schooltool:
assignee: nobody → Gediminas Paulauskas (menesis)
importance: Undecided → Critical
status: New → Triaged
Revision history for this message
Gediminas Paulauskas (menesis) wrote :

You have already reported this issue: https://bugs.launchpad.net/schooltool/+bug/1266645
And I have already suggested to remove schooltool trunk ppa from your sources.

The version of python-schooltool should be less than 1:2.6.2~dev.20140105
So it is good it fails to upgrade. But you do see problems that appeared in newer version... It fails to upgrade, but starts?

To remove the trunk ppa,

  $ sudo add-apt-repository --remove ppa:schooltool-owners/trunk

Fix packages that failed to install

  $ sudo apt-get update
  $ sudo apt-get install schooltool/precise python-schooltool/precise

If I understand correctly what happens, schooltool now will fail to start with an error similar to "generation too high (have 43, expected 42)". You have to restore from backup older than 2014-01-05. But 20 days have passed since then, is the data important?

summary: - add button not working
+ Fails to start with SyntaxError: ("'continue' not properly in loop",
Revision history for this message
Gediminas Paulauskas (menesis) wrote : Re: Fails to start with SyntaxError: ("'continue' not properly in loop",

Alternatively, you can stay on trunk and wait for us to fix the errors.

I have fixed the syntax error. On next daily build you'll get the fix and schooltool will start.

The add button works for me on latest trunk. It asks for the status in a dialog, and adds a member.

Revision history for this message
mark mcdougall (mmcdouga) wrote : Re: [Bug 1272181] Re: add button not working

Hi,thanks, theres been a few hours of new data added. Maybe I can export now
and reimport later the new students, year, sections, groups etc?
Mark
----- Original Message -----
From: "Gediminas Paulauskas" <email address hidden>
To: <email address hidden>
Sent: Saturday, January 25, 2014 2:03 AM
Subject: [Bug 1272181] Re: add button not working

You have already reported this issue:
https://bugs.launchpad.net/schooltool/+bug/1266645
And I have already suggested to remove schooltool trunk ppa from your
sources.

The version of python-schooltool should be less than 1:2.6.2~dev.20140105
So it is good it fails to upgrade. But you do see problems that appeared in
newer version... It fails to upgrade, but starts?

To remove the trunk ppa,

  $ sudo add-apt-repository --remove ppa:schooltool-owners/trunk

Fix packages that failed to install

  $ sudo apt-get update
  $ sudo apt-get install schooltool/precise python-schooltool/precise

If I understand correctly what happens, schooltool now will fail to
start with an error similar to "generation too high (have 43, expected
42)". You have to restore from backup older than 2014-01-05. But 20 days
have passed since then, is the data important?

** Summary changed:

- add button not working
+ Fails to start with SyntaxError: ("'continue' not properly in loop",

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1272181

Title:
  Fails to start with SyntaxError: ("'continue' not properly in loop",

Status in SchoolTool:
  Triaged

Bug description:
  Still have problems with the add button not adding , whether for add and
advisor or add to a group or whatever.
  The add all still works and adds all the people.
  It seems the update (ubuntu and schooltool) continues to fail in one
regard, where would I find this information for you?

To manage notifications about this bug go to:
https://bugs.launchpad.net/schooltool/+bug/1272181/+subscriptions

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

Yes, good idea to export if you can.
But import/export had to be changed substantially, so it might not work
between 2.6/2.7. I have not tried. Do it and report your findings.
2014.01.24 23:15, "mark mcdougall" <email address hidden> rašė:

> Hi,thanks, theres been a few hours of new data added. Maybe I can export
> now
> and reimport later the new students, year, sections, groups etc?
> Mark
> ----- Original Message -----
> From: "Gediminas Paulauskas" <email address hidden>
> To: <email address hidden>
> Sent: Saturday, January 25, 2014 2:03 AM
> Subject: [Bug 1272181] Re: add button not working
>
>
> You have already reported this issue:
> https://bugs.launchpad.net/schooltool/+bug/1266645
> And I have already suggested to remove schooltool trunk ppa from your
> sources.
>
> The version of python-schooltool should be less than 1:2.6.2~dev.20140105
> So it is good it fails to upgrade. But you do see problems that appeared in
> newer version... It fails to upgrade, but starts?
>
> To remove the trunk ppa,
>
> $ sudo add-apt-repository --remove ppa:schooltool-owners/trunk
>
> Fix packages that failed to install
>
> $ sudo apt-get update
> $ sudo apt-get install schooltool/precise python-schooltool/precise
>
> If I understand correctly what happens, schooltool now will fail to
> start with an error similar to "generation too high (have 43, expected
> 42)". You have to restore from backup older than 2014-01-05. But 20 days
> have passed since then, is the data important?
>
> ** Summary changed:
>
> - add button not working
> + Fails to start with SyntaxError: ("'continue' not properly in loop",
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1272181
>
> Title:
> Fails to start with SyntaxError: ("'continue' not properly in loop",
>
> Status in SchoolTool:
> Triaged
>
> Bug description:
> Still have problems with the add button not adding , whether for add and
> advisor or add to a group or whatever.
> The add all still works and adds all the people.
> It seems the update (ubuntu and schooltool) continues to fail in one
> regard, where would I find this information for you?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/schooltool/+bug/1272181/+subscriptions
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1272181
>
> Title:
> Fails to start with SyntaxError: ("'continue' not properly in loop",
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/schooltool/+bug/1272181/+subscriptions
>

Changed in schooltool:
status: Triaged → Fix Committed
milestone: none → 2.7.0
Revision history for this message
mark mcdougall (mmcdouga) wrote :
Download full text (3.9 KiB)

Hi,
I tried to take your advice but couldnt find the blobs and the database
properly, It seems to have taken an earlier backup and I tried to import the
spreadsheet exported yesterday but am missing a lot of the new year(2014)
information, and short thirty odd students in 2014?
It seems to still be running 2.7.0dev .... is that trunk?
Any advice would be helpful, seems now all the passwords need to be re-entered?
Mark

On Sat, Jan 25th, 2014 at 10:24 AM, Gediminas Paulauskas <email address hidden> wrote:

> Yes, good idea to export if you can.
> But import/export had to be changed substantially, so it might not work
> between 2.6/2.7. I have not tried. Do it and report your findings.
> 2014.01.24 23:15, "mark mcdougall" <email address hidden> rašė:
>
> > Hi,thanks, theres been a few hours of new data added. Maybe I can
> export
> > now
> > and reimport later the new students, year, sections, groups etc?
> > Mark
> > ----- Original Message -----
> > From: "Gediminas Paulauskas" <email address hidden>
> > To: <email address hidden>
> > Sent: Saturday, January 25, 2014 2:03 AM
> > Subject: [Bug 1272181] Re: add button not working
> >
> >
> > You have already reported this issue:
> > https://bugs.launchpad.net/schooltool/+bug/1266645
> > And I have already suggested to remove schooltool trunk ppa from your
> > sources.
> >
> > The version of python-schooltool should be less than
> 1:2.6.2~dev.20140105
> > So it is good it fails to upgrade. But you do see problems that appeared
> in
> > newer version... It fails to upgrade, but starts?
> >
> > To remove the trunk ppa,
> >
> > $ sudo add-apt-repository --remove ppa:schooltool-owners/trunk
> >
> > Fix packages that failed to install
> >
> > $ sudo apt-get update
> > $ sudo apt-get install schooltool/precise python-schooltool/precise
> >
> > If I understand correctly what happens, schooltool now will fail to
> > start with an error similar to "generation too high (have 43, expected
> > 42)". You have to restore from backup older than 2014-01-05. But 20
> days
> > have passed since then, is the data important?
> >
> > ** Summary changed:
> >
> > - add button not working
> > + Fails to start with SyntaxError: ("'continue' not properly in loop",
> >
> > --
> > You received this bug notification because you are subscribed to the
> bug
> > report.
> > https://bugs.launchpad.net/bugs/1272181
> >
> > Title:
> > Fails to start with SyntaxError: ("'continue' not properly in loop",
> >
> > Status in SchoolTool:
> > Triaged
> >
> > Bug description:
> > Still have problems with the add button not adding , whether for add
> and
> > advisor or add to a group or whatever.
> > The add all still works and adds all the people.
> > It seems the update (ubuntu and schooltool) continues to fail in one
> > regard, where would I find this information for you?
> >
> > To manage notifications about this bug go to:
> > https://bugs.launchpad.net/schooltool/+bug/1272181/+subscriptions
> >
> > --
> > You received this bug notification because you are a bug assignee.
> > https://bugs.launchpad.net/bugs/1272181
> >
> > Title:
> > Fails to start with SyntaxError: ("'continue' not properly in loop",
> >
> > To manage notif...

Read more...

Revision history for this message
mark mcdougall (mmcdouga) wrote :
Download full text (15.1 KiB)

Heres the commands I gave and responses,
''''''''''''''''''''''''''''''''''''
phil@ubuntu:~$ sudo add-apt-repository --remove ppa:schooltool-owners/trunk
[sudo] password for phil:
You are about to remove the following PPA from your system:
 (Daily) builds of schooltool trunk.
For testing only.
Use https://launchpad.net/~schooltool-owners/+archive/dev for latest stable
release.
 More info: https://launchpad.net/~schooltool-owners/+archive/trunk
Press [ENTER] to continue or ctrl-c to cancel removing it

phil@ubuntu:~$ sudo apt-get update
Hit http://ftp.iinet.net.au precise Release.gpg
Get:1 http://ftp.iinet.net.au precise-updates Release.gpg [198 B]
Hit http://ftp.iinet.net.au precise-backports Release.gpg
Get:2 http://ftp.iinet.net.au precise-security Release.gpg [198 B]
Hit http://ftp.iinet.net.au precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ppa.launchpad.net precise Release.gpg
Get:3 http://ftp.iinet.net.au precise-updates Release [49.6 kB]
Hit http://ftp.iinet.net.au precise-backports Release
Hit http://ppa.launchpad.net precise Release
Get:4 http://ftp.iinet.net.au precise-security Release [49.6 kB]
Hit http://ftp.iinet.net.au precise/main Sources
Hit http://ftp.iinet.net.au precise/restricted Sources
Hit http://ppa.launchpad.net precise Release
Hit http://ftp.iinet.net.au precise/universe Sources
Hit http://ftp.iinet.net.au precise/multiverse Sources
Hit http://ftp.iinet.net.au precise/main i386 Packages
Hit http://ftp.iinet.net.au precise/restricted i386 Packages
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ftp.iinet.net.au precise/universe i386 Packages
Hit http://ftp.iinet.net.au precise/multiverse i386 Packages
Hit http://ftp.iinet.net.au precise/main TranslationIndex
Hit http://ftp.iinet.net.au precise/multiverse TranslationIndex
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ftp.iinet.net.au precise/restricted TranslationIndex
Hit http://ftp.iinet.net.au precise/universe TranslationIndex
Get:5 http://ftp.iinet.net.au precise-updates/main Sources [449 kB]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Get:6 http://ftp.iinet.net.au precise-updates/restricted Sources [7,039 B]
Hit http://ppa.launchpad.net precise/main i386 Packages
Get:7 http://ftp.iinet.net.au precise-updates/universe Sources [102 kB]
Ign http://ppa.launchpad.net precise/main TranslationIndex
Get:8 http://ftp.iinet.net.au precise-updates/multiverse Sources [8,486 B]
Get:9 http://ftp.iinet.net.au precise-updates/main i386 Packages [769 kB]
Get:10 http://ftp.iinet.net.au precise-updates/restricted i386 Packages [11.5 kB]
Get:11 http://ftp.iinet.net.au precise-updates/universe i386 Packages [236 kB]
Get:12 http://ftp.iinet.net.au precise-updates/multiverse i386 Packages [14.4 kB]
Hit http://ftp.iinet.net.au precise-updates/main TranslationIndex
Hit http://ftp.iinet.net.au precise-updates/multiverse TranslationIndex
Hit http://ftp.iinet.net.au precis...

Revision history for this message
mark mcdougall (mmcdouga) wrote : Re: Fails to start with SyntaxError: ("'continue' not properly in loop",
Download full text (5.8 KiB)

heres the update failure message;
installArchives() failed: (Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 294823 files and directories currently installed.)
Preparing to replace libnautilus-extension1a 1:3.4.2-0ubuntu8 (using .../libnautilus-extension1a_1%%3a3.4.2-0ubuntu9_i386.deb) ...
Unpacking replacement libnautilus-extension1a ...
Preparing to replace nautilus-data 1:3.4.2-0ubuntu8 (using .../nautilus-data_1%%3a3.4.2-0ubuntu9_all.deb) ...
Unpacking replacement nautilus-data ...
Preparing to replace nautilus 1:3.4.2-0ubuntu8 (using .../nautilus_1%%3a3.4.2-0ubuntu9_i386.deb) ...
Unpacking replacement nautilus ...
Processing triggers for libglib2.0-0 ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for gconf2 ...
Processing triggers for shared-mime-info ...
Unknown media type in type 'all/all'
Unknown media type in type 'all/allfiles'
Unknown media type in type 'uri/mms'
Unknown media type in type 'uri/mmst'
Unknown media type in type 'uri/mmsu'
Unknown media type in type 'uri/pnm'
Unknown media type in type 'uri/rtspt'
Unknown media type in type 'uri/rtspu'
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Setting up python-schooltool (1:2.6.2~dev.201401061333~ubuntu12.04.1) ...
SyntaxError: ("'continue' not properly in loop", ('/usr/lib/python2.7/dist-packages/schooltool/generations/evolve40.py', 58, None, 'continue\n'))

dpkg: error processing python-schooltool (--configure):
 subprocess installed post-installation script returned error exit status 101
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of schooltool:
 schooltool depends on python-schooltool; however:
  Package python-schooltool is not configured yet.
dpkg: error processing schooltool (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-schooltool.gradebook:
 python-schooltool.gradebook depends on python-schooltool (>= 1:2.6); however:
  Package python-schooltool is not configured yet.
dpkg: error processing python-schooltool.gradebook (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-schooltool.cando:
 python-schooltool.cando depends on python-schooltool (>= 1:2.6); however:
  Package python-schooltool is not configured yet.
 python-schooltool.cando depends on python-schooltool.gradebook (>= 2.6); however:
  Package python-schooltool.gradebook is not configured yet.
dpkg: erro...

Read more...

Revision history for this message
mark mcdougall (mmcdouga) wrote :

Also the edit button once a person is a member of a group doesnt open nor allow our users to delete people from the group. I cant see a workaround. So every extra person entered by accident is stuck there..?

Revision history for this message
mark mcdougall (mmcdouga) wrote :
Download full text (3.3 KiB)

Hi, continuing complications,
Ive set up a new system so we dont lose the other one. Its running on 2.6 plus updates. Have tried to copy the Data.fs and blobs from the old system 2.7 trunk and cant get zeo to run.
error logs follow
2014-02-02 09:37:41,373 (2243) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 09:40:21,460 (2243) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 09:45:21,554 (2243) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 09:50:21,629 (2243) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 09:55:21,718 (2243) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:00:21,816 (2243) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:03:15,440 ['/var/run/schooltool/zeo.sock'] ClientStorage (pid=2791) created RW/normal for storage: '1'
2014-02-02 10:03:15,441 created temporary cache file '<fdopen>'
2014-02-02 10:03:15,519 (2791) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:03:20,525 (2791) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:03:30,535 (2791) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:03:50,546 (2791) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:04:30,585 (2791) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:05:50,658 (2791) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:08:30,759 (2791) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:13:30,859 (2791) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:18:30,954 (2791) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:39:38,861 ['/var/run/schooltool/zeo.sock'] ClientStorage (pid=3026) created RW/normal for storage: '1'
2014-02-02 10:39:38,862 created temporary cache file '<fdopen>'
2014-02-02 10:39:38,928 (3026) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:39:43,931 (3026) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:39:53,941 (3026) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:40:13,954 (3026) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:40:53,965 (3026) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:42:14,037 (3026) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:44:54,120 (3026) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:49:54,176 (3026) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:54:54,274 (3026) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT
2014-02-02 10:59:54,371 (3026) CW: error connecting to /var/run/schooltool/zeo.sock: ENOENT

and zeo log,
------
2014-02-02T10:03:06 INFO ZEO.runzeo (2789) opening storage '1' using FileStorage
------
2014-02-02T10:39:29 INFO ZEO.runzeo (3024) opening storage '1' using FileStorage

Hopefully you can help us. Our new year has begun but we will have to crash all the entered data on the trunk versi...

Read more...

Revision history for this message
mark mcdougall (mmcdouga) wrote :
Download full text (6.0 KiB)

Still having update problems, seems the same,

installArchives() failed: Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
Preconfiguring packages ...
(Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 294823 files and directories currently installed.)
Preparing to replace lightdm 1.2.3-0ubuntu2.3 (using .../lightdm_1.2.3-0ubuntu2.4_i386.deb) ...
Unpacking replacement lightdm ...
Preparing to replace python-apt-common 0.8.3ubuntu7.1 (using .../python-apt-common_0.8.3ubuntu7.2_all.deb) ...
Unpacking replacement python-apt-common ...
Preparing to replace python-apt 0.8.3ubuntu7.1 (using .../python-apt_0.8.3ubuntu7.2_i386.deb) ...
Unpacking replacement python-apt ...
Preparing to replace jockey-gtk 0.9.7-0ubuntu7.11 (using .../jockey-gtk_0.9.7-0ubuntu7.13_all.deb) ...
Unpacking replacement jockey-gtk ...
Preparing to replace jockey-common 0.9.7-0ubuntu7.11 (using .../jockey-common_0.9.7-0ubuntu7.13_all.deb) ...
Unpacking replacement jockey-common ...
Preparing to replace liblightdm-gobject-1-0 1.2.3-0ubuntu2.3 (using .../liblightdm-gobject-1-0_1.2.3-0ubuntu2.4_i386.deb) ...
Unpacking replacement liblightdm-gobject-1-0 ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for gnome-menus ...
Processing triggers for hicolor-icon-theme ...
Setting up python-schooltool (1:2.6.2~dev.201401061333~ubuntu12.04.1) ...
SyntaxError: ("'continue' not properly in loop", ('/usr/lib/python2.7/dist-packages/schooltool/generations/evolve40.py', 58, None, 'continue\n'))

dpkg: error processing python-schooltool (--configure):
 subprocess installed post-installation script returned error exit status 101
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of schooltool:
 schooltool depends on python-schooltool; however:
  Package python-schooltool is not configured yet.
dpkg: error processing schooltool (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-schooltool.gradebook:
 python-schooltool.gradebook depends on python-schooltool (>= 1:2.6); however:
  Package python-schooltool is not configured yet.
dpkg: error processing python-schooltool.gradebook (--configure):
 dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems preve...

Read more...

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

It is still trying to install a month-old snapshot, python-schooltool (1:2.6.2~dev.201401061333~ubuntu12.04.1)

Means the repositories are not properly configured.

For some reason, the command that should have removed the trunk PPA (add-apt-repository --remove) did not work.
So remove it from sources by hand.

  $ sudo rm /etc/apt/sources.list.d/schooltool-owners-trunk-precise.list

You need to add SchoolTool dev PPA that contains 2.6

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

To see what versions of a package are available, use apt-cache policy

$ apt-cache policy python-schooltool
python-schooltool:
  Installed: 1:2.6.2~dev.201401231446~ubuntu13.10.1
  Candidate: 1:2.6.2~dev.201401231446~ubuntu13.10.1
  Version table:
 *** 1:2.6.2~dev.201401231446~ubuntu13.10.1 0
        100 /var/lib/dpkg/status
     1:2.6.1.2-0ubuntu2~saucy1 0
        500 http://ppa.launchpad.net/schooltool-owners/ppa/ubuntu/ saucy/main amd64 Packages
     1:2.6.0-0ubuntu1 0
        500 http://lt.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages

For you it will be different, but the line above "100 /var/lib/dpkg/status" shows currently installed version, and the following lines show version and source. I also have a 2.6.2~dev version, but it's not available from any sources any more.

Then install the latest version that is now available (2.6.1.2)

  $ sudo apt-get install schooltool/precise python-schooltool/precise

There will be a warning "The following packages will be DOWNGRADED", answer Yes.

If other plugins have a 2.6.2~dev version, you need to downgrade them as well:

  $ sudo apt-get install python-schooltool.gradebook/precise \
      python-schooltool.lyceum.journal/precise \
      python-schooltool.intervention/precise python-schooltool.cando/precise

Maybe your package databases are broken after unsuccessful upgrades. There are two commands to fix unfinished installs

  $ sudo dpkg --configure -a
  $ sudo apt-get -f install

They do nothing if all is good.

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

From comment 7 it looks like you have repositories correct, but dpkg still tries to configure a half-installed version.

So first try to remove schooltool

  $ sudo apt-get remove schooltool python-schooltool

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

Also you are have blindly copied the backup/restore commands to a non-existing backup directory.

If schooltool starts, you don't need to restore from backup. But if it fails with 'generation too high' error, have to restore an older dtabase.

On every upgrade, a backup is made in /var/lib/schooltool

$ sudo ls -ltr /var/lib/schooltool/
drwx------ 4 schooltool schooltool 4096 Sep 25 02:08 blobs
-rw-r--r-- 1 schooltool schooltool 13596 Nov 17 18:09 Data.fs.index
-rw-r--r-- 1 schooltool schooltool 117963 Dec 15 13:19 Data.fs.6.gz
-rw-r--r-- 1 schooltool schooltool 117963 Dec 15 13:19 Data.fs.5.gz
-rw-r--r-- 1 schooltool schooltool 117963 Dec 15 13:19 Data.fs.4.gz
-rw-r--r-- 1 schooltool schooltool 127616 Dec 23 20:38 Data.fs.3.gz
-rw-r--r-- 1 schooltool schooltool 127616 Dec 23 20:38 Data.fs.2.gz
-rw-r--r-- 1 schooltool schooltool 141592 Jan 24 16:10 Data.fs.1.gz
-rw-r--r-- 1 schooltool schooltool 1197151 Jan 24 16:10 Data.fs.0
-rw-r--r-- 1 schooltool schooltool 1752535 Jan 31 03:00 Data.fs
-rw-r--r-- 1 schooltool schooltool 0 Feb 4 14:57 Data.fs.tmp
-rw-r--r-- 1 schooltool schooltool 6 Feb 4 14:57 Data.fs.lock
-rw-r--r-- 1 schooltool schooltool 147 Feb 4 19:38 redis-dump.rdb

The current database is Data.fs

Make sure that the Data.fs file has owner and group schooltool. This may be the reason 'zeo' fails to start.

First, stop schooltool:

  $ sudo service schooltool stop

Copy current Data somewhere:

  $ sudo cp /var/lib/schooltool/Data.fs /var/lib/schooltool/Data.fs.saved

An older backup is Data.fs.0 . To restore to it, copy it over:

  $ sudo cp /var/lib/schooltool/Data.fs.0 /var/lib/schooltool/Data.fs

If that still does not start, next one is Data.fs.1.gz, you have to unarchive it to use

  $ sudo gunzip /var/lib/schooltool/Data.fs.1.gz
  $ sudo cp /var/lib/schooltool/Data.fs.1 /var/lib/schooltool/Data.fs

The newest copy with data before January 5 should work.

summary: - Fails to start with SyntaxError: ("'continue' not properly in loop",
+ Problems upgrading to schooltool 2.7.0dev
Revision history for this message
mark mcdougall (mmcdouga) wrote : Re: [Bug 1272181] Re: Fails to start with SyntaxError: ("'continue' not properly in loop",
Download full text (22.0 KiB)

Dear Gediminas,
thank you for your help, it seems we are running your 2.6.2~dev and because
its unsupported it errors but cant send back a message. from there on I
havent yet worked it out,
 heres commands and responses,
thanks again,
Mark
//////////////////////
phil@ubuntu:~$ sudo rm
/etc/apt/sources.list.d/schooltool-owners-trunk-precise.list
[sudo] password for phil:
phil@ubuntu:~$ sudo add-apt-repository ppa:schooltool-owners/dev
You are about to add the following PPA to your system:
 Latest SchoolTool release.

An older stable 2.4 series for Quantal.
Latest stable 2.6 series for Precise, Raring, and Saucy.

See http://book.schooltool.org/release-notes.html for What's new.

We recommend to add the main SchoolTool PPA
<https://launchpad.net/~schooltool-owners/+archive/ppa> for bugfix updates
and additional packages.
 More info: https://launchpad.net/~schooltool-owners/+archive/dev
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmpGi3crV/secring.gpg' created
gpg: keyring `/tmp/tmpGi3crV/pubring.gpg' created
gpg: requesting key 386B7051 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmpGi3crV/trustdb.gpg: trustdb created
gpg: key 386B7051: public key "Launchpad PPA for SchoolTool Owners" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
phil@ubuntu:~$ sudo apt-get update
Hit http://ftp.iinet.net.au precise Release.gpg
Hit http://ftp.iinet.net.au precise-updates Release.gpg
Hit http://ftp.iinet.net.au precise-backports Release.gpg
Hit http://ftp.iinet.net.au precise-security Release.gpg
Hit http://ftp.iinet.net.au precise Release
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ftp.iinet.net.au precise-updates Release
Hit http://ftp.iinet.net.au precise-backports Release
Hit http://ftp.iinet.net.au precise-security Release
Hit http://ftp.iinet.net.au precise/main Sources
Hit http://ppa.launchpad.net precise Release.gpg
Hit http://ftp.iinet.net.au precise/restricted Sources
Hit http://ftp.iinet.net.au precise/universe Sources
Hit http://ftp.iinet.net.au precise/multiverse Sources
Hit http://ppa.launchpad.net precise Release
Hit http://ftp.iinet.net.au precise/main i386 Packages
Hit http://ftp.iinet.net.au precise/restricted i386 Packages
Hit http://ftp.iinet.net.au precise/universe i386 Packages
Hit http://ftp.iinet.net.au precise/multiverse i386 Packages
Hit http://ppa.launchpad.net precise Release
Hit http://ftp.iinet.net.au precise/main TranslationIndex
Hit http://ftp.iinet.net.au precise/multiverse TranslationIndex
Hit http://ftp.iinet.net.au precise/restricted TranslationIndex
Hit http://ppa.launchpad.net precise/main Sources
Hit http://ftp.iinet.net.au precise/universe TranslationIndex
Hit http://ftp.iinet.net.au precise-updates/main Sources
Hit http://ftp.iinet.net.au precise-updates/restricted Sources
Hit http://ftp.iinet.net.au precise-updates/universe Sources
Hit http://ppa.launchpad.net precise/main i386 Packages
Hit http://ftp.iinet.net.au precise-updates/multiverse Sources
Hit http://ftp.iinet.net.au precise-updates/main i386 Packages
Hit http://ftp.iinet...

Revision history for this message
mark mcdougall (mmcdouga) wrote :

For all this the schooltool server page says we are running 2.7.0dev
so that hasnt downgraded either??
And saw the new membership states - seems likely this is the complication the december fix of 2.6.1 has hide edit links from users who dont have permission, seems we can see it but dont have permissions, ??
Mark

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

Cannot upgrade or downgrade because of that syntax error...

Use force to remove the bad package:

$ sudo dpkg --remove --force-depends python-schooltool

There will be warnings but they are ignored.

Then start from command apt-get install python-schooltool/precise

Revision history for this message
mark mcdougall (mmcdouga) wrote :

Hi,
 there were some issues, system proiblems hopefully they will get through this time - reported to you,
status follows,
Thanks,
Mark
phil@ubuntu:~$ apt-cache policy python-schooltool
python-schooltool:
  Installed: 1:2.6.1.2-0ubuntu2~saucy1
  Candidate: 1:2.6.1.2-0ubuntu2~saucy1
  Version table:
 *** 1:2.6.1.2-0ubuntu2~saucy1 0
        500 http://ppa.launchpad.net/schooltool-owners/dev/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status
     1:2.1.1-0ubuntu1 0
        500 http://ppa.launchpad.net/schooltool-owners/ppa/ubuntu/ precise/main i386 Packages
     1:2.1.0-0ubuntu1 0
        500 http://ftp.iinet.net.au/pub/ubuntu/ precise/universe i386 Packages

Revision history for this message
mark mcdougall (mmcdouga) wrote :

was noted Ubuntu 12,4LTS had internal error,
restarted Ubuntu

 phil@ubuntu:~$ sudo service schooltool status
[sudo] password for phil:
schooltool FATAL Exited too quickly (process log may have details)
services:celery_report RUNNING pid 1535, uptime 0:06:09
services:redis RUNNING pid 1533, uptime 0:06:09
services:zeo RUNNING pid 1534, uptime 0:06:09
phil@ubuntu:~$ cp /var/log/schooltool/error.log ~/Documents/
phil@ubuntu:~$ sudo service schooltool stop
 * Stopping SchoolTool... [ OK ]
phil@ubuntu:~$ sudo service schooltool start
 * Starting SchoolTool... [ OK ]
phil@ubuntu:~$

;;;;;;;;;;;;;;;;;;;;;;;;;;;;
but no process log,
Mark

Revision history for this message
Gediminas Paulauskas (menesis) wrote :

I see an error that was expected at the end of zeo.log

2014-02-05 18:28:22,289 main db/schooltool: current generation too high (43 > 42)

This means you need to restore to a Data.fs older than January 6, as described in Comment #14.

But I see the earliest you have is January 28. Maybe on another computer?

Revision history for this message
mark mcdougall (mmcdouga) wrote : Re: [Bug 1272181] Re: Problems upgrading to schooltool 2.7.0dev

hi, thanks, this is a different build, another try to get something workable
on ubuntu13.10, but has had data imported, and yes its a late january file.
Maybe this will solve both builds now? Will try in morning, ten hours away.
Is .lt lithuania? .au is australia,
thanks,
mark
----- Original Message -----
From: "Gediminas Paulauskas" <email address hidden>
To: <email address hidden>
Sent: Wednesday, February 05, 2014 7:27 PM
Subject: [Bug 1272181] Re: Problems upgrading to schooltool 2.7.0dev

I see an error that was expected at the end of zeo.log

2014-02-05 18:28:22,289 main db/schooltool: current generation too high
(43 > 42)

This means you need to restore to a Data.fs older than January 6, as
described in Comment #14.

But I see the earliest you have is January 28. Maybe on another
computer?

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/1272181

Title:
  Problems upgrading to schooltool 2.7.0dev

Status in SchoolTool:
  Fix Committed

Bug description:
  Still have problems with the add button not adding , whether for add and
advisor or add to a group or whatever.
  The add all still works and adds all the people.
  It seems the update (ubuntu and schooltool) continues to fail in one
regard, where would I find this information for you?

To manage notifications about this bug go to:
https://bugs.launchpad.net/schooltool/+bug/1272181/+subscriptions

Revision history for this message
mark mcdougall (mmcdouga) wrote :
Download full text (3.2 KiB)

Heres what was on the older computer and what Ive done without success, and seems no error log, will try on the newer (attempted) build also, Thanks,
Mark
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

phil@ubuntu:~$ sudo ls -ltr /var/lib/schooltool/
[sudo] password for phil:
total 220296
-rw-r--r-- 1 schooltool schooltool 7552272 Oct 24 11:12 Data.fs.old
drwxr-xr-x 2 schooltool schooltool 4096 Oct 24 11:12 blobs.old
-rw-r--r-- 1 schooltool schooltool 162689 Nov 4 13:15 Data.fs.index
drwx------ 4 schooltool schooltool 4096 Nov 5 19:00 blobs
-rw-r--r-- 1 root root 10984654 Nov 21 10:15 Data.fs-20131121
-rw-r--r-- 1 schooltool schooltool 1395863 Dec 16 07:55 Data.fs.6.gz
-rw-r--r-- 1 schooltool schooltool 1397211 Dec 19 07:42 Data.fs.5.gz
-rw-r--r-- 1 schooltool schooltool 1430204 Dec 29 12:22 Data.fs.4.gz
-rw-r--r-- 1 schooltool schooltool 35381068 Jan 26 17:42 Data.fs.bad
-rw-r--r-- 1 schooltool schooltool 530 Feb 3 18:06 redis-dump.rdb
-rw-r--r-- 1 schooltool schooltool 8173009 Feb 5 13:24 Data.fs.2.gz
-rw-r--r-- 1 schooltool schooltool 8173009 Feb 5 13:24 Data.fs.1.gz
-rw-r--r-- 1 schooltool schooltool 75447039 Feb 5 13:24 Data.fs.0
-rw-r--r-- 1 schooltool schooltool 75447039 Feb 5 13:24 Data.fs
-rw-r--r-- 1 schooltool schooltool 0 Feb 5 17:48 Data.fs.tmp
-rw-r--r-- 1 schooltool schooltool 6 Feb 5 17:48 Data.fs.lock
phil@ubuntu:~$ sudo service schooltool stop
 * Stopping SchoolTool... [ OK ]
phil@ubuntu:~$ sudo gunzip /var/lib/schooltool/Data.fs.1.gz
phil@ubuntu:~$ sudo cp /var/lib/schooltool/Data.fs.1 /var/lib/schooltool/Data.fsphil@ubuntu:~$ sudo service schooltool start
 * Starting SchoolTool... [ OK ]
phil@ubuntu:~$ sudo service schooltool status
schooltool FATAL Exited too quickly (process log may have details)
services:celery_report RUNNING pid 1768, uptime 0:00:29
services:redis RUNNING pid 1765, uptime 0:00:29
services:zeo RUNNING pid 1766, uptime 0:00:29
phil@ubuntu:~$ sudo service schooltool stop
 * Stopping SchoolTool... [ OK ]
phil@ubuntu:~$ sudo gunzip /var/lib/schooltool/Data.fs.4.gz
phil@ubuntu:~$ sudo cp /var/lib/schooltool/Data.fs.4 /var/lib/schooltool/Data.fs
phil@ubuntu:~$ sudo service schooltool start
 * Starting SchoolTool... [ OK ]
phil@ubuntu:~$ sudo service schooltool status
schooltool FATAL Exited too quickly (process log may have details)
services:celery_report RUNNING pid 1990, uptime 0:00:26
services:redis RUNNING pid 1987, uptime 0:00:26
services:zeo RUNNING pid 1988, uptime 0:00:26
phil@ubuntu:~$ sudo service schooltool status
schooltool FATAL Exited too quickly (process log may have details)
services:celery_report RUNNING pid 1990, uptime 0:01:10
services:redis RUNNING pid 1987, uptime 0:01:10
services:zeo RUNNING pid 1988, uptime 0...

Read more...

Revision history for this message
mark mcdougall (mmcdouga) wrote :

Hi still crashes everytime, the system Ubuntu 12.4.1LTS then cant send a note
because not a canonical program, (its a third party program). seems its the
celeryd
?? what to do??

On Wed, Feb 5th, 2014 at 7:27 PM, Gediminas Paulauskas <email address hidden> wrote:

> I see an error that was expected at the end of zeo.log
>
> 2014-02-05 18:28:22,289 main db/schooltool: current generation too high
> (43 > 42)
>
> This means you need to restore to a Data.fs older than January 6, as
> described in Comment #14.
>
> But I see the earliest you have is January 28. Maybe on another
> computer?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1272181
>
> Title:
> Problems upgrading to schooltool 2.7.0dev
>
> Status in SchoolTool:
> Fix Committed
>
> Bug description:
> Still have problems with the add button not adding , whether for add and
> advisor or add to a group or whatever.
> The add all still works and adds all the people.
> It seems the update (ubuntu and schooltool) continues to fail in one
> regard, where would I find this information for you?
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/schooltool/+bug/1272181/+subscriptions
>
>

Revision history for this message
mark mcdougall (mmcdouga) wrote :
Download full text (4.6 KiB)

and on my saucy attempt zeo isnt running still,
I copied the blobs across trying first with -r then without
then as schooltool seemed to be in a loop not starting I pressed c and it gave out a traceback
weve got no school management system running now...neither one
;;;;;;;;;;;;;;;;;;;;
Reading package lists... Done
schtl@schtl:~$ sudo apt-get install schooltool/saucy python-schooltool/saucy
Reading package lists... Done
Building dependency tree
Reading state information... Done
schooltool is already the newest version.
python-schooltool is already the newest version.
python-schooltool set to manually installed.
Selected version '1:2.6.1.2-0ubuntu2~saucy1' (SchoolTool PPA:13.10/saucy [all]) for 'schooltool'
Selected version '1:2.6.1.2-0ubuntu2~saucy1' (SchoolTool PPA:13.10/saucy [all]) for 'python-schooltool'
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
schtl@schtl:~$ sudo service schooltool start
 * Starting SchoolTool... [ OK ]
schtl@schtl:~$ sudo service schooltool status
schooltool RUNNING pid 4214, uptime 0:08:27
services:celery_report RUNNING pid 4213, uptime 0:08:27
services:redis RUNNING pid 4211, uptime 0:08:27
services:zeo FATAL Exited too quickly (process log may have details)
schtl@schtl:~$ sudo service schooltool stop
 * Stopping SchoolTool... [ OK ]
schtl@schtl:~$ sudo service schooltool start
 * Starting SchoolTool... [ OK ]
schtl@schtl:~$ sudo service schooltool status
schooltool RUNNING pid 6699, uptime 0:00:13
services:celery_report RUNNING pid 6698, uptime 0:00:13
services:redis RUNNING pid 6696, uptime 0:00:13
services:zeo FATAL Exited too quickly (process log may have details)
schtl@schtl:~$ cp /var/log/schooltool/error.log ~/Documents/
schtl@schtl:~$ apt-cache policy python-schooltool
python-schooltool:
  Installed: 1:2.6.1.2-0ubuntu2~saucy1
  Candidate: 1:2.6.1.2-0ubuntu2~saucy1
  Version table:
 *** 1:2.6.1.2-0ubuntu2~saucy1 0
        500 http://ppa.launchpad.net/schooltool-owners/ppa/ubuntu/ saucy/main i386 Packages
        100 /var/lib/dpkg/status
     1:2.6.0-0ubuntu1 0
        500 http://au.archive.ubuntu.com/ubuntu/ saucy/universe i386 Packages
schtl@schtl:~$ sudo /etc/init.d/schooltool stop
[sudo] password for schtl:
 * Stopping SchoolTool... [ OK ]
schtl@schtl:~$ sudo cp -r /media/schtl/087B-ACC7/schooltool/blobs-20140206-1120 /var/lib/schooltool/blobs /media/backups/schooltool/blobs-$(date +%Y%m%d-%H%M)
cp: target ‘/media/backups/schooltool/blobs-20140207-2008’ is not a directory
schtl@schtl:~$ sudo cp /media/schtl/087B-ACC7/schooltool/blobs-20140206-1120 /var/lib/schooltool/blobs
cp: omitting directory ‘/media/schtl/087B-ACC7/schooltool/blobs-20140206-1120’
schtl@schtl:~$ sudo /etc/init.d/schooltool start
 * Starting SchoolTool... [ OK ]
schtl@schtl:~$ sudo /etc/init.d/schooltool start...

Read more...

Revision history for this message
Tom Hoffman (tom-hoffman) wrote :

Hi Mark,

The thing is that it is essentially impossible for us to remotely support (for free) anything other than a released, packaged version of SchoolTool running on a clean Ubuntu install. It seems to me that first you need to get a clean (empty) SchoolTool 2.6 running on a clean Ubuntu install, without fiddling with the packages at all, and then try to switch to your pre-2.7 update database.

Revision history for this message
mark mcdougall (mmcdouga) wrote :

Hi Tom,
 thanks again, totally agree and came to the same conclusions overnight.
You warned me long ago about running a development version in workplace
environment. And Gediminas as soon as he saw the problem gave good
indications, including the difficulty to transfer between 2.6 and 2.7
versions.
I did build a clean 13.10 and clean schooltool on it a fortnight ago but
either stuffed up the Data.fs blobs import along the way, or something else.
Will retry and if that fails will start clean again but re-enter all the
demographic modifications by keyboard.
Is there a command to delete the current schooltool build on saucy?
Thanks again for your and GP's help.
Mark

----- Original Message -----
From: "Tom Hoffman" <email address hidden>

Hi Mark,

The thing is that it is essentially impossible for us to remotely
support (for free) anything other than a released, packaged version of
SchoolTool running on a clean Ubuntu install. It seems to me that first
you need to get a clean (empty) SchoolTool 2.6 running on a clean Ubuntu
install, without fiddling with the packages at all, and then try to
switch to your pre-2.7 update database.

Revision history for this message
Gediminas Paulauskas (menesis) wrote :
Download full text (5.8 KiB)

ZEO not starting is probably permissions problem again, see
ls -l /var/log/schooltool or zeo.log. If schooltool process does not start,
check both error.lol and paste.log, I'm not sure where errors go myself,
this definitely could be improved.

You can try starting schooltool in the foreground, the command should be

$ start-schooltool-instance /etc/schooltool/standard

After
$ service schooltool start

When the other 3 processes start but schooltool doesn't.

Not sure it's the right command, but I need to see some error to understand
why it fails. You did everything correctly as far as I can see. Except
restoring from /media/backup that you don't have, but that doesn't hurt.
2014.02.07 11:25, "mark mcdougall" <email address hidden> rašė:

> and on my saucy attempt zeo isnt running still,
> I copied the blobs across trying first with -r then without
> then as schooltool seemed to be in a loop not starting I pressed c and it
> gave out a traceback
> weve got no school management system running now...neither one
> ;;;;;;;;;;;;;;;;;;;;
> Reading package lists... Done
> schtl@schtl:~$ sudo apt-get install schooltool/saucy
> python-schooltool/saucy
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> schooltool is already the newest version.
> python-schooltool is already the newest version.
> python-schooltool set to manually installed.
> Selected version '1:2.6.1.2-0ubuntu2~saucy1' (SchoolTool PPA:13.10/saucy
> [all]) for 'schooltool'
> Selected version '1:2.6.1.2-0ubuntu2~saucy1' (SchoolTool PPA:13.10/saucy
> [all]) for 'python-schooltool'
> 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
> schtl@schtl:~$ sudo service schooltool start
> * Starting SchoolTool... [
> OK ]
> schtl@schtl:~$ sudo service schooltool status
> schooltool RUNNING pid 4214, uptime 0:08:27
> services:celery_report RUNNING pid 4213, uptime 0:08:27
> services:redis RUNNING pid 4211, uptime 0:08:27
> services:zeo FATAL Exited too quickly (process
> log may have details)
> schtl@schtl:~$ sudo service schooltool stop
> * Stopping SchoolTool... [
> OK ]
> schtl@schtl:~$ sudo service schooltool start
> * Starting SchoolTool... [
> OK ]
> schtl@schtl:~$ sudo service schooltool status
> schooltool RUNNING pid 6699, uptime 0:00:13
> services:celery_report RUNNING pid 6698, uptime 0:00:13
> services:redis RUNNING pid 6696, uptime 0:00:13
> services:zeo FATAL Exited too quickly (process
> log may have details)
> schtl@schtl:~$ cp /var/log/schooltool/error.log ~/Documents/
> schtl@schtl:~$ apt-cache policy python-schooltool
> python-schooltool:
> Installed: 1:2.6.1.2-0ubuntu2~saucy1
> Candidate: 1:2.6.1.2-0ubuntu2~saucy1
> Version table:
> *** 1:2.6.1.2-0ubuntu2~saucy1 0
> 500 http://ppa.launchpad.net/schooltool-owners/ppa/ubuntu/saucy/main i386 Packages
> 100 /var/lib/dpkg/status
> 1:2.6.0-0ub...

Read more...

Revision history for this message
mark mcdougall (mmcdouga) wrote :
Download full text (11.3 KiB)

On precise - Success - working!!
Am on the old database and have to carry the new year in, but functioning. After edit groups theres a red button under remove (instead of the yellow edit button on 2.7) and it works.
I hadnt reinstalled python, so neither schtl nor celeryd were running. Heres the terminal view should it assist,
ps on saucy (other system) zeo still down
;;;;;;;;;;;;;;;;;;;;;;;;
phil@ubuntu:~$ sudo service schooltool status
[sudo] password for phil:
schooltool STARTING
services:celery_report RUNNING pid 14129, uptime 0:06:45
services:redis RUNNING pid 14127, uptime 0:06:46
services:zeo RUNNING pid 14128, uptime 0:06:45
phil@ubuntu:~$ sudo service schooltool status
schooltool FATAL Exited too quickly (process log may have details)
services:celery_report RUNNING pid 14129, uptime 0:07:05
services:redis RUNNING pid 14127, uptime 0:07:06
services:zeo RUNNING pid 14128, uptime 0:07:05
phil@ubuntu:~$ sudo dpkg --configure -a
phil@ubuntu:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
phil@ubuntu:~$ sudo apt-get remove schooltool python-schooltool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-zope.session python-zope.hookable python-zope.app.localpermission
  python-zodb python-zope.app.basicskin python-zope.catalog
  python-zope.publisher libjs-jquery-ui python-zc.lockfile
  python-zope.app.generations python-openid python-webob python-z3c.rml
  python-zope.deprecation python-zope.processlifetime python-z3c.formui
  python-zope.component python-z3c.form python-transaction ckeditor
  python-zope.dublincore python-zope.app.exception python-zope.container
  python-zope.app.publisher python-zope.annotation python-zope.configuration
  python-zope.app.component python-zope.applicationcontrol python-zope.intid
  python-zope.app.schema python-zope.app.container python-zope.ptresource
  python-zope.copypastemove python-zope.app.applicationcontrol
  python-zope.error python-zope.authentication python-zope.i18nmessageid
  python-antlr python-zope.app.publication python-zc.catalog python-zc.table
  python-zope.app.testing python-zope.event python-zope.mimetype
  python-zope.contenttype python-zope.contentprovider python-pypdf
  python-zope.app.form python-zope.securitypolicy python-mechanize
  python-zope.schema python-zope.site python-zope.formlib python-zope.app.wsgi
  python-zope.size python-zope.app.security python-zope.ucol
  python-zope.viewlet python-zope.app.principalannotation python-beautifulsoup
  python-formencode python-zc.i18n python-zope.datetime python-z3c
  python-zope.component-zcml python-zope.location python-scgi python-zope.copy
  python-zope.proxy python-zope.security-untrustedpython python-tz fckeditor
  python-zope.keyreference python-zope.testing python-zope.app.http
  python-zope.brow...

Changed in schooltool:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.