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):

AttributeError: module '/var/lib/python-support/python2.4/MoinMoin/request/init.pyc' contains no 'RequestModPy'

Steps to reproduce

  1. go to the default wiki by entering localhost in the browser.

Example

Component selection

  • general

Details

MoinMoin Version

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

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:

/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.

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.

Plan

  • Priority:
  • Assigned to:
  • Status: use new server adaptor script from wiki/server/...


CategoryMoinMoinNoBug

MoinMoin: MoinMoinBugs/NoRequestModPy (last edited 2008-04-25 19:57:30 by ThomasWaldmann)