= 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 default=default_handler, arg=req, silent=hlist.silent) File "/usr/lib/python2.4/site-packages/mod_python/importer.py", line 1206, in _process_target object = apache.resolve_object(module, object_str, arg, silent=silent) File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line 696, in resolve_object raise AttributeError, s AttributeError: module '/var/lib/python-support/python2.4/MoinMoin/request/__init__.pyc' contains no 'RequestModPy' == Steps to reproduce == ## Describe the steps needed to reproduce the bug. If we can't reproduce it, we probably can't fix it. 1. go to the default wiki by entering localhost in the browser. == Example == ##Add URL that show the bug, screenshot or test wiki markup that fail... ##URL: ##attachment:Screenshot.png ##{{{ ##Example wiki markup that fail ##}}} == Component selection == ## Where you think is this bug happening ? (general, plugin [plugin name], theme [theme name], ... * general == Details == ## If you got a traceback, please save the traceback page as html and attach here: ## attachment:traceback.html ## if the bug is in this wiki, just kill the table and write: This Wiki. ## If a traceback is not available, please fill in the details here: || '''!MoinMoin Version''' || || || '''OS and Version''' || || || '''Python Version''' || || || '''Server Setup''' || || || '''Server Details''' || || || '''Language you are using the wiki in''' (set in the browser/UserPreferences) || || == Workaround == ## How to deal with the bug until it is fixed = 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 = ## This part is for Moin``Moin developers: * Priority: * Assigned to: * Status: use new server adaptor script from `wiki/server/...` ---- ## If you are a moin core developer, replace the category to Category* in these cases: ## Category MoinMoinNoBug - if this is not a bug. ## Category MoinMoinBugConfirmed - if you can confirm the bug on current code. ## Category MoinMoinBugFixed - after the bug is fixed in current code. CategoryMoinMoinNoBug