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.
/usr/lib/python2.6/site-packages/MoinMoin/request.py
in run
(self=<MoinMoin.request.RequestModPy object>)
- 1205 self.page.send_page(self, msg=msg)
- 1206 else:
- 1207 handler(self.page.page_name, self)
- 1208
- 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'AndyGrant/Assignment1'
/usr/lib/python2.6/site-packages/MoinMoin/wikiaction.py
in do_format
(pagename=u'AndyGrant/Assignment1', request=<MoinMoin.request.RequestModPy object>)
- 883 try:
- 884 Formatter = wikiutil.importPlugin(request.cfg, "formatter",
- 885 formatterName, "Formatter")
- 886 except wikiutil.PluginMissingError:
- 887 # default to plain text formatter
- formatterName
= u'xml_docbook'
/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py
in importPlugin
(cfg=<wikiconfig.Config instance>, kind='formatter', name=u'xml_docbook', function='Formatter')
- 804 return importWikiPlugin(cfg, kind, name, function)
- 805 except PluginMissingError:
- 806 return importBuiltinPlugin(kind, name, function)
- 807
- 808
- global
importBuiltinPlugin
= <function importBuiltinPlugin>
- kind
= 'formatter'
- name
= u'xml_docbook'
- function
= 'Formatter'
/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py
in importBuiltinPlugin
(kind='formatter', name=u'xml_docbook', function='Formatter')
- 826 raise PluginMissingError
- 827 moduleName = 'MoinMoin.%s.%s' % (kind, name)
- 828 return importNameFromPlugin(moduleName, function)
- 829
- 830
- global
importNameFromPlugin
= <function importNameFromPlugin>
- moduleName
= u'MoinMoin.formatter.xml_docbook'
- function
= 'Formatter'
/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py
in importNameFromPlugin
(moduleName=u'MoinMoin.formatter.xml_docbook', name='Formatter')
- 834 Raise PluginAttributeError if name does not exists.
- 835 """
- 836 module = __import__(moduleName, globals(), {}, [name])
- 837 try:
- 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'
/usr/lib/python2.6/site-packages/MoinMoin/formatter/xml_docbook.py
in
()
- 25 dom = getDOMImplementation("4DOM")
- 26 except ImportError:
- 27 raise InternalError("You need to install PyXML to use the DocBook formatter.")
- 28
- 29 class DocBookOutputFormatter:
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.
/usr/lib/python2.6/site-packages/MoinMoin/formatter/xml_docbook.py
in
()
- 23
- 24 try:
- 25 dom = getDOMImplementation("4DOM")
- 26 except ImportError:
- 27 raise InternalError("You need to install PyXML to use the DocBook formatter.")
- dom undefined
- getDOMImplementation
= None
/usr/lib64/python2.6/xml/dom/domreg.py
in getDOMImplementation
(name='4DOM', features=())
- 54 mod = well_known_implementations.get(name)
- 55 if mod:
- 56 mod = __import__(mod, {}, {}, ['getDOMImplementation'])
- 57 return mod.getDOMImplementation()
- 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
- Date: Fri, 29 Mar 2024 16:00:49 +0000
- Platform: Linux graphics.stanford.edu 2.6.32-754.35.1.el6.x86_64 #1 SMP Sat Nov 7 12:42:14 UTC 2020 x86_64
- Python: Python 2.6.6 (/usr/bin/python)
- MoinMoin: Release 1.5.8 (release)