[Moin-user] Moin
Kai Jaeger
kai at aplteam.com
Tue Aug 28 03:30:05 EDT 2012
Lars and Eric,
Thanks for that.
I am not a Python programmer. However, I always assumed that when ones
changes a py script then after the next execution there will be either
a new or an updated pyc script?!
Anyway, the log file is telling something unexpected:
-----------------------
[Tue Aug 28 07:33:37 2012] [error] Traceback (most recent call last):
[Tue Aug 28 07:33:37 2012] [error] File
"C:\\Python26\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 282, in
__call__
[Tue Aug 28 07:33:37 2012] [error] response = run(context)
[Tue Aug 28 07:33:37 2012] [error] File
"C:\\Python26\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 88, in
run
[Tue Aug 28 07:33:37 2012] [error] response = dispatch(request,
context, action_name)
[Tue Aug 28 07:33:37 2012] [error] File
"C:\\Python26\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 136, in
dispatch
[Tue Aug 28 07:33:37 2012] [error] response =
handle_action(context, pagename, action_name)
[Tue Aug 28 07:33:37 2012] [error] File
"C:\\Python26\\lib\\site-packages\\MoinMoin\\wsgiapp.py", line 185, in
handle_action
[Tue Aug 28 07:33:37 2012] [error] handler =
action.getHandler(context, action_name)
[Tue Aug 28 07:33:37 2012] [error] File
"C:\\Python26\\lib\\site-packages\\MoinMoin\\action\\__init__.py",
line 341, in getHandler
[Tue Aug 28 07:33:37 2012] [error] handler =
wikiutil.importPlugin(cfg, "action", action, identifier)
[Tue Aug 28 07:33:37 2012] [error] File
"C:\\Python26\\lib\\site-packages\\MoinMoin\\wikiutil.py", line 1057,
in importPlugin
[Tue Aug 28 07:33:37 2012] [error] return
importBuiltinPlugin(kind, name, function)
[Tue Aug 28 07:33:37 2012] [error] File
"C:\\Python26\\lib\\site-packages\\MoinMoin\\wikiutil.py", line 1081,
in importBuiltinPlugin
[Tue Aug 28 07:33:37 2012] [error] return
importNameFromPlugin(moduleName, function)
[Tue Aug 28 07:33:37 2012] [error] File
"C:\\Python26\\lib\\site-packages\\MoinMoin\\wikiutil.py", line 1094,
in importNameFromPlugin
[Tue Aug 28 07:33:37 2012] [error] module = __import__(moduleName,
globals(), {}, fromlist)
[Tue Aug 28 07:33:37 2012] [error] File
"C:\\Python26\\lib\\site-packages\\MoinMoin\\action\\newaccount.py",
line 154
[Tue Aug 28 07:33:37 2012] [error] return unicode(ret)
[Tue Aug 28 07:33:37 2012] [error] ^
[Tue Aug 28 07:33:37 2012] [error] IndentationError: unexpected indent
[Tue Aug 28 07:33:37 2012] [error] [client 62.255.207.52] mod_wsgi
(pid=2944): Exception occurred processing WSGI script
'D:/Wikis/config/moin.wsgi'., referer:
http://aplwiki.com/PhraseBook/ArithmeticMean?action=login
-----------------------
IndentationError?! I thought I might have added something by accident
to the file before taking the backup, therefore I restored a
significantly older backup. Still the newaccount.py from the backup
equals the current one.
These are the lines 151-156 from newaccount.py:
-----------------------
td.append(html.INPUT(type="submit", name="create",
value=_('Create Profile')))
return unicode(ret)
def execute(pagename, request):
-----------------------
Any ideas?!
More information about the Moin-user
mailing list