[schooltool-dev] Fwd: Error messages during installation of schooltool-2008, but works fine though...

Brian Sutherland jinty at web.de
Thu Dec 11 10:31:13 EST 2008


I didn't look too deeply, but seems that schooltool was started before
python-pastescript was fully installed.

I'm reasonably sure that having schooltool-2008 depend on
python-pastescript will solve the problem as dpkg should run
post-installation scripts in dependency order.

If that dependency is already in place, I would then suspect that
python-support may be buggy and not have setup python-pastescript by the
time the schooltool postinst tried to start the schooltool server.

In the above, having schooltool-2008 pre-depend on python-pastescript
is a very big hammer that may work around the issue.

On Thu, Dec 11, 2008 at 05:42:41AM -0800, Tom Hoffman wrote:
> ---------- Forwarded message ----------
> From: Gregor Jacobs <gregor.jacobs at gmx.de>
> Date: Wed, Dec 10, 2008 at 11:34 PM
> Subject: Error messages during installation of schooltool-2008, but
> works fine though...
> To: Tom Hoffman <tom.hoffman at gmail.com>
> 
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi Tom,
> now all packages were available, but it still didn't install properly.
> Here's the output:
> 
> - --- BEGIN ---
> update-rc.d: warning: /etc/init.d/schooltool-2008 missing LSB style header
>  * Starting SchoolTool 2008...
> Traceback (most recent call last):
>  File "/usr/bin/paster", line 17, in ?
>    from paste.script import command
> ImportError: No module named paste.script
>   ...fail!
> invoke-rc.d: initscript schooltool-2008, action "start" failed.
> dpkg: Fehler beim Bearbeiten von schooltool-2008 (--configure):
>  Unterprozess post-installation script gab den Fehlerwert 1 zurück
> Verarbeite Trigger für python-support ...
> Fehler traten auf beim Bearbeiten von:
>  schooltool-2008
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> Während der Paketinstallation sind Probleme aufgetreten. Versuche zu
> zu lösen:
> Richte schooltool-2008 ein (2) ...
> update-rc.d: warning: /etc/init.d/schooltool-2008 missing LSB style header
>  * Starting SchoolTool 2008...
> Changing user to schooltool:schooltool (112:126)
> Entering daemon mode
>   ...done.
> - --- END ---
> 
> Those German messages just mean that there was an error while working
> on schooltool-2008 (--configure) and the sub-process returned error
> code 1. Error while working on school.
> 
> However, after the installation, I could log in as manager, so the
> error messages might just confuse or irritate interested people. If we
> (as I lack the knowledge, I actually mean you coding people :-) can
> make them disappear, people wouldn't panic screaming "Oh this ugly
> Linux system fails again... I'm gonna go back to Windows!"
> 
> Greetings from Germany,
> Gregor
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iEYEARECAAYFAklAwn4ACgkQIEHhXbKM12O6lACdGPm96nolaQNSKjuzs9KovVs1
> nNIAniBNrrmtAlOvpSVJGK2RNvNPDqEe
> =mOVa
> -----END PGP SIGNATURE-----
> _______________________________________________
> Schooltool-dev mailing list
> Schooltool-dev at schooltool.org
> http://lists.schooltool.org/mailman/listinfo/schooltool-dev

-- 
Brian Sutherland


More information about the Schooltool-dev mailing list