--> -->

InternalError

You need to install PyXML to use the DocBook formatter.

If you want to report a bug, please save this page and attach it to your bug report.

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /usr/lib/python2.6/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)

    1. 1205 self.page.send_page(self, msg=msg)
    2. 1206 else:
    3. 1207 handler(self.page.page_name, self)
    4. 1208
    5. 1209 # generate page footer (actions that do not want this footer use
    • handler = <function do_format>
    • self = <MoinMoin.request.RequestModPy object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'JoycePan/FinalProject'
  2. /usr/lib/python2.6/site-packages/MoinMoin/wikiaction.py in do_format (pagename=u'JoycePan/FinalProject', request=<MoinMoin.request.RequestModPy object>)

    1. 883 try:
    2. 884 Formatter = wikiutil.importPlugin(request.cfg, "formatter",
    3. 885 formatterName, "Formatter")
    4. 886 except wikiutil.PluginMissingError:
    5. 887 # default to plain text formatter
    • formatterName = u'xml_docbook'
  3. /usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in importPlugin (cfg=<wikiconfig.Config instance>, kind='formatter', name=u'xml_docbook', function='Formatter')

    1. 804 return importWikiPlugin(cfg, kind, name, function)
    2. 805 except PluginMissingError:
    3. 806 return importBuiltinPlugin(kind, name, function)
    4. 807
    5. 808
    • global importBuiltinPlugin = <function importBuiltinPlugin>
    • kind = 'formatter'
    • name = u'xml_docbook'
    • function = 'Formatter'
  4. /usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in importBuiltinPlugin (kind='formatter', name=u'xml_docbook', function='Formatter')

    1. 826 raise PluginMissingError
    2. 827 moduleName = 'MoinMoin.%s.%s' % (kind, name)
    3. 828 return importNameFromPlugin(moduleName, function)
    4. 829
    5. 830
    • global importNameFromPlugin = <function importNameFromPlugin>
    • moduleName = u'MoinMoin.formatter.xml_docbook'
    • function = 'Formatter'
  5. /usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName=u'MoinMoin.formatter.xml_docbook', name='Formatter')

    1. 834 Raise PluginAttributeError if name does not exists.
    2. 835 """
    3. 836 module = __import__(moduleName, globals(), {}, [name])
    4. 837 try:
    5. 838 return getattr(module, name)
    • module undefined
    • builtin __import__ = <built-in function __import__>
    • moduleName = u'MoinMoin.formatter.xml_docbook'
    • builtin globals = <built-in function globals>
    • name = 'Formatter'
  6. /usr/lib/python2.6/site-packages/MoinMoin/formatter/xml_docbook.py in ()

    1. 25 dom = getDOMImplementation("4DOM")
    2. 26 except ImportError:
    3. 27 raise InternalError("You need to install PyXML to use the DocBook formatter.")
    4. 28
    5. 29 class DocBookOutputFormatter:
    • InternalError = None

InternalError

You need to install PyXML to use the DocBook formatter.

  • args = ()
  • exceptions = <bound method InternalError.exceptions of InternalError()>
  • innerException = (<type 'exceptions.ImportError'>, ImportError('No module named DOMImplementation',), <traceback object>)
  • message = 'You need to install PyXML to use the DocBook formatter.'

Traceback

A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.

  1. /usr/lib/python2.6/site-packages/MoinMoin/formatter/xml_docbook.py in ()

    1. 23
    2. 24 try:
    3. 25 dom = getDOMImplementation("4DOM")
    4. 26 except ImportError:
    5. 27 raise InternalError("You need to install PyXML to use the DocBook formatter.")
    • dom undefined
    • getDOMImplementation = None
  2. /usr/lib64/python2.6/xml/dom/domreg.py in getDOMImplementation (name='4DOM', features=())

    1. 54 mod = well_known_implementations.get(name)
    2. 55 if mod:
    3. 56 mod = __import__(mod, {}, {}, ['getDOMImplementation'])
    4. 57 return mod.getDOMImplementation()
    5. 58 elif name:
    • mod = 'xml.dom.DOMImplementation'
    • builtin __import__ = <built-in function __import__>

ImportError

No module named DOMImplementation

  • args = ('No module named DOMImplementation',)
  • message = 'No module named DOMImplementation'

System Details