[Moin-user] Upgrade to 1.9 problems

Mail@Heavy.ch mail at heavy.ch
Wed Dec 30 16:08:06 EST 2009


Am Mittwoch, den 30.12.2009, 19:03 +0100 schrieb Florian Lindner:
> Am Montag, 28. Dezember 2009 18:03:59 schrieb Florian Lindner:
> > 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
> 
> No idea anyone?
> 
> :-/

I do not know, but here are some ideas...

1. Did you made every step explained here:
http://hg.moinmo.in/moin/1.9/raw-file/ffaec355ee84/docs/UPDATE.html

2. Also read carefully the changes here:
http://hg.moinmo.in/moin/1.9/file/ffaec355ee84/docs/CHANGES (special
this marked with HINT)

3. Update after reading this your wikiconfig correctly? 

4. Did you also clean the cache of your wiki?

5. Do you running latest WSGI 3.1 or atleast 2.5 or higher?

6. maybe not only replace, but reinstall everything with --force

bye
Marcel



> 
> 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
> Moin-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/moin-user







More information about the Moin-user mailing list