| | Please include this information in your bug reports!: Python Python 2.5.5: /usr/bin/python2.5 Linux p15129997 2.6.32-5-686 #1 SMP Mon Mar 26 05:20:33 UTC 2012 i686 MoinMoin Release 1.2.4 [Revision 1.187] Tue May 22 00:23:02 2012 |
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
| /usr/lib/python2.5/site-packages/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance at 0x893172c>) |
| 403 |
| 404 if config.allow_extended_names: |
| 405 Page(query).send_page(self, count_hit=1) |
| 406 else: |
| 407 from MoinMoin.parser.wiki import Parser |
| Page = <class MoinMoin.Page.Page at 0x8a9153c>, query = 'Tilf\xe6ldigSide', ).send_page undefined, self = <MoinMoin.request.RequestCGI instance at 0x893172c>, count_hit undefined |
| /usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance at 0x8ad7a6c>, request=<MoinMoin.request.RequestCGI instance at 0x893172c>, msg='', **keywords={'count_hit': 1}) |
| 622 else: |
| 623 # parse the text and send the page content |
| 624 self.send_page_content(request, Parser, body) |
| 625 |
| 626 # check for pending footnotes |
| self = <MoinMoin.Page.Page instance at 0x8ad7a6c>, self.send_page_content = <bound method Page.send_page_content of <MoinMoin.Page.Page instance at 0x8ad7a6c>>, request = <MoinMoin.request.RequestCGI instance at 0x893172c>, Parser = <class MoinMoin.parser.wiki.Parser at 0x8b0220c>, body = 'En liste over 25 tilf\xe6ldige sider (ud af [[PageCount]] i alt):\n[[RandomPage(25)]]\n' |
| /usr/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance at 0x8ad7a6c>, request=<MoinMoin.request.RequestCGI instance at 0x893172c>, Parser=<class MoinMoin.parser.wiki.Parser at 0x8b0220c>, body='En liste over 25 tilf\xe6ldige sider (ud af [[PageCount]] i alt):\n[[RandomPage(25)]]\n', needsupdate=0) |
| 721 |
| 722 try: |
| 723 exec code |
| 724 except 'CacheNeedsUpdate': # if something goes wrong, try without caching |
| 725 self.send_page_content(request, Parser, body, needsupdate=1) |
| code = <code object <module> at 0x8b00848, file "TilfældigSide", line 2> |
| /home/httpd/vhosts/openautomaton.org/httpdocs/community/TilfældigSide in |
| /usr/lib/python2.5/site-packages/MoinMoin/formatter/base.py in macro(self=<MoinMoin.formatter.text_html.Formatter instance at 0x8ae236c>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0x8b045ec>, name='RandomPage', args='25') |
| 160 def macro(self, macro_obj, name, args): |
| 161 # call the macro |
| 162 return macro_obj.execute(name, args) |
| 163 |
| 164 def processor(self, processor_name, lines): |
| macro_obj = <MoinMoin.wikimacro.Macro instance at 0x8b045ec>, macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x8b045ec>>, name = 'RandomPage', args = '25' |
| /usr/lib/python2.5/site-packages/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance at 0x8b045ec>, macro_name='RandomPage', args='25') |
| 110 return self._m_lang(macro_name, args) |
| 111 |
| 112 raise ImportError("Cannot load macro %s" % macro_name) |
| 113 |
| 114 def _m_lang(self, lang_name, text): |
| ImportError undefined, macro_name = 'RandomPage' |