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.
/home/pangloss/lib/python/lib/python2.5/site-packages/MoinMoin/request.py
in run
(self=<MoinMoin.request.RequestCGI object at 0x4025742c>)
- 1170 self.page.send_page(self, msg=msg)
- 1171 else:
- 1172 handler(self.page.page_name, self)
- 1173
- 1174 # generate page footer (actions that do not want this footer use
- handler
= <function do_format at 0x404f4b1c>
- self
= <MoinMoin.request.RequestCGI object at 0x4025742c>
- self.page
= <MoinMoin.Page.Page instance at 0x404e576c>
- self.page.page_name
= u'TitleIndex'
/home/pangloss/lib/python/lib/python2.5/site-packages/MoinMoin/wikiaction.py
in do_format
(pagename=u'TitleIndex', request=<MoinMoin.request.RequestCGI object at 0x4025742c>)
- 831 try:
- 832 Formatter = wikiutil.importPlugin(request.cfg, "formatter",
- 833 formatterName, "Formatter")
- 834 except wikiutil.PluginMissingError:
- 835 # default to plain text formatter
- formatterName
= u'xml_docbook'
/home/pangloss/lib/python/lib/python2.5/site-packages/MoinMoin/wikiutil.py
in importPlugin
(cfg=<wikiconfig.Config instance at 0x4049626c>, 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 at 0x40433f7c>
- kind
= 'formatter'
- name
= u'xml_docbook'
- function
= 'Formatter'
/home/pangloss/lib/python/lib/python2.5/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 at 0x40433fb4>
- moduleName
= u'MoinMoin.formatter.xml_docbook'
- function
= 'Formatter'
/home/pangloss/lib/python/lib/python2.5/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'
/home/pangloss/lib/python/lib/python2.5/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 at 0x405f1aa4>)
- 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.
/home/pangloss/lib/python/lib/python2.5/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
/home/pangloss/lib/python/lib/python2.5/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 13:54:35 +0000
- Platform: Linux owl.he.net 4.4.276-v2-mono-1 #1 SMP Wed Jul 21 11:21:17 PDT 2021 i686
- Python: Python 2.5 (/home/pangloss/lib/python/bin/python)
- MoinMoin: Release 1.5.7 (release)