--> -->

ImportError

No module named processor

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.RequestCGI object at 0x2683650>)

    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_show at 0x2abf6e0>
    • self = <MoinMoin.request.RequestCGI object at 0x2683650>
    • self.page = <MoinMoin.Page.Page instance at 0x28b77a0>
    • self.page.page_name = u'WikiSandBox'
  2. /usr/lib/python2.6/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'WikiSandBox', request=<MoinMoin.request.RequestCGI object at 0x2683650>)

    1. 466 else:
    2. 467 request.cacheable = 1
    3. 468 Page(request, pagename).send_page(request, count_hit=1)
    4. 469
    5. 470
    • global Page = <class MoinMoin.Page.Page at 0x28c2890>
    • request = <MoinMoin.request.RequestCGI object at 0x2683650>
    • pagename = u'WikiSandBox'
    • ).send_page undefined
    • count_hit undefined
  3. /usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x2b57518>, request=<MoinMoin.request.RequestCGI object at 0x2683650>, msg='', **keywords={'count_hit': 1})

    1. 1254 format_args=pi_formatargs,
    2. 1255 do_cache=do_cache,
    3. 1256 start_line=pi_lines)
    4. 1257
    5. 1258 # check for pending footnotes
    • start_line undefined
    • pi_lines = 5
  4. /usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x2b57518>, request=<MoinMoin.request.RequestCGI object at 0x2683650>, Parser=<class MoinMoin.parser.wiki.Parser at 0x2bb0dd0>, body=u'\'\'\'Feel free to experiment here, after the four ...e Changes" in left hand corner above. C\'est Fini\n', format_args=u'', do_cache=1, **kw={'start_line': 5})

    1. 1350 raise
    2. 1351 try:
    3. 1352 code = self.makeCache(request, parser)
    4. 1353 self.execute(request, parser, code)
    5. 1354 except Exception, e:
    • code = <code object ? at 0x2b8c648, file "WikiSandBox", line 2>
    • self = <MoinMoin.Page.Page instance at 0x2b57518>
    • self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance at 0x2b57518>>
    • request = <MoinMoin.request.RequestCGI object at 0x2683650>
    • parser = <MoinMoin.parser.wiki.Parser instance at 0x28b93b0>
  5. /usr/lib/python2.6/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance at 0x2b57518>, request=<MoinMoin.request.RequestCGI object at 0x2683650>, parser=<MoinMoin.parser.wiki.Parser instance at 0x28b93b0>)

    1. 1408 saved_current_lang = request.current_lang
    2. 1409 try:
    3. 1410 text = request.redirectedOutput(parser.format, formatter)
    4. 1411 finally:
    5. 1412 request.current_lang = saved_current_lang
    • text undefined
    • request = <MoinMoin.request.RequestCGI object at 0x2683650>
    • request.redirectedOutput = <bound method RequestCGI.redirectedOutput of <MoinMoin.request.RequestCGI object at 0x2683650>>
    • parser = <MoinMoin.parser.wiki.Parser instance at 0x28b93b0>
    • parser.format = <bound method Parser.format of <MoinMoin.parser.wiki.Parser instance at 0x28b93b0>>
    • formatter = <MoinMoin.formatter.text_python.Formatter instance at 0x2badc68>
  6. /usr/lib/python2.6/site-packages/MoinMoin/request.py in redirectedOutput (self=<MoinMoin.request.RequestCGI object at 0x2683650>, function=<bound method Parser.format of <MoinMoin.parser.wiki.Parser instance at 0x28b93b0>>, *args=(<MoinMoin.formatter.text_python.Formatter instance at 0x2badc68>,), **kw={})

    1. 745 self.redirect(buffer)
    2. 746 try:
    3. 747 function(*args, **kw)
    4. 748 finally:
    5. 749 self.redirect()
    • function = <bound method Parser.format of <MoinMoin.parser.wiki.Parser instance at 0x28b93b0>>
    • args = (<MoinMoin.formatter.text_python.Formatter instance at 0x2badc68>,)
    • kw = {}
  7. /usr/lib/python2.6/site-packages/MoinMoin/parser/wiki.py in format (self=<MoinMoin.parser.wiki.Parser instance at 0x28b93b0>, formatter=<MoinMoin.formatter.text_python.Formatter instance at 0x2badc68>)

    1. 988 if (line.strip()[:2] == "#!"):
    2. 989 processor_name = line.strip()[2:].split()[0]
    3. 990 self.setProcessor(processor_name)
    4. 991
    5. 992 if self.processor:
    • self = <MoinMoin.parser.wiki.Parser instance at 0x28b93b0>
    • self.setProcessor = <bound method Parser.setProcessor of <MoinMoin.parser.wiki.Parser instance at 0x28b93b0>>
    • processor_name = u'python'
  8. /usr/lib/python2.6/site-packages/MoinMoin/parser/wiki.py in setProcessor (self=<MoinMoin.parser.wiki.Parser instance at 0x28b93b0>, name=u'python')

    1. 1118 try:
    2. 1119 self.processor = wikiutil.importPlugin(cfg, "processor", name,
    3. 1120 "process")
    4. 1121 self.processor_is_parser = 0
    5. 1122 except wikiutil.PluginMissingError:
  9. /usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in importPlugin (cfg=<wikiconfig.Config instance at 0x28a30e0>, kind='processor', name=u'python', function='process')

    1. 802 """
    2. 803 try:
    3. 804 return importWikiPlugin(cfg, kind, name, function)
    4. 805 except PluginMissingError:
    5. 806 return importBuiltinPlugin(kind, name, function)
    • global importWikiPlugin = <function importWikiPlugin at 0x27f5410>
    • cfg = <wikiconfig.Config instance at 0x28a30e0>
    • kind = 'processor'
    • name = u'python'
    • function = 'process'
  10. /usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in importWikiPlugin (cfg=<wikiconfig.Config instance at 0x28a30e0>, kind='processor', name=u'python', function='process')

    1. 812 See importPlugin docstring.
    2. 813 """
    3. 814 if not name in wikiPlugins(kind, cfg):
    4. 815 raise PluginMissingError
    5. 816 moduleName = '%s.plugin.%s.%s' % (cfg.siteid, kind, name)
    • name = u'python'
    • global wikiPlugins = <function wikiPlugins at 0x27f55f0>
    • kind = 'processor'
    • cfg = <wikiconfig.Config instance at 0x28a30e0>
  11. /usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in wikiPlugins (kind='processor', cfg=<wikiconfig.Config instance at 0x28a30e0>)

    1. 864 # Wiki plugins are located in wikiconfig.plugin module
    2. 865 modulename = '%s.plugin.%s' % (cfg.siteid, kind)
    3. 866 return pysupport.importName(modulename, "modules")
    4. 867
    5. 868
    • global pysupport = <module 'MoinMoin.util.pysupport' from '/usr/lib...on2.6/site-packages/MoinMoin/util/pysupport.pyc'>
    • pysupport.importName = <function importName at 0x27eacf8>
    • modulename = 'wikiconfig.plugin.processor'
  12. /usr/lib/python2.6/site-packages/MoinMoin/util/pysupport.py in importName (modulename='wikiconfig.plugin.processor', name='modules')

    1. 66 @return: name from module
    2. 67 """
    3. 68 module = __import__(modulename, globals(), {}, [name])
    4. 69 return getattr(module, name)
    5. 70
    • module undefined
    • builtin __import__ = <built-in function __import__>
    • modulename = 'wikiconfig.plugin.processor'
    • builtin globals = <built-in function globals>
    • name = 'modules'

ImportError

No module named processor

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

System Details

  • Date: Wed, 26 Apr 2017 04:05:21 +0000
  • Platform: Linux ip-172-31-6-155 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6 03:10:46 UTC 2013 x86_64
  • Python: Python 2.5.6 (/usr/local/bin/python)
  • MoinMoin: Release 1.5.8 (release)