Hello, Jonas Smedegaard wrote: > -----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 must confess, I didn't read "README.Debian" completely, I only saw an example how to configure my wiki and skipped the rest.
> 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).
If you want to fix it (only) in the documentation, I'd add a note in
section "Example: A single wiki as CGI with Apache 1.3" linking to
"Default Python and hardcoded paths". Saying something like:
NB: If you use moinmoin for a version of python that differs
from the standard version (currently 2.3), please read section
"Default Python and hardcoded paths".
Best regards
Uwe
--
Uwe Zeisberger
http://www.google.com/search?q=square+root+of+2
signature.asc
Description: Digital signature

