[Moin-user] MoinMoin error on equal signs

Park_Richard at blm.gov Park_Richard at blm.gov
Fri Apr 12 14:33:03 EDT 2002


I followed the instructions by Jeff Kunce for a MoinMoin SaneInstallation
and got MoinMoin working.    However, for some reason any text enclosed in
double or triple equal signs gives me an error message instead of the nice
background and bigger bolder text.  If I remove the equal signs I don't get
the error but then I don't get the feature either.

My guess is that I'm missing a library but I don't know which one that
might be.

The error message is lengthy so I put it at the end of this message.

My environment is as follows:

AIX 4.3.3.9
Apache 1.3.7-dev (Unix)
Python Version    2.2 (#1, Feb 15 2002, 11:06:10) [C]
 MoinMoin Version Release 0.10 [Revision 1.134]
  Installed extension macros
                         BR, FullSearch, Include, OrphanedPages,
RandomPage, RecentChanges, TableOfContents, TeudView,
                         WantedPages
 Installed extension actions
                         LikePages, LocalSiteMap, SpellCheck, titleindex



Sincerely,

Park Richard

AttributeError
Python 2.2
/usr/bin/python


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 last.

 cgimain.py in run(properties={})


 /opt/freeware/lib/python2.2/site-packages/MoinMoin/Page.py in
send_page(self=<MoinMoin.Page.Page instance>, form=FieldStorage(None,
 None, []), msg='', **keywords={})

  281         else:
  282             # parse the text and send the page content
  283             Parser(body).format(self.formatter, form)

       Parser = <class MoinMoin.parser.wiki.Parser>, body = "
WikiWikiWeb\nA WikiWikiWeb is a collaborative ...configurable feature, so
it
might not work!'''\n", global format = undefined, self
= <MoinMoin.Page.Page instance>, global formatter = undefined, form =
FieldStorage(None, None, [])
  284
  285         # end document output

 /opt/freeware/lib/python2.2/site-packages/MoinMoin/parser/wiki.py in
format(self=<MoinMoin.parser.wiki.Parser instance>,
 formatter=<MoinMoin.formatter.text_html.Formatter instance>,
form=FieldStorage(None, None, []))

  479                 sys.stdout.write(self.highlight_scan(scan_re, line +
" "))
  480             else:
  481                 sys.stdout.write(re.sub(scan_re, self.replace, line +
" "))

       global sys = <module 'sys' (built-in)>, global stdout = undefined,
global write = undefined, global re = <module 're' from
'/opt/freeware/lib/python2.2/re.pyc'>, global sub = undefined, scan_re =
<_sre.SRE_Pattern object>, self = <MoinMoin.parser.wiki.Parser
instance>, global replace = undefined, line = '== Arbitrary Page Names =='
  482
  483             if self.in_pre:

 /var/tmp/python-2.2-root/opt/freeware/lib/python2.2/sre.py in sub(pattern
=<_sre.SRE_Pattern object>, repl=<bound method Parser.replace of
 <MoinMoin.parser.wiki.Parser instance at 0x2012feb8>>, string='==
Arbitrary Page Names == ', count=0)


 /opt/freeware/lib/python2.2/site-packages/MoinMoin/parser/wiki.py in
replace(self=<MoinMoin.parser.wiki.Parser instance>,
 match=<_sre.SRE_Match object>)

  394                     return self.highlight_text(hit)
  395                 else:
  396                     return apply(getattr(self, '_' + type + '_repl'),
(hit,))

       global apply = undefined, global getattr = undefined, self
= <MoinMoin.parser.wiki.Parser instance>, type = 'hmarker', hit = '=='
  397         else:
  398             import pprint

AttributeError: Parser instance has no attribute '_hmarker_repl'
      __doc__ = 'Attribute not found.'
      __getitem__ = <bound method AttributeError.__getitem__ of
<exceptions.AttributeError instance at 0x20168118>>
      __init__ = <bound method AttributeError.__init__ of
<exceptions.AttributeError instance at 0x20168118>>
      __module__ = 'exceptions'
      __str__ = <bound method AttributeError.__str__ of
<exceptions.AttributeError instance at 0x20168118>>
      args = ("Parser instance has no attribute '_hmarker_repl'",)






More information about the Moin-user mailing list