Package: python-moinmoin
Version: 1.7.1-3+lenny1
Severity: important
Tags: patch
After upgrading to python-moinmoin (from moinmoin-common?), it gove the
error below.
Following the error's advice, and changing farmconfig fixed the problem.
Here is a diff for /etc/moin/farmconfig.py
69c69
< from MoinMoin.config.multiconfig import DefaultConfig
---
> from MoinMoin.multiconfig import DefaultConfig
And the error:
"--> -->
Traceback (most recent call last):
File
"/var/lib/python-support/python2.5/MoinMoin/request/request_cgi.py",
line 29, in __init__
RequestBase.__init__(self, properties)
File "/var/lib/python-support/python2.5/MoinMoin/request/__init__.py",
line 166, in __init__
self._load_multi_cfg()
File "/var/lib/python-support/python2.5/MoinMoin/request/__init__.py",
line 361, in _load_multi_cfg
self.cfg = multiconfig.getConfig(self.url)
File
"/var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py", line
204, in getConfig
cfgName = _getConfigName(url)
File
"/var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py", line
186, in _getConfigName
for name, regex in _url_re_list():
File
"/var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py", line
79, in _url_re_list
farmconfig, _farmconfig_mtime = _importConfigModule('farmconfig')
File
"/var/lib/python-support/python2.5/MoinMoin/config/multiconfig.py", line
63, in _importConfigModule
raise error.ConfigurationError(msg)
ConfigurationError: ConfigurationError: Please edit your
wikiconfig/farmconfig and fix your DefaultConfig import:
Old: from MoinMoin.multiconfig import DefaultConfig
New: from MoinMoin.config.multiconfig import DefaultConfig
If you can't do that, but if you can change the MoinMoin code, see the
file
MoinMoin/multiconfig.py for an alternative, but temporary workaround.
"
-- System Information:
Debian Release: 5.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages python-moinmoin depends on:
ii python 2.5.2-3 An interactive high-level object-o
ii python-support 0.8.4 automated rebuilding support for P
Versions of packages python-moinmoin recommends:
ii exim4 4.69-9 metapackage to ease Exim MTA (v4)
ii exim4-daemon-light [mail-tran 4.69-9 lightweight Exim MTA (v4) daemon
ii python-xapian 1.0.7-3.1 Xapian search engine interface for
ii python-xml 0.8.4-10.1 XML tools for Python
Versions of packages python-moinmoin suggests:
pn antiword <none> (no description available)
ii apache2-mpm-prefork [htt 2.2.9-10+lenny2 Apache HTTP Server - traditional n
pn catdoc <none> (no description available)
pn python-4suite-xml <none> (no description available)
pn python-docutils <none> (no description available)
pn python-gdchart <none> (no description available)
pn python-pyxmpp <none> (no description available)
ii wamerican [wordlist] 6-2.3 American English dictionary words
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]