Attachment 'msg_RefTest.html'
Download--> -->
UnboundLocalError
local variable 'msg' referenced before assignment
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/org/moin_tw/moin-1.5/MoinMoin/request.py in run (self=<MoinMoin.request.RequestTwisted object>)
- 1022 from MoinMoin.wikiaction import getHandler
- 1023 handler = getHandler(self, action)
- 1024 handler(self.page.page_name, self)
- 1025
- 1026 # 5. Or redirect to another page
- handler = <function execute>
- self = <MoinMoin.request.RequestTwisted object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'RefTest'
/org/moin_tw/moin-1.5/MoinMoin/action/DeletePage.py in execute (pagename=u'RefTest', request=<MoinMoin.request.RequestTwisted object>)
- 44 comment = request.form.get('comment', [u''])[0]
- 45 comment = wikiutil.clean_comment(comment)
- 46 msg = page.deletePage(comment)
- 47
- 48 return page.send_page(request, msg=msg)
- msg undefined
- page = <MoinMoin.PageEditor.PageEditor instance>
- page.deletePage = <bound method PageEditor.deletePage of <MoinMoin.PageEditor.PageEditor instance>>
- comment = u''
/org/moin_tw/moin-1.5/MoinMoin/PageEditor.py in deletePage (self=<MoinMoin.PageEditor.PageEditor instance>, comment=u'')
- 487 cache = caching.CacheEntry(self.request, arena, key)
- 488 cache.remove()
- 489 return msg
- 490
- 491 def _sendNotification(self, comment, emails, email_lang, revisions, trivial):
- msg undefined
UnboundLocalError
local variable 'msg' referenced before assignment
- args = ("local variable 'msg' referenced before assignment",)
System Details
- Date: Tue, 17 Jan 2006 08:15:24 +0000
- Platform: Linux thinkmo 2.6.14-thinkmo-1 #1 SMP Wed Nov 9 17:33:56 CET 2005 x86_64
- Python: Python 2.4.2 (/usr/local/bin/python2.4)
- MoinMoin: Release 1.5.0 (patch-375)
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.