Am Samstag, 26. Dezember 2009 23:00:27 schrieb Thomas Waldmann:
> > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] if lang is
> > None and cfg.language_default in i18n.languages:
> > [Fri Dec 25 17:45:52 2009] [error] [client 79.211.124.180] TypeError:
> > argument of type 'NoneType' is not iterable
> >
> > My language_default ist set to "de". I tried changing it to "en" but it
> > changed nothing.
>
> See there: http://hg.moinmo.in/moin/1.9/rev/7c9372ef5428
Hello,
thanks für your reply. I habe replaced my
/lib/python2.5/site-packages/MoinMoin/wsgiapp.py with the one from the VCS and
the error changed:
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] mod_wsgi (pid=1445):
Exception occurred processing WSGI script '/home/flindner/xgm.de/pub/rezepte'.
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] Traceback (most
recent call last):
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File
"/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/support/werkzeug/utils.py",
line 248, in __call__
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] return
self.app(environ, start_response)
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File
"/home/flindner/moin/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line
263, in __call__
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] response =
run(context)
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File
"/home/flindner/moin/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line 70,
in run
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] response =
dispatch(request, context, action_name)
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File
"/home/flindner/moin/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line
118, in dispatch
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] response =
handle_action(context, pagename, action_name)
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File
"/home/flindner/moin/lib/python2.5/site-packages/MoinMoin/wsgiapp.py", line
177, in handle_action
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20]
handler(context.page.page_name, context)
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File
"/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/action/__init__.py",
line 261, in do_show
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20]
content_only=content_only,
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File
"/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/Page.py", line 1169,
in send_page
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20]
html_head=html_head,
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File
"/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/theme/__init__.py",
line 1743, in send_title
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] bodyattr.append('
%s' % self.ui_lang_attr())
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File
"/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/theme/__init__.py",
line 1550, in ui_lang_attr
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] return '
lang="%s" dir="%s"' % (lang, i18n.getDirection(lang))
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] File
"/home/flindner/moin//lib/python2.5/site-packages/MoinMoin/i18n/__init__.py",
line 257, in getDirection
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] return
languages[lang]['x-direction']
[Mon Dec 28 18:01:28 2009] [error] [client 79.211.125.20] TypeError: 'NoneType'
object is unsubscriptable
Thanks a lot,
Florian
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user