Hello,

I've installed moinmoin v1.9.8 and python v2.6.6 on Oracle Linux. .

I have copied the data/ DIR from a server running moinmoin v1.5.4 and
pythoon v2.3.3 to our new server and performed the migrating steps listed
here (https://moinmo.in/HowTo/Migrate%20from%201.5%20to%201.6).  Some pages
load as expected, however, some pages return HTTP status code 500.

If I append the page url to include  '?highlight=x', then the page loads, I
can save the page (with out making any changes), reload it, and it will
load as expected.

When the pages return HTTP status code, the below is captured in the apache
error_log.

I'm confused why some pages load just fine, initially.  But, some pages I
have to save (without making any changes) before it will load correctly.

Thanks for your time.


apache error_log output:

[Wed May 27 18:04:29 2015] [error] 2015-05-27 18:04:29,467 ERROR
MoinMoin.wsgiapp:281 An exception has occurred [
http://162.70.42.248/SM_Web_GUI_Setup].
[Wed May 27 18:04:29 2015] [error] Traceback (most recent call last):
[Wed May 27 18:04:29 2015] [error]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/wsgiapp.py",
line 264, in __call__
[Wed May 27 18:04:29 2015] [error]     response = run(context)
[Wed May 27 18:04:29 2015] [error]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/wsgiapp.py",
line 89, in run
[Wed May 27 18:04:29 2015] [error]     response = dispatch(request,
context, action_name)
[Wed May 27 18:04:29 2015] [error]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/wsgiapp.py",
line 137, in dispatch
[Wed May 27 18:04:29 2015] [error]     response = handle_action(context,
pagename, action_name)
[Wed May 27 18:04:29 2015] [error]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/wsgiapp.py",
line 203, in handle_action
[Wed May 27 18:04:29 2015] [error]     handler(context.page.page_name,
context)
[Wed May 27 18:04:29 2015] [error]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/action/__init__.py",
line 268, in do_show
[Wed May 27 18:04:29 2015] [error]     content_only=content_only,
[Wed May 27 18:04:29 2015] [error]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/Page.py",
line 1332, in send_page
[Wed May 27 18:04:29 2015] [error]     start_line=pi['lines'])
[Wed May 27 18:04:29 2015] [error]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/Page.py",
line 1426, in send_page_content
[Wed May 27 18:04:29 2015] [error]     self.execute(request, parser, code)
[Wed May 27 18:04:29 2015] [error]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/Page.py",
line 1457, in execute
[Wed May 27 18:04:29 2015] [error]     exec code
[Wed May 27 18:04:29 2015] [error]   File "SM Web GUI Setup", line 4, in ?
[Wed May 27 18:04:29 2015] [error] TypeError: exceptions must be old-style
classes or derived from BaseException, not str
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224] mod_wsgi
(pid=28088): Exception occurred processing WSGI script
'/opt/installs/moin-1.9.8/share/moin/moin.wsgi'.
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224] Traceback (most
recent call last):
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/support/werkzeug/wsgi.py",
line 411, in __call__
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]     return
self.app(environ, start_response)
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/wsgiapp.py",
line 264, in __call__
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]     response =
run(context)
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/wsgiapp.py",
line 89, in run
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]     response =
dispatch(request, context, action_name)
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/wsgiapp.py",
line 137, in dispatch
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]     response =
handle_action(context, pagename, action_name)
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/wsgiapp.py",
line 203, in handle_action
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]
handler(context.page.page_name, context)
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/action/__init__.py",
line 268, in do_show
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]
content_only=content_only,
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/Page.py",
line 1332, in send_page
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]
start_line=pi['lines'])
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/Page.py",
line 1426, in send_page_content
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]
self.execute(request, parser, code)
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]   File
"/opt/installs/moin-1.9.8/lib/python2.6/site-packages/MoinMoin/Page.py",
line 1457, in execute
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]     exec code
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224]   File "SM Web
GUI Setup", line 4, in ?
[Wed May 27 18:04:29 2015] [error] [client 162.70.129.224] TypeError:
exceptions must be old-style classes or derived from BaseException, not str
------------------------------------------------------------------------------
_______________________________________________
Moin-user mailing list
Moin-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to