Check out the new wiki about trust metrics at trustlet.org.

Please contribute on TrustLet.org. Thanks!
SiteNavigation - Trust Metrics Wiki Wiki
Trust Metrics Wiki Wiki   SiteNavigation UserPreferences
 
HelpContents Search Diffs Info Edit Subscribe XML Print View

SiteNavigation is the central place to explore this wiki. MoinMoin supports these [MeatBall]IndexingSchemes:

At the bottom of each page, there are actions that allow to navigate to other pages related to the current page:

>
 
 
TypeError: first argument must be string or compiled pattern
Python 2.3.4
/usr/bin/python2

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:
      __doc__ = 'Inappropriate argument type.'
      __getitem__ = <bound method TypeError.__getitem__ of <exceptions.TypeError instance at 0x2a95e46128>>
      __init__ = <bound method TypeError.__init__ of <exceptions.TypeError instance at 0x2a95e46128>>
      __module__ = 'exceptions'
      __str__ = <bound method TypeError.__str__ of <exceptions.TypeError instance at 0x2a95e46128>>
      args = ('first argument must be string or compiled pattern',)

/usr/lib64/python2.3/sre.py in _compile(*key=(None, 2))
  224         return pattern
  225     if not sre_compile.isstring(pattern):
  226         raise TypeError, "first argument must be string or compiled pattern"
       global TypeError = undefined
  227     try:
  228         p = sre_compile.compile(pattern, flags)

/usr/lib64/python2.3/sre.py in compile(pattern=None, flags=2)
  177 def compile(pattern, flags=0):
  178     "Compile a regular expression pattern, returning a pattern object."
  179     return _compile(pattern, flags)
       global _compile = <function _compile>, pattern = None, flags = 2
  180 
  181 def purge():

/pixies0/moloko1/sra/movabletype/moin-1.0/MoinMoin/wikimacro.py in _macro_PageList(self=<MoinMoin.wikimacro.Macro instance>, args=None)
  277             needle_re = re.compile(args, re.IGNORECASE)
  278         except re.error, e:
  279             return "<b>%s: %s</b>" % (
       global _ = <function getText>, args = None, e = undefined
  280                 _("ERROR in regex '%s'") % (args,), e)
  281 

/pixies0/moloko1/sra/movabletype/moin-1.0/MoinMoin/wikimacro.py in execute(self=<MoinMoin.wikimacro.Macro instance>, macro_name='PageList', args=None)
   75         builtins = vars(self.__class__)
   76         if builtins.has_key('_macro_' + macro_name):
   77             return apply(builtins['_macro_' + macro_name], (self, args))
       global apply = undefined, builtins = {'_Macro__get_Date': <function __get_Date>, '__doc__': ' Macro handler ', '__init__': <function __init__>, '__module__': 'MoinMoin.wikimacro', '_m_search': <function _m_search>, '_macro_Anchor': <function _macro_Anchor>, '_macro_Date': <function _macro_Date>, '_macro_DateTime': <function _macro_DateTime>, '_macro_GoTo': <function _macro_GoTo>, '_macro_Icon': <function _macro_Icon>, ...}, macro_name = 'PageList', self = <MoinMoin.wikimacro.Macro instance>, args = None
   78 
   79         # load extension macro

/pixies0/moloko1/sra/movabletype/moin-1.0/MoinMoin/parser/wiki.py in _macro_repl(self=<MoinMoin.parser.wiki.Parser instance>, word='[[PageList]]')
  636 
  637         # call the macro
  638         return self.macro.execute(macro_name, args)
       self = <MoinMoin.parser.wiki.Parser instance>, global macro = undefined, global execute = undefined, macro_name = 'PageList', args = None
  639 
  640 

/pixies0/moloko1/sra/movabletype/moin-1.0/MoinMoin/parser/wiki.py in replace(self=<MoinMoin.parser.wiki.Parser instance>, match=<_sre.SRE_Match object>)
  746                     return self.highlight_text(hit)
  747                 else:
  748                     return apply(getattr(self, '_' + type + '_repl'), (hit,))
       global apply = undefined, global getattr = undefined, self = <MoinMoin.parser.wiki.Parser instance>, type = 'macro', hit = '[[PageList]]'
  749         else:
  750             import pprint

/usr/lib64/python2.3/sre.py in subn(pattern=<_sre.SRE_Pattern object>, repl=<bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance at 0x2a95e33e60>>, string='Additionally, there are the [[PageList]], [[Ful... generate indices for cohesive parts of a wiki. ', count=0)
  149     string by the replacement repl.  number is the number of
  150     substitutions that were made."""
  151     return _compile(pattern, 0).subn(repl, string, count)
       global _compile = <function _compile>, pattern = <_sre.SRE_Pattern object>, global subn = <function subn>, repl = <bound method Parser.replace of <MoinMoin.parser.wiki.Parser instance at 0x2a95e33e60>>, string = 'Additionally, there are the [[PageList]], [[Ful... generate indices for cohesive parts of a wiki. ', count = 0
  152 
  153 def split(pattern, string, maxsplit=0):

/pixies0/moloko1/sra/movabletype/moin-1.0/MoinMoin/parser/wiki.py in format(self=<MoinMoin.parser.wiki.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>, form=FieldStorage(None, None, []))
  863                 sys.stdout.write(self.highlight_scan(scan_re, line + " "))
  864             else:
  865                 line, count = re.subn(scan_re, self.replace, line + " ")
       line = 'Additionally, there are the [[PageList]], [[Ful...y generate indices for cohesive parts of a wiki.', count = 2, global re = <module 're' from '/usr/lib64/python2.3/re.pyc'>, global subn = undefined, scan_re = <_sre.SRE_Pattern object>, self = <MoinMoin.parser.wiki.Parser instance>, global replace = undefined
  866                 ##if not count: self._check_p()
  867                 self._check_p()

/pixies0/moloko1/sra/movabletype/moin-1.0/MoinMoin/Page.py in send_page(self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.Request instance>, msg='', **keywords={'count_hit': 1})
  378         else:
  379             # parse the text and send the page content
  380             Parser(body, request).format(self.formatter, form)
       Parser = <class MoinMoin.parser.wiki.Parser>, body = 'SiteNavigation is the central place to explore ...generate indices for cohesive parts of a wiki.\n', request = <MoinMoin.request.Request instance>, global format = undefined, self = <MoinMoin.Page.Page instance>, global formatter = undefined, form = FieldStorage(None, None, [])
  381 
  382             # check for pending footnotes

/bowie0/moloko1/sra/movabletype/moin-1.0/MoinMoin/cgimain.py in run(properties={})
  233         else:
  234             try:
  235                 cgitb.handler()
       cgitb = <module 'MoinMoin.support.cgitb' from '/pixies0/.../movabletype/moin-1.0/MoinMoin/support/cgitb.py'>, handler = undefined
  236             except:
  237                 apply(cgi.print_exception, saved_exc)