--> -->

ImportError

cannot import name 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/local/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object>)

    1. 1156 from MoinMoin.wikiaction import getHandler
    2. 1157 handler = getHandler(self, action)
    3. 1158 handler(self.page.page_name, self)
    4. 1159
    5. 1160 # generate page footer (actions that do not want this footer use
    • handler = <function do_show>
    • self = <MoinMoin.request.RequestCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'Computer/AddressBook'
  2. /usr/local/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'Computer/AddressBook', request=<MoinMoin.request.RequestCGI object>)

    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>
    • request = <MoinMoin.request.RequestCGI object>
    • pagename = u'Computer/AddressBook'
    • ).send_page undefined
    • count_hit undefined
  3. /usr/local/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, msg='', **keywords={'count_hit': 1})

    1. 1233 format_args=pi_formatargs,
    2. 1234 do_cache=do_cache,
    3. 1235 start_line=pi_lines)
    4. 1236
    5. 1237 # check for pending footnotes
    • start_line undefined
    • pi_lines = 1
  4. /usr/local/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'Here is my collection of Apple Address Book hint...ent2(commentfirst=1,newerfirst=1,smileylist=1)]]\n', format_args='', do_cache=1, **kw={'start_line': 1})

    1. 1321 raise
    2. 1322 try:
    3. 1323 code = self.makeCache(request, parser)
    4. 1324 self.execute(request, parser, code)
    5. 1325 except Exception, e:
    • code undefined
    • self = <MoinMoin.Page.Page instance>
    • self.makeCache = <bound method Page.makeCache of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestCGI object>
    • parser = <MoinMoin.parser.wiki.Parser instance>
  5. /usr/local/lib/python2.4/site-packages/MoinMoin/Page.py in makeCache (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>)

    1. 1373 """ Format content into code, update cache and return code """
    2. 1374 import marshal
    3. 1375 from MoinMoin.formatter.text_python import Formatter
    4. 1376 formatter = Formatter(request, ["page"], self.formatter)
    5. 1377
    • MoinMoin undefined
    • Formatter undefined

ImportError

cannot import name Formatter

  • args = ('cannot import name Formatter',)

System Details

  • Date: Thu, 20 Nov 2008 16:23:06 +0000
  • Platform: FreeBSD ds.natural-innovations.net 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Fri Se i386
  • Python: Python 2.4.3 (/usr/local/bin/python)
  • MoinMoin: Release 1.5.5a (release)