Attachment 'traceback.html'
Download--> -->
UnboundLocalError
local variable 'next_line' 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.
C:\moin\Lib\site-packages\MoinMoin\request.py in run (self=<MoinMoin.request.RequestCGI object>)
- 1016 from MoinMoin.wikiaction import getHandler
- 1017 handler = getHandler(self, action)
- 1018 handler(self.page.page_name, self)
- 1019
- 1020 # 5. Or redirect to another page
- handler = <function do_edit>
- self = <MoinMoin.request.RequestCGI object>
- self.page = <MoinMoin.Page.Page instance>
- self.page.page_name = u'CashManagement'
C:\moin\Lib\site-packages\MoinMoin\wikiaction.py in do_edit (pagename=u'CashManagement', request=<MoinMoin.request.RequestCGI object>)
- 629 else:
- 630 try:
- 631 savemsg = pg.saveText(savetext, rev, trivial=trivial, comment=comment)
- 632 except pg.EditConflict, msg:
- 633 # Handle conflict and send editor
- savemsg undefined
- pg = <MoinMoin.PageEditor.PageEditor instance>
- pg.saveText = <bound method PageEditor.saveText of <MoinMoin.PageEditor.PageEditor instance>>
- savetext = u'Describe here.\n\n'
- rev = 2
- trivial = 0
- comment = u''
C:\moin\Lib\site-packages\MoinMoin\PageEditor.py in saveText (self=<MoinMoin.PageEditor.PageEditor instance>, newtext=u'Describe here.\n\n', rev=2, **kw={'comment': u'', 'trivial': 0})
- 858 other = True
- 859 next_line = line
- 860 if next_line.is_from_current_user(self.request):
- 861 saved_page = Page(self.request, self.page_name,
- 862 rev=int(next_line.rev))
- next_line undefined
- self = <MoinMoin.PageEditor.PageEditor instance>
- self.request = <MoinMoin.request.RequestCGI object>
UnboundLocalError
local variable 'next_line' referenced before assignment
- args = ("local variable 'next_line' referenced before assignment",)
System Details
- Date: Fri, 27 Jan 2006 20:44:51 +0000
- Platform: win32 (nt)
- Python: Python 2.4.2 (C:\Python24\python.exe)
- MoinMoin: Release 1.5.1 (release)
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.