no RequestModPy
A recent upgrade from moinmoin 1.5.8-5.1 to 1.6.2-1 on Debian testing/Lenny broke my wiki. Here is the traceback I get:
MOD_PYTHON ERROR
ProcessId: 5423 Interpreter: '127.0.0.1'
ServerName: '127.0.0.1' DocumentRoot: '/var/www/'
URI: '/profitwiki/' Location: '/profitwiki' Directory: None Filename: '/var/www/profitwiki/' PathInfo: Phase: 'PythonHandler' Handler: 'MoinMoin.request::RequestModPy.run' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch raise AttributeError, s AttributeError: module '/var/lib/python-support/python2.4/MoinMoin/request/init.pyc' contains no 'RequestModPy'
MoinMoin Version OS and Version Python Version Server Setup Server Details Language you are using the wiki in (set in the browser/UserPreferences)
You need to use the new server adaptor script/code from wiki/server/... (not the one that worked with 1.5). If you installed the Debian package, it is likely found under /usr/share/moin/server/.... BTW, maybe you don't have read docs/CHANGES and docs/README.migration - further steps are needed for migrating the data from 1.5 to 1.6 - don't file any more bugs until you have read that stuff and done the migration as described there. Yes I did read docs/README.migration.gz. I am following the instructions and first of all moin is not in the path for user www-data. When I explicitly use /usr/share/moin/server/moin I get the following: That is not the moin script command, that's the standalone server. Look into /usr/bin/moin or use python /usr/lib/python-2.4/site-packages/MoinMoin/script/moin.py.
Status: use new server adaptor script from wiki/server/...
File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line 1206, in _process_target
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 696, in resolve_object Steps to reproduce
Example
Component selection
Details
Workaround
Discussion
/etc/moin# /usr/share/moin/server/moin --config-dir /etc/moin --wiki-url localhost/profitwiki migration data
Loading ...
MoinMoin - 1.6.3 [release]
error: too many arguments
moin - MoinMoin daemon
usage: moin command
commands:
start start the server
stop stop the server
restart stop then start the server
kill kill the server
@copyright: 2004-2005 Thomas Waldmann, Nir Soffer
@license: GNU GPL, see COPYING for details.
Plan