-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08-07-2005 13:45, Uwe Zeisberger wrote:
> I installed python2.4-moinmoin and followed README.Debian to set up a > wiki. As /usr/share/moin/server/moin.cgi is in the package > moinmoin-common, the shebang line is '#!/usr/bin/python'. > > But because /usr/bin/python is currently version 2.3 of Python the > script is not able to find/use the modules of the python2.4-moinmoin > package. > > To workaround this I changed the shebang line of the (copied) moin.cgi > to read '#!/usr/bin/python2.4'. Then it worked. > > The proper solution is probably to move the scripts under > /usr/share/moin/server/ from moinmoin-common to the versioned packages. In addtion to the unversioned scripts in -common there should also be properly versioned ones. Have a look below /usr/share/doc/python2.4-moinmoin/examples/server/ It is documented in README.Debian, "Default Python and hardcoded paths". I am very open to suggestions for improvements to that documentation - obviously it is easy to miss the relevant points there :-I (I consider this a non-bug, but will leave it open for now, to invite for suggestions for improvement of documentation). Regards, - Jonas - -- * Jonas Smedegaard - idealist og Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ - Enden er nær: http://www.shibumi.org/eoti.htm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFCzm08n7DbMsAkQLgRAkYAAJ9aFk5jI7I0bFudR4KEJOrG20yHfgCgocSV zJJPsjQ2RsmYXEq57xgX2XU= =r3Vj -----END PGP SIGNATURE-----