This is some text

--> -->

TypeError

super() argument 1 must be type, not classobj

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/share/python-support/python-moinmoin/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)

    1. 1152 # Visit pagename
    2. 1153 self.page = Page(self, pagename)
    3. 1154 self.page.send_page(self, count_hit=1)
    4. 1155
    5. 1156 # generate page footer (actions that do not want this footer
    • self = <MoinMoin.request.RequestModPy object>
    • self.page = <MoinMoin.Page.Page instance>
    • self.page.send_page = <bound method Page.send_page of <MoinMoin.Page.Page instance>>
    • count_hit undefined
  2. /usr/share/python-support/python-moinmoin/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, msg='', **keywords={'count_hit': 1})

    1. 1234 format_args=pi_formatargs,
    2. 1235 do_cache=do_cache,
    3. 1236 start_line=pi_lines)
    4. 1237
    5. 1238 # check for pending footnotes
    • start_line undefined
    • pi_lines = 0
  3. /usr/share/python-support/python-moinmoin/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, Parser=<class MoinMoin.parser.wiki.Parser>, body=u'This is some text\n\n{{{\n#!textil\n*This is bold te...er.cx\n}}}\n\n[http://www.google.com Goooooooogle!]\n', format_args='', do_cache=1, **kw={'start_line': 0})

    1. 1317 try:
    2. 1318 code = self.loadCache(request)
    3. 1319 self.execute(request, parser, code)
    4. 1320 except 'CacheNeedsUpdate':
    5. 1321 try:
    • self = <MoinMoin.Page.Page instance>
    • self.execute = <bound method Page.execute of <MoinMoin.Page.Page instance>>
    • request = <MoinMoin.request.RequestModPy object>
    • parser = <MoinMoin.parser.wiki.Parser instance>
    • code = <code object ? at 0x41918a20, file "ScottsTestPage", line 2>
  4. /usr/share/python-support/python-moinmoin/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page instance>, request=<MoinMoin.request.RequestModPy object>, parser=<MoinMoin.parser.wiki.Parser instance>, code=<code object ? at 0x41918a20, file "ScottsTestPage", line 2>)

    1. 1341 if hasattr(MoinMoin, '__loader__'):
    2. 1342 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    3. 1343 exec code
    4. 1344
    5. 1345 def loadCache(self, request):
    • code = <code object ? at 0x41918a20, file "ScottsTestPage", line 2>
  5. /ScottsTestPage in ?

  6. /usr/share/python-support/python-moinmoin/MoinMoin/formatter/base.py in processor (self=<MoinMoin.formatter.text_html.Formatter instance>, processor_name=u'textil', lines=[u'*This is bold text*', u'_this is underlined_', u'-strike-', u'', u'* List item', u'* another list item', u'*# numeric sub item', u'*# second numeric sub item', u'', u'FrontPage', u'', u'"Fishcam!":http://www.scooter.cx'], is_parser=1)

    1. 315 lines = lines[1:]
    2. 316 p = parser('\n'.join(lines), self.request, format_args=args)
    3. 317 p.format(self)
    4. 318 del p
    5. 319 return ''
    • p = <vesta.plugin.parser.textil.Parser instance>
    • p.format = <bound method Parser.format of <vesta.plugin.parser.textil.Parser instance>>
    • self = <MoinMoin.formatter.text_html.Formatter instance>
  7. /var/lib/vesta/wiki/data/plugin/parser/textil.py in format (self=<vesta.plugin.parser.textil.Parser instance>, formatter=<MoinMoin.formatter.text_html.Formatter instance>)

    1. 53 def format(self, formatter):
    2. 54 """ Send the text. """
    3. 55 #self.request.write(textil(self.raw.expandtabs(),self.request))
    4. 56 self.request.write(textil(self.raw,self.request))
    5. 57
    • self = <vesta.plugin.parser.textil.Parser instance>
    • self.request = <MoinMoin.request.RequestModPy object>
    • self.request.write = <bound method RequestModPy.write of <MoinMoin.request.RequestModPy object>>
    • global textil = <function textil>
    • self.raw = u'*This is bold text*\n_this is underlined_\n-strike...item\n\nFrontPage\n\n"Fishcam!":http://www.scooter.cx'
  8. /var/lib/vesta/wiki/data/plugin/parser/textil.py in textil (text=u'*This is bold text*\n_this is underlined_\n-strike...item\n\nFrontPage\n\n"Fishcam!":http://www.scooter.cx', request=<MoinMoin.request.RequestModPy object>)

    1. 38
    2. 39 def textil(text, request):
    3. 40 return WikiTextiler(text,request).process()
    4. 41
    5. 42 class Parser:
    • global WikiTextiler = <class vesta.plugin.parser.textil.WikiTextiler>
    • text = u'*This is bold text*\n_this is underlined_\n-strike...item\n\nFrontPage\n\n"Fishcam!":http://www.scooter.cx'
    • request = <MoinMoin.request.RequestModPy object>
    • ).process undefined
  9. /usr/lib/python2.4/site-packages/textile.py in process (self=<vesta.plugin.parser.textil.WikiTextiler instance>, head_offset=0, validate=0, sanitize=0, output='ascii', encoding='latin-1')

    1. 840 text = []
    2. 841 for [function, captures] in self.blocks:
    3. 842 text.append(function(**captures))
    4. 843
    5. 844 text = '\n\n'.join(text)
    • text = []
    • text.append = <built-in method append of list object>
    • function = <bound method WikiTextiler.paragraph of <vesta.plugin.parser.textil.WikiTextiler instance>>
    • captures = {'text': u'*This is bold text*\n_this is underlined_\n-strike-'}
  10. /usr/lib/python2.4/site-packages/textile.py in paragraph (self=<vesta.plugin.parser.textil.WikiTextiler instance>, text=u'*This is bold text*\n_this is underlined_\n-strike-', parameters=None, attributes={}, clear=None)

    1. 1243
    2. 1244 # Inline formatting.
    3. 1245 line = self.inline(line)
    4. 1246
    5. 1247 output.append(open_tag + line + close_tag)
    • line = u'*This is bold text*<br />\n_this is underlined_<br />\n-strike-'
    • self = <vesta.plugin.parser.textil.WikiTextiler instance>
    • self.inline = <bound method WikiTextiler.inline of <vesta.plugin.parser.textil.WikiTextiler instance>>
  11. /usr/lib/python2.4/site-packages/textile.py in inline (self=<vesta.plugin.parser.textil.WikiTextiler instance>, text=u'*This is bold text*<br />\n_this is underlined_<br />\n-strike-')

    1. 2839 """
    2. 2840 if not re.search(r'''==(.*?)==''', text):
    3. 2841 text = self.format(text)
    4. 2842
    5. 2843 else:
    • text = u'*This is bold text*<br />\n_this is underlined_<br />\n-strike-'
    • self = <vesta.plugin.parser.textil.WikiTextiler instance>
    • self.format = <bound method WikiTextiler.format of <vesta.plugin.parser.textil.WikiTextiler instance>>
  12. /usr/lib/python2.4/site-packages/textile.py in format (self=<vesta.plugin.parser.textil.WikiTextiler instance>, text=u'<strong>This is bold text</strong><br />\n<em>this is underlined</em><br />\n<del>strike</del>')

    1. 2820 text = self.qtags(text)
    2. 2821 text = self.images(text)
    3. 2822 text = self.links(text)
    4. 2823 text = self.acronym(text)
    5. 2824 text = self.glyphs(text)
    • text = u'<strong>This is bold text</strong><br />\n<em>this is underlined</em><br />\n<del>strike</del>'
    • self = <vesta.plugin.parser.textil.WikiTextiler instance>
    • self.links = <bound method WikiTextiler.links of <vesta.plugin.parser.textil.WikiTextiler instance>>
  13. /var/lib/vesta/wiki/data/plugin/parser/textil.py in links (self=<vesta.plugin.parser.textil.WikiTextiler instance>, text=u'<strong>This is bold text</strong><br />\n<em>this is underlined</em><br />\n<del>strike</del>')

    1. 21
    2. 22 def links(self, text):
    3. 23 text = super(WikiTextiler, self).links(text)
    4. 24
    5. 25 def lookupWikiWikiWord(match):
    • text = u'<strong>This is bold text</strong><br />\n<em>this is underlined</em><br />\n<del>strike</del>'
    • builtin super = <type 'super'>
    • global WikiTextiler = <class vesta.plugin.parser.textil.WikiTextiler>
    • self = <vesta.plugin.parser.textil.WikiTextiler instance>
    • ).links = <bound method WikiTextiler.links of <vesta.plugin.parser.textil.WikiTextiler instance>>

TypeError

super() argument 1 must be type, not classobj

  • args = ('super() argument 1 must be type, not classobj',)

System Details

  • Date: Fri, 18 May 2012 00:47:09 +0000
  • Platform: Linux pub 2.6.21.1 #6 Mon May 21 16:05:52 EDT 2007 i686
  • Python: Python 2.4.4c0 (/usr/bin/python)
  • MoinMoin: Release 1.5.3 (release)