AssertionError | Python 2.4.4: /usr/bin/python Tue Apr 22 11:24:36 2025 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/opt/Admin/lib/monkeywiki/wiki |
877 # print 'Error:', inst |
878 |
879 # cgi.test(); sys.exit(0) |
880 |
881 if __name__ == '__main__': main() |
__name__ = '__main__', main = <function main> |
/opt/Admin/lib/monkeywiki/wiki in main() |
873 WikiPage(wikipage.page, 'view').get_href()) |
874 #emit full wiki page |
875 print wikipage.web_output() |
876 #except Exception, inst: |
877 # print 'Error:', inst |
wikipage = <__main__.WikiPage instance>, wikipage.web_output = <bound method WikiPage.web_output of <__main__.WikiPage instance>> |
/opt/Admin/lib/monkeywiki/wiki in web_output(self=<__main__.WikiPage instance>) |
756 |
757 def web_output(self): |
758 self.do_action() |
759 wiki = '\n'.join(('<div id="%s">%s</div>' % (i, getattr(self, i)) for i in ['header', 'contents', 'footer'])) |
760 |
self = <__main__.WikiPage instance>, self.do_action = <bound method WikiPage.do_action of <__main__.WikiPage instance>> |
/opt/Admin/lib/monkeywiki/wiki in do_action(self=<__main__.WikiPage instance>) |
712 |
713 def do_action(self): |
714 assert self.action in self.ok_actions, 'You may not %s this page' % self.action |
715 #contents - do this first, as it affects the nature of the other components |
716 self.contents = getattr(self, self.action)() |
self = <__main__.WikiPage instance>, self.action = 'localmap', self.ok_actions = ['view', 'likesearch', 'backsearch'] |
AssertionError: You may not localmap this page
args =
('You may not localmap this page',)