Attachment 'traceback.html'

Download

Redirigé depuis la page « KoumbitWiki »

<!>

Si vous cherchez le site web principal de Koumbit, vous n'êtes pas au bon endroit. Allez tout de suite sur http://koumbit.org/ .

<!>

Bienvenue sur le WikiKoumbit. Ce wiki renferme une tonne de ressources et d'outils pour les membres de toute sorte de Koumbit.

  1. Réunions
  2. Koumbit l'OSBL
  3. Orientations générales
  4. Ressources Techniques
    1. Les outils internes
  5. Ressources Humaines
  6. Les anciennes pages
--> -->

TypeError

heading() takes exactly 3 arguments (4 given)

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.RequestFastCGI object>)

    1. 1086 from MoinMoin.wikiaction import getHandler
    2. 1087 handler = getHandler(self, action)
    3. 1088 handler(self.page.page_name, self)
    4. 1089
    5. 1090 # 5. Or redirect to another page
    • handler = <function do_show>
    • self = <MoinMoin.request.RequestFastCGI object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.page_name = u'WikiKoumbit'
  2. /usr/local/lib/python2.4/site-packages/MoinMoin/wikiaction.py in do_show (pagename=u'WikiKoumbit', request=<MoinMoin.request.RequestFastCGI object>)

    1. 459 else:
    2. 460 request.cacheable = 1
    3. 461 Page(request, pagename).send_page(request, count_hit=1)
    4. 462
    5. 463
    • global Page = <class MoinMoin.Page.Page>
    • request = <MoinMoin.request.RequestFastCGI object>
    • pagename = u'WikiKoumbit'
    • ).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.RequestFastCGI object>, msg=u'<strong>Redirig\xe9 depuis la page \xab <a href="/KoumbitWiki?action=show">KoumbitWiki</a> \xbb</strong><br>', **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 = 2
  4. /usr/local/lib/python2.4/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'\n|| <!> || Si vous cherchez le site web principa...eb] sont r\xe9pertori\xe9es dans la CategoryDuplicate.\n', format_args='', do_cache=1, **kw={'start_line': 2})

    1. 1312 try:
    2. 1313 code = self.makeCache(request, parser)
    3. 1314 self.execute(request, parser, code)
    4. 1315 except 'CacheNeedsUpdate':
    5. 1316 request.log('page cache failed after creation')
    • self = <MoinMoin.Page.Page instance>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestFastCGI object>
    • parser = <MoinMoin.parser.wiki.Parser instance>
    • code = <code object ? at 0x8719de0, file "WikiKoumbit", line 2>
  5. /usr/local/lib/python2.4/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestFastCGI object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0x8719de0, file "WikiKoumbit", 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 ? at 0x8719de0, file "WikiKoumbit", line 2>
  6. /usr/local/www/wiki/bin/WikiKoumbit in ?

  7. /usr/local/lib/python2.4/site-packages/MoinMoin/formatter/base.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance>, macro_obj=<MoinMoin.wikimacro.Macro instance>, name=u'Include', args=u'Meetings, "R\xe9unions", 1, to="= Anciens meetings ="')

    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>
    • macro_obj.execute = <bound method Macro.execute of <MoinMoin.wikimacro.Macro instance>>
    • name = u'Include'
    • args = u'Meetings, "R\xe9unions", 1, to="= Anciens meetings ="'
  8. /usr/local/lib/python2.4/site-packages/MoinMoin/wikimacro.py in execute (self=<MoinMoin.wikimacro.Macro instance>, macro_name=u'Include', args=u'Meetings, "R\xe9unions", 1, to="= Anciens meetings ="')

    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 = <function execute>
    • self = <MoinMoin.wikimacro.Macro instance>
    • args = u'Meetings, "R\xe9unions", 1, to="= Anciens meetings ="'
  9. /usr/local/lib/python2.4/site-packages/MoinMoin/macro/Include.py in execute (macro=<MoinMoin.wikimacro.Macro instance>, text=u'Meetings, "R\xe9unions", 1, to="= Anciens meetings ="', args_re=<_sre.SRE_Pattern object>, title_re=<_sre.SRE_Pattern object>, called_by_toc=0)

    1. 202 if request._page_headings[pntt] > 1:
    2. 203 hid += '-%d'%(request._page_headings[pntt],)
    3. 204 result.append(
    4. 205 #macro.formatter.heading(1, level, hid,
    5. 206 # icons=edit_icon.replace('<img ', '<img align="right" ')) +
    • result = []
    • result.append = <built-in method append of list object>
    • macro = <MoinMoin.wikimacro.Macro instance>
    • macro.formatter = <MoinMoin.formatter.text_html.Formatter instance>
    • macro.formatter.heading = <bound method Formatter.heading of <MoinMoin.formatter.text_html.Formatter instance>>
    • level = 1
    • hid = 'head-2760224f5c4da2a3a03b03d90706ffd03e3b4e1f'
    • inc_page = <MoinMoin.Page.Page instance>
    • inc_page.link_to = <bound method Page.link_to of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestFastCGI object>
    • heading = u'R\xe9unions'
    • css_class undefined

TypeError

heading() takes exactly 3 arguments (4 given)

  • args = ('heading() takes exactly 3 arguments (4 given)',)

System Details

  • Date: Sun, 12 Feb 2006 22:25:43 +0000
  • Platform: FreeBSD lethe.koumbit.net 4.11-RELEASE-p13 FreeBSD 4.11-RELEASE-p13 #1: We i386
  • Python: Python 2.4.1 (/usr/local/bin/python)
  • MoinMoin: Release 1.5.2 (release)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2006-02-12 22:55:07, 0.6 KB) [[attachment:include.patch]]
  • [get | view] (2006-02-12 22:29:29, 24.6 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.