Attachment 'traceback.html'
Download--> -->
EmptyPage
You cannot save empty pages.
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.
/srv/moin/code/1.8/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object at 0x8e979ec>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function execute at 0x9221fb4>
- self = <MoinMoin.request.request_wsgi.Request object at 0x8e979ec>
- self.page = <MoinMoin.Page.Page object at 0x8d43bcc>
- self.page.page_name = u'SamMorris/DeletionTest'
/srv/moin/code/1.8/MoinMoin/action/revert.py in execute (pagename=u'SamMorris/DeletionTest', request=<MoinMoin.request.request_wsgi.Request object at 0x8e979ec>)
- 102
- 103
- 104 def execute(pagename, request):
- 105 """ Glue code for actions """
- 106 revert(pagename, request).render()
- global revert = <class MoinMoin.action.revert.revert at 0x8de692c>
- pagename = u'SamMorris/DeletionTest'
- request = <MoinMoin.request.request_wsgi.Request object at 0x8e979ec>
- ).render undefined
/srv/moin/code/1.8/MoinMoin/action/__init__.py in render (self=<MoinMoin.action.revert.revert instance at 0x8e9db0c>)
- 202 elif self.form_trigger in form: # user hit the trigger button
- 203 if self.ticket_ok():
- 204 success, self.error = self.do_action()
- 205 else:
- 206 success = False
- success undefined
- self = <MoinMoin.action.revert.revert instance at 0x8e9db0c>
- self.error = ''
- self.do_action = <bound method revert.do_action of <MoinMoin.action.revert.revert instance at 0x8e9db0c>>
/srv/moin/code/1.8/MoinMoin/action/revert.py in do_action (self=<MoinMoin.action.revert.revert instance at 0x8e9db0c>)
- 59
- 60 try:
- 61 msg = pg.revertPage(rev, comment)
- 62 # make it show the current version...
- 63 self.request.rev = None
- msg undefined
- pg = <MoinMoin.PageEditor.PageEditor object at 0x88903ac>
- pg.revertPage = <bound method PageEditor.revertPage of <MoinMoin.PageEditor.PageEditor object at 0x88903ac>>
- rev = 4
- comment = u'test revert'
/srv/moin/code/1.8/MoinMoin/PageEditor.py in revertPage (self=<MoinMoin.PageEditor.PageEditor object at 0x88903ac>, revision=4, comment=u'test revert')
- 669 revstr = '%08d' % revision
- 670 pg = Page(self.request, self.page_name, rev=revision)
- 671 msg = self.saveText(pg.get_raw_body(), 0, extra=revstr, action="SAVE/REVERT", notify=False, comment=comment)
- 672
- 673 # Remove cache entry (if exists)
- msg undefined
- self = <MoinMoin.PageEditor.PageEditor object at 0x88903ac>
- self.saveText = <bound method PageEditor.saveText of <MoinMoin.PageEditor.PageEditor object at 0x88903ac>>
- pg = <MoinMoin.Page.Page object at 0x8e8e34c>
- pg.get_raw_body = <bound method Page.get_raw_body of <MoinMoin.Page.Page object at 0x8e8e34c>>
- extra undefined
- revstr = '00000004'
- action undefined
- notify undefined
- builtin False = False
- comment = u'test revert'
/srv/moin/code/1.8/MoinMoin/PageEditor.py in saveText (self=<MoinMoin.PageEditor.PageEditor object at 0x88903ac>, newtext=u'', rev=0, **kw={'action': 'SAVE/REVERT', 'comment': u'test revert', 'extra': '00000004', 'notify': False})
- 1059 elif not newtext:
- 1060 msg = _('You cannot save empty pages.')
- 1061 raise self.EmptyPage, msg
- 1062 elif rev != 0 and rev != self.current_rev():
- 1063 # check if we already saved that page
- self = <MoinMoin.PageEditor.PageEditor object at 0x88903ac>
- self.EmptyPage = <class 'MoinMoin.PageEditor.EmptyPage'>
- msg = 'You cannot save empty pages.'
EmptyPage
You cannot save empty pages.
- args = ()
- message = 'You cannot save empty pages.'
System Details
- Date: Mon, 03 Aug 2009 17:54:08 +0000
- Platform: Linux www.moinmo.in 2.6.26-2-xen-686 #1 SMP Thu Mar 26 06:51:04 UTC 2009 i686
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.8.4 (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.