[Moin-user] Failed to run moinmoin 1.9.2 with strange 'utf8' codec can't decode byte 0xc3 error

Jiawei Zhang jiawei.1214 at gmail.com
Fri Jun 11 03:42:25 EDT 2010


Hello,

I was run into trouble whith MoinMoin v1.9.2. My environment listed as
below.

MoinMoin: v1.9.2
MoinMoin code path: /usr/local/lib/python2.6/site-packages/MoinMoin
MoinMoin wiki path: /inetpub/www/python/moin
Python: v2.6.5
Apache: v2.2.15
Mod_WSGI: v3.2

For me, this is not first time configuring MoinMoin. This time, I went
though all steps according to InstallDoc on
http://master19.moinmo.in/InstallDocs as before. However, that's showed
"Internal Server Error" when visiting http://myhost/wiki. I got following
error messages from Apache's error_log.

Anyone can help?

Thanks!

[Fri Jun 11 15:18:35 2010] [notice] Apache/2.2.15 (Unix) PHP/5.2.13
mod_wsgi/3.2 Python/2.6.5 configure               d -- resuming normal
operations
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x] mod_wsgi (pid=3485):
Exception occurred proce               ssing WSGI script
'/inetpub/www/python/moin/server/moin.wsgi'.
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x] Traceback (most recent
call last):
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]   File
"/usr/local/lib/python2.6/site-package
s/MoinMoin/support/werkzeug/utils.py", line 248, in __call__
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]     return
self.app(environ, start_response)
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]   File
"/usr/local/lib/python2.6/site-package               s/MoinMoin/wsgiapp.py",
line 281, in __call__
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]     context =
init(request)
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]   File
"/usr/local/lib/python2.6/site-package               s/MoinMoin/wsgiapp.py",
line 51, in init
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]     context.lang =
setup_i18n_preauth(context               )
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]   File
"/usr/local/lib/python2.6/site-package               s/MoinMoin/wsgiapp.py",
line 233, in setup_i18n_preauth
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]
i18n.i18n_init(context)
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]   File
"/usr/local/lib/python2.6/site-package
s/MoinMoin/i18n/__init__.py", line 91, in i18n_init
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]
_languages[language][key] = value.decode(               encoding)
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]   File
"/usr/local/lib/python2.6/encodings/ut               f_8.py", line 16, in
decode
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x]     return
codecs.utf_8_decode(input, errors,                True)
[Fri Jun 11 15:36:44 2010] [error] [client x.x.x.x] UnicodeDecodeError:
'utf8' codec can't decode                byte 0xc3 in position 5: unexpected
end of data
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20100611/98325eb3/attachment.html>


More information about the Moin-user mailing list