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.

  1. /srv/moin/code/1.8/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object at 0x8e979ec>)

    1. 1309 self.page.send_page()
    2. 1310 else:
    3. 1311 handler(self.page.page_name, self)
    4. 1312
    5. 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'
  2. /srv/moin/code/1.8/MoinMoin/action/revert.py in execute (pagename=u'SamMorris/DeletionTest', request=<MoinMoin.request.request_wsgi.Request object at 0x8e979ec>)

    1. 102
    2. 103
    3. 104 def execute(pagename, request):
    4. 105 """ Glue code for actions """
    5. 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
  3. /srv/moin/code/1.8/MoinMoin/action/__init__.py in render (self=<MoinMoin.action.revert.revert instance at 0x8e9db0c>)

    1. 202 elif self.form_trigger in form: # user hit the trigger button
    2. 203 if self.ticket_ok():
    3. 204 success, self.error = self.do_action()
    4. 205 else:
    5. 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>>
  4. /srv/moin/code/1.8/MoinMoin/action/revert.py in do_action (self=<MoinMoin.action.revert.revert instance at 0x8e9db0c>)

    1. 59
    2. 60 try:
    3. 61 msg = pg.revertPage(rev, comment)
    4. 62 # make it show the current version...
    5. 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'
  5. /srv/moin/code/1.8/MoinMoin/PageEditor.py in revertPage (self=<MoinMoin.PageEditor.PageEditor object at 0x88903ac>, revision=4, comment=u'test revert')

    1. 669 revstr = '%08d' % revision
    2. 670 pg = Page(self.request, self.page_name, rev=revision)
    3. 671 msg = self.saveText(pg.get_raw_body(), 0, extra=revstr, action="SAVE/REVERT", notify=False, comment=comment)
    4. 672
    5. 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'
  6. /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})

    1. 1059 elif not newtext:
    2. 1060 msg = _('You cannot save empty pages.')
    3. 1061 raise self.EmptyPage, msg
    4. 1062 elif rev != 0 and rev != self.current_rev():
    5. 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.
  • [get | view] (2009-08-03 18:01:55, 9.9 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.