[Moin-user] NameError in apache's error.log
Peter Teunissen
oneman at onemanifest.net
Sat Oct 29 15:37:53 EDT 2005
Hi,
I'm trying to run moinmoin on debian Sarge PowerPC. All is setup and
working (apache2, mod_cgi, mod_python, moinmoin itself) but I can't
get the moinmoin instance to run. When accessing my wiki I get an
apache internal server error.
I see serveral errors in apache's error.log. Most seem to be not
critical. But the script stops with a NameError (see below) stating
that my wiki is not defined. The onewiki.py file is there however in /
etc/moin/
I did some googling, but today google just isn't my friend. What
could be causing this error or where could I look for solutions?
Thx,
Peter
In apache's error.log I see this:
[Sat Oct 29 23:42:00 2005] [error] [client xxx.xxx.xxx.xxx] sys:1:
DeprecationWarning: Non-ASCII character '\\xfc' in file /var/www/
www.onemanifest.net/onewiki/moin.cgi on line 8, but no encoding
declared; see http://www.python.org/peps/pep-0263.html for details
[Sat Oct 29 23:42:00 2005] [error] [client xxx.xxx.xxx.xxx] /usr/lib/
python2.3/site-packages/MoinMoin/wikiutil.py:11: DeprecationWarning:
Non-ASCII character '\\xfc' in file /usr/lib/python2.3/site-packages/
MoinMoin/version.py on line 8, but no encoding declared; see http://
www.python.org/peps/pep-0263.html for details
[Sat Oct 29 23:42:00 2005] [error] [client xxx.xxx.xxx.xxx] from
MoinMoin import util, version, config
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] Traceback
(most recent call last):
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/
var/www/www.onemanifest.net/onewiki/moin.cgi", line 38, in ?
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] request =
RequestCGI()
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/
usr/lib/python2.3/site-packages/MoinMoin/request.py", line 1143, in
__init__
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
self._setup_vars_from_std_env(os.environ)
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/
usr/lib/python2.3/site-packages/MoinMoin/request.py", line 281, in
_setup_vars_from_std_env
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
self._load_multi_cfg()
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/
usr/lib/python2.3/site-packages/MoinMoin/request.py", line 162, in
_load_multi_cfg
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] self.cfg
= multiconfig.getConfig(self.url)
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/
usr/lib/python2.3/site-packages/MoinMoin/multiconfig.py", line 59, in
getConfig
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] match =
url_re().match(url)
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/
usr/lib/python2.3/site-packages/MoinMoin/multiconfig.py", line 34, in
url_re
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
farmconfig = __import__('farmconfig', globals(), {})
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] File "/
etc/moin/farmconfig.py", line 36, in ?
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] wikis = [
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] NameError
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] :
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] name
'onewiki' is not defined
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx]
[Sat Oct 29 23:42:01 2005] [error] [client xxx.xxx.xxx.xxx] Premature
end of script headers: moin.cgi
More information about the Moin-user
mailing list