Man Corn Wiki   TilfældigSide UserPreferences
 
HelpContents FindPage Diffs Info Edit Subscribe XML Print View

En liste over 25 tilfældige sider (ud af 623 i alt): >
 
 
: 'NoneType' object is not callable
Please include this information in your bug reports!:
Python 2.6.2 (r262:71600, Aug 4 2010, 12:39:10) [GCC 4.2.1 20070719 [FreeBSD]] - /usr/local/bin/python
FreeBSD ekinek.pair.com 7.3-RELEASE-p2 FreeBSD 7.3-RELEASE-p2 #0: Wed Sep 28 09:50:42 EDT 2011 erik5@yodh.pair.com:/usr/obj/usr/src/sys/73PAIRb i386
MoinMoin Release 1.1 [Revision 1.178]

A problem occurred while running a Python script. Here is the sequence of function calls leading up to the error, with the most recent (innermost) call first. The exception attributes are:

/usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/wikimacro.py in execute_external_macro(macro_name='RandomPage', function='execute', args=(<MoinMoin.wikimacro.Macro instance at 0x288aceec>, '25'))
   69     if macro_name in macro.extension_macros:
   70         execute = pysupport.importName("MoinMoin.macro." + macro_name, function)
   71         return execute(*args)
       execute = None, args = (<MoinMoin.wikimacro.Macro instance at 0x288aceec>, '25')
   72 
   73     # try plugin dir

/usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance at 0x288aceec>, macro_name='RandomPage', args='25')
  109             return ''
  110 
  111         return execute_external_macro(macro_name, "execute", (self, args))
       global execute_external_macro = <function execute_external_macro at 0x287a03ac>, macro_name = 'RandomPage', self = <MoinMoin.wikimacro.Macro instance at 0x288aceec>, args = '25'
  112 
  113     def _macro_TitleSearch(self, args):

/usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/parser/wiki.py in _macro_repl(self=<MoinMoin.parser.wiki.Parser instance at 0x2889ea4c>, word='[[RandomPage(25)]]')
  702 
  703         # call the macro
  704         return self.macro.execute(macro_name, args)
       self = <MoinMoin.parser.wiki.Parser instance at 0x2889ea4c>, global macro = undefined, global execute = undefined, macro_name = 'RandomPage', args = '25'
  705 
  706 

/usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/parser/wiki.py in replace(self=<MoinMoin.parser.wiki.Parser instance at 0x2889ea4c>, match=<_sre.SRE_Match object at 0x283b70a0>)
  813                     return self.highlight_text(hit)
  814                 else:
  815                     return getattr(self, '_' + type + '_repl')(hit)
       global getattr = undefined, self = <MoinMoin.parser.wiki.Parser instance at 0x2889ea4c>, type = 'macro', hit = '[[RandomPage(25)]]'
  816         else:
  817             import pprint

/usr/local/lib/python2.6/re.py in subn(pattern=<_sre.SRE_Pattern object at 0x288e1000>, repl=<bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance at 0x2889ea4c>>, string='[[RandomPage(25)]] ', count=0)
  160     If it is a callable, it's passed the match object and must
  161     return a replacement string to be used."""
  162     return _compile(pattern, 0).subn(repl, string, count)
       global _compile = <function _compile at 0x284aaed4>, pattern = <_sre.SRE_Pattern object at 0x288e1000>, global subn = <function subn at 0x284aad14>, repl = <bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance at 0x2889ea4c>>, string = '[[RandomPage(25)]] ', count = 0
  163 
  164 def split(pattern, string, maxsplit=0):

/usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/parser/wiki.py in format(self=<MoinMoin.parser.wiki.Parser instance at 0x2889ea4c>, formatter=<MoinMoin.formatter.text_html.Formatter instance at 0x288a55ac>)
  937                 self.request.write(self.highlight_scan(scan_re, line))
  938             else:
  939                 line, count = re.subn(scan_re, self.replace, line)
       line = '[[RandomPage(25)]] ', count = 1, global re = <module 're' from '/usr/local/lib/python2.6/re.pyc'>, global subn = undefined, scan_re = <_sre.SRE_Pattern object at 0x288e1000>, self = <MoinMoin.parser.wiki.Parser instance at 0x2889ea4c>, global replace = undefined
  940                 ##if not count: self._check_p()
  941                 self._check_p()

/usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance at 0x2888a66c>, request=<MoinMoin.request.Request instance at 0x2873676c>, msg='', **keywords={'count_hit': 1})
  477         else:
  478             # parse the text and send the page content
  479             Parser(body, request).format(self.formatter)
       Parser = <class MoinMoin.parser.wiki.Parser at 0x288aaf8c>, body = 'En liste over 25 tilf\xe6ldige sider (ud af [[PageCount]] i alt):\n[[RandomPage(25)]]\n', request = <MoinMoin.request.Request instance at 0x2873676c>, global format = undefined, self = <MoinMoin.Page.Page instance at 0x2888a66c>, global formatter = undefined
  480 
  481             # check for pending footnotes

/usr/home/ianjones/moin/lib/python2.3/site-packages/MoinMoin/cgimain.py in run(properties={})
  210         else:
  211             try:
  212                 cgitb.handler()
       cgitb = <module 'MoinMoin.support.cgitb' from '/usr/home...thon2.3/site-packages/MoinMoin/support/cgitb.py'>, handler = undefined
  213             except:
  214                 cgi.print_exception(*saved_exc)