I've had two moin wiki's running for a while now. They share some common data in /usr/local/moin-1.9.2 and reside in /home/www/wiki.xproc.org/ and /home/www/wiki.docbook.org/ respectively. No prizes for guessing which wikis they are :-)
This morning the server crashed hard and fatally with an unrecoverable disk error on the root partition. Yay me. I had a spare drive so I rebuilt the server on that and copied over the relevant data. (None appeared to be part of the damage.) When I got the apache config back up and running I got dict object not callable errors. A little poking about on Google lead me to the 'cleancache' command. Now the docbook wiki works fine, but the xproc wiki fails with a different error: Thu Jun 23 17:18:33 2011] [error] 2011-06-23 17:18:33,624 ERROR MoinMoin.wsgiapp:293 An exception has occurred [http://microwave:8192/]. [Thu Jun 23 17:18:33 2011] [error] Traceback (most recent call last): [Thu Jun 23 17:18:33 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 282, in __call__ [Thu Jun 23 17:18:33 2011] [error] response = run(context) [Thu Jun 23 17:18:33 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 88, in run [Thu Jun 23 17:18:33 2011] [error] response = dispatch(request, context, action_name) [Thu Jun 23 17:18:33 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 136, in dispatch [Thu Jun 23 17:18:33 2011] [error] response = handle_action(context, pagename, action_name) [Thu Jun 23 17:18:33 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 195, in handle_action [Thu Jun 23 17:18:33 2011] [error] handler(context.page.page_name, context) [Thu Jun 23 17:18:33 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/action/__init__.py", line 261, in do_show [Thu Jun 23 17:18:33 2011] [error] content_only=content_only, [Thu Jun 23 17:18:33 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 1171, in send_page [Thu Jun 23 17:18:33 2011] [error] html_head=html_head, [Thu Jun 23 17:18:33 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/theme/__init__.py", line 1750, in send_title [Thu Jun 23 17:18:33 2011] [error] bodyattr.append(' %s' % self.ui_lang_attr()) [Thu Jun 23 17:18:33 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/theme/__init__.py", line 1553, in ui_lang_attr [Thu Jun 23 17:18:33 2011] [error] return ' lang="%s" dir="%s"' % (lang, i18n.getDirection(lang)) [Thu Jun 23 17:18:33 2011] [error] File "/usr/local/moin-1.9.2/MoinMoin/i18n/__init__.py", line 257, in getDirection [Thu Jun 23 17:18:33 2011] [error] return languages[lang]['x-direction'] [Thu Jun 23 17:18:33 2011] [error] TypeError: 'NoneType' object is not subscriptable [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] mod_wsgi (pid=7541): Exception occurred processing WSGI script '/home/www/wiki.xproc.org/wiki/moin.wsgi'. [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] Traceback (most recent call last): [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] File "/usr/local/moin-1.9.2/MoinMoin/support/werkzeug/utils.py", line 248, in __call__ [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] return self.app(environ, start_response) [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 282, in __call__ [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] response = run(context) [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 88, in run [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] response = dispatch(request, context, action_name) [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 136, in dispatch [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] response = handle_action(context, pagename, action_name) [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] File "/usr/local/moin-1.9.2/MoinMoin/wsgiapp.py", line 195, in handle_action [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] handler(context.page.page_name, context) [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] File "/usr/local/moin-1.9.2/MoinMoin/action/__init__.py", line 261, in do_show [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] content_only=content_only, [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] File "/usr/local/moin-1.9.2/MoinMoin/Page.py", line 1171, in send_page [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] html_head=html_head, [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] File "/usr/local/moin-1.9.2/MoinMoin/theme/__init__.py", line 1750, in send_title [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] bodyattr.append(' %s' % self.ui_lang_attr()) [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] File "/usr/local/moin-1.9.2/MoinMoin/theme/__init__.py", line 1553, in ui_lang_attr [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] return ' lang="%s" dir="%s"' % (lang, i18n.getDirection(lang)) [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] File "/usr/local/moin-1.9.2/MoinMoin/i18n/__init__.py", line 257, in getDirection [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] return languages[lang]['x-direction'] [Thu Jun 23 17:18:33 2011] [error] [client 192.168.1.98] TypeError: 'NoneType' object is not subscriptable This is running against python2.6, btw, since I saw some 2.7 issues. I don't see any significant differences between the two wikiconfig.py files. Anyone got a clue-by-four? Be seeing you, norm -- Norman Walsh <n...@nwalsh.com> | To probe a hole we first use a straight http://nwalsh.com/ | stick to see how far it takes us. To | probe the visible world we use the | assumption that things are simple until | they prove to be otherwise.--E. H. | Gombrich
pgp4TUKf4W4Hz.pgp
Description: PGP signature
------------------------------------------------------------------------------ Simplify data backup and recovery for your virtual environment with vRanger. Installation's a snap, and flexible recovery options mean your data is safe, secure and there when you need it. Data protection magic? Nope - It's vRanger. Get your free trial download today. http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________ Moin-user mailing list Moin-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/moin-user