> PagineCasuali

No older revisions available!

Clear message

Elenco di 25 pagine a caso: --> -->
 
 
Cannot load macro RandomPage
Please include this information in your bug reports!:
Python Python 2.7.16rc1: /usr/bin/python
Linux erode.bofh.it 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u5 (2017-09-19) x86_64
MoinMoin Release 1.2.4 [Revision 1.187]
Thu May 23 15:21:53 2019

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/local/share/moin/MoinMoin/request.py in run(self=<MoinMoin.request.RequestCGI instance>)
  389                 if handler:
  390                     handler(pagename or
  391                     wikiutil.getSysPage(self, config.page_front_page).page_name, self)
  392                 else:
  393                     self.http_headers()
global wikiutil = <module 'MoinMoin.wikiutil' from '/usr/local/share/moin/MoinMoin/wikiutil.py'>, wikiutil.getSysPage = <function getSysPage>, self = <MoinMoin.request.RequestCGI instance>, global config = <module 'MoinMoin.config' from '/usr/local/share/moin/MoinMoin/config.py'>, config.page_front_page = 'FrontPage', ).page_name undefined

 /usr/local/share/moin/MoinMoin/wikiaction.py in do_diff(pagename='PagineCasuali', request=<MoinMoin.request.RequestCGI instance>)
  229     if not oldversions:
  230         Page(pagename).send_page(request,
  231             msg=_("No older revisions available!"))
  232         return
  233 
msg undefined, _ = <function <lambda>>

 /usr/local/share/moin/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, msg='No older revisions available!', **keywords={})
  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>, self.send_page_content = <bound method Page.send_page_content of <MoinMoin.Page.Page instance>>, request = <MoinMoin.request.RequestCGI instance>, Parser = <class MoinMoin.parser.wiki.Parser>, body = 'Elenco di 25 pagine a caso: [[RandomPage(25)]]\n'

 /usr/local/share/moin/MoinMoin/Page.py in send_page_content(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI instance>, Parser=<class MoinMoin.parser.wiki.Parser>, body='Elenco di 25 pagine a caso: [[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 0x7f6d8ee18330, file "PagineCasuali", line 2>

 /home/gcn/wiki/PagineCasuali in ()

 /usr/local/share/moin/MoinMoin/formatter/base.py in macro(self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, 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>, macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>, name = 'RandomPage', args = '25'

 /usr/local/share/moin/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance>, 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'

: Cannot load macro RandomPage