This is an index of all pages in this Wiki.

See also:


--> -->

TypeError

not enough arguments for format string

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. /home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/request.py in run (self=<MoinMoin.request.RequestCGI object at 0x8f7240c>)

    1. 1103 # Visit pagename
    2. 1104 self.page = Page(self, pagename)
    3. 1105 self.page.send_page(self, count_hit=1)
    4. 1106
    5. 1107 # generate page footer (actions that do not want this footer
    • self = <MoinMoin.request.RequestCGI object at 0x8f7240c>
    • self.page = <MoinMoin.Page.Page instance at 0x8f993ac>
    • self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance at 0x8f993ac>>
    • count_hit undefined
  2. /home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance at 0x8f993ac>, request=<MoinMoin.request.RequestCGI object at 0x8f7240c>, msg='', **keywords={'count_hit': 1})

    1. 1225 format_args=pi_formatargs,
    2. 1226 do_cache=do_cache,
    3. 1227 start_line=pi_lines)
    4. 1228
    5. 1229 # check for pending footnotes
    • start_line undefined
    • pi_lines = 7
  3. /home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance at 0x8f993ac>, request=<MoinMoin.request.RequestCGI object at 0x8f7240c>, Parser=<class MoinMoin.parser.wiki.Parser at 0x904b05c>, body=u'This is an index of all pages in this Wiki. \n\nS... -- other indexing schemes\n\n----\n\n[[TitleIndex]]\n', format_args=u'', do_cache=1, **kw={'start_line': 7})

    1. 1308 try:
    2. 1309 code = self.loadCache(request)
    3. 1310 self.execute(request, parser, code)
    4. 1311 except 'CacheNeedsUpdate':
    5. 1312 try:
    • self = <MoinMoin.Page.Page instance at 0x8f993ac>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance at 0x8f993ac>>
    • request = <MoinMoin.request.RequestCGI object at 0x8f7240c>
    • parser = <MoinMoin.parser.wiki.Parser instance at 0x9061ecc>
    • code = <code object <module> at 0x9043da0, file "TitleIndex", line 2>
  4. /home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance at 0x8f993ac>, request=<MoinMoin.request.RequestCGI object at 0x8f7240c>, parser=<MoinMoin.parser.wiki.Parser instance at 0x9061ecc>, code=<code object <module> at 0x9043da0, file "TitleIndex", line 2>)

    1. 1332 if hasattr(MoinMoin, '__loader__'):
    2. 1333 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    3. 1334 exec code
    4. 1335
    5. 1336 def loadCache(self, request):
    • code = <code object <module> at 0x9043da0, file "TitleIndex", line 2>
  5. /home5/poci/www/TitleIndex in ()

  6. /home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x90a830c>, macro_obj=<MoinMoin.wikimacro.Macro instance at 0x90b8fac>, name=u'TitleIndex', args=None)

    1. 285 def macro(self, macro_obj, name, args):
    2. 286 # call the macro
    3. 287 return macro_obj.execute(name, args)
    4. 288
    5. 289 def _get_bang_args(self, line):
    • macro_obj = <MoinMoin.wikimacro.Macro instance at 0x90b8fac>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance at 0x90b8fac>>
    • name = u'TitleIndex'
    • args = None
  7. /home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance at 0x90b8fac>, macro_name=u'TitleIndex', args=None)

    1. 118 else:
    2. 119 raise ImportError("Cannot load macro %s" % macro_name)
    3. 120 return execute(self, args)
    4. 121
    5. 122 def _m_lang(self, text):
    • execute = <unbound method Macro._macro_TitleIndex>
    • self = <MoinMoin.wikimacro.Macro instance at 0x90b8fac>
    • args = None
  8. /home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/wikimacro.py in _macro_TitleIndex (self=<MoinMoin.wikimacro.Macro instance at 0x90b8fac>, args=None)

    1. 304 else:
    2. 305 html.append(u'<br>')
    3. 306 html.append(u'%s\n' % Page(self.request, name).link_to(self.request, attachment_indicator=1))
    4. 307
    5. 308 # add rss link
    • html = [u'<a name="1"><h3>1</h3></a>', u'<a href="/moin.cgi/1%EB%93%B1_%EA%B8%B0%EC%97%85_%EB%B2%95%EC%B9%99">1\ub4f1 \uae30\uc5c5 \ubc95\uce59</a>\n', u'<a name="2"><h3>2</h3></a>', u'<a href="/moin.cgi/2002%EC%9B%94%EB%93%9C%EC%BB%B5%EA%B2%B0%EC%82%B0">2002\uc6d4\ub4dc\ucef5\uacb0\uc0b0</a>\n', u'<br>', u'<a href="/moin.cgi/2004-02_%EB%8D%95%EC%88%98%EA%B6%81">2004-02 \ub355\uc218\uad81</a>\n', u'<br>', u'<a href="/moin.cgi/2004-06_%ED%9B%88%EB%A0%A8%EC%86%8C">2004-06 \ud6c8\ub828\uc18c</a>\n', u'<br>', u'<a href="/moin.cgi/2005-03-27_%EC%84%A0%EB%A6%89_%EA%B3%B5%EC%9B%90">2005-03-27 \uc120\ub989 \uacf5\uc6d0</a>\n', u'<a name="A"><h3>A</h3></a>', u'<a href="/moin.cgi/Ajax">Ajax</a>\n', u'<br>', u'<a href="/moin.cgi/ApacheTomcat_%EC%97%B0%EB%8F%99">ApacheTomcat \uc5f0\ub3d9</a>\n', u'<a name="B"><h3>B</h3></a>', u'<a href="/moin.cgi/BUILT_to_LAST">BUILT to LAST</a>\n', u'<a name="C"><h3>C</h3></a>', u'<a href="/moin.cgi/CommunicationIsNotAboutSpeech">CommunicationIsNotAboutSpeech</a>\n', u'<a name="D"><h3>D</h3></a>', u'<a href="/moin.cgi/D-War">D-War</a>\n', ...]
    • html.append = <built-in method append of list object at 0x904a7ec>
    • global Page = <class MoinMoin.Page.Page at 0x905ad1c>
    • self = <MoinMoin.wikimacro.Macro instance at 0x90b8fac>
    • self.request = <MoinMoin.request.RequestCGI object at 0x8f7240c>
    • name = u'K-Mobile Ajax \uac15\uc758'
    • ).link_to undefined
    • attachment_indicator undefined
  9. /home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/Page.py in link_to (self=<MoinMoin.Page.Page instance at 0x9054f4c>, request=<MoinMoin.request.RequestCGI object at 0x8f7240c>, text=u'K-Mobile Ajax \uac15\uc758', querystr=None, anchor=None, **kw={'attachment_indicator': 1})

    1. 884 if kw.get('attachment_indicator', 0):
    2. 885 from MoinMoin.action import AttachFile
    3. 886 link += AttachFile.getIndicator(request, self.page_name)
    4. 887
    5. 888 return link
    • link = u'<a href="/moin.cgi/K-Mobile_Ajax_%EA%B0%95%EC%9D%98">K-Mobile Ajax \uac15\uc758</a>'
    • AttachFile = <module 'MoinMoin.action.AttachFile' from '/home...2.4/site-packages/MoinMoin/action/AttachFile.py'>
    • AttachFile.getIndicator = <function getIndicator at 0x9088844>
    • request = <MoinMoin.request.RequestCGI object at 0x8f7240c>
    • self = <MoinMoin.Page.Page instance at 0x9054f4c>
    • self.page_name = u'K-Mobile Ajax \uac15\uc758'
  10. /home5/poci/myapp/lib/python2.4/site-packages/MoinMoin/action/AttachFile.py in getIndicator (request=<MoinMoin.request.RequestCGI object at 0x8f7240c>, pagename=u'K-Mobile Ajax \uac15\uc758')

    1. 118 if not files: return ''
    2. 119
    3. 120 attach_count = _('[%d attachments]') % len(files)
    4. 121 attach_icon = request.theme.make_icon('attach', vars={ 'attach_count': attach_count })
    5. 122 attach_link = wikiutil.link_tag(request,
    • attach_count undefined
    • _ = <function <lambda> at 0x8f28c34>
    • builtin len = <built-in function len>
    • files = ['javascript_sample.zip']

TypeError

not enough arguments for format string

  • args = ('not enough arguments for format string',)
  • message = 'not enough arguments for format string'

System Details

  • Date: Tue, 06 Jan 2009 20:07:48 +0000
  • Platform: Linux hp249 2.6.23.17-88.fc7PAE #1 SMP Thu May 15 00:22:53 EDT 2008 i686
  • Python: Python 2.5 (/home/python/bin/python)
  • MoinMoin: Release 1.5.2 (release)