>
 
 
SyntaxError: invalid syntax (text_xml.py, line 85)
Python 2.2.2
/usr/local/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 first. The exception attributes are:
      __doc__ = 'Invalid syntax.'
      __getitem__ = <bound method SyntaxError.__getitem__ of <exceptions.SyntaxError instance at 0x827922c>>
      __init__ = <bound method SyntaxError.__init__ of <exceptions.SyntaxError instance at 0x827922c>>
      __module__ = 'exceptions'
      __str__ = <bound method SyntaxError.__str__ of <exceptions.SyntaxError instance at 0x827922c>>
      args = ('invalid syntax', ('/home/users/geary/lib/python/MoinMoin/formatter/text_xml.py', 85, 12, ' return \'


\\n\' % (size,)\n'))
      filename = '/home/users/geary/lib/python/MoinMoin/formatter/text_xml.py'
      lineno = 85
      msg = 'invalid syntax'
      offset = 12
      print_file_and_line = None
      text = ' return \'
\\n\' % (size,)\n'

/home/users/geary/lib/python/MoinMoin/util/pysupport.py in importName(modulename='MoinMoin.formatter.text_xml', name='Formatter')
   43     """
   44     try:
   45         module = __import__(modulename, globals(), locals(), [name])
       module = undefined, global __import__ = undefined, modulename = 'MoinMoin.formatter.text_xml', global globals = undefined, global locals = undefined, name = 'Formatter'
   46     except ImportError:
   47         return None

/home/users/geary/lib/python/MoinMoin/wikiaction.py in do_format(pagename='Kevin Geary - Artist', request=<MoinMoin.request.Request instance>)
  695     # try to load the formatter
  696     Formatter = pysupport.importName("MoinMoin.formatter." +
  697         string.translate(mimetype, string.maketrans('/.', '__')), "Formatter")
       global string = <module 'string' from '/usr/local/lib/python2.2/string.pyc'>, global translate = undefined, mimetype = 'text/xml', global maketrans = undefined
  698     if Formatter is None:
  699         # default to plain text formatter

/home/users/geary/lib/python/MoinMoin/cgimain.py in run(properties={})
  223         else:
  224             try:
  225                 cgitb.handler()
       cgitb = <module 'MoinMoin.support.cgitb' from '/home/users/geary/lib/python/MoinMoin/support/cgitb.pyc'>, handler = <function do_format>
  226             except:
  227                 cgi.print_exception(*saved_exc)