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.
/usr/share/python-support/python-moinmoin/MoinMoin/request.py in run (self=<MoinMoin.request.RequestModPy object>)
- 1152 # Visit pagename
- 1153 self.page = Page(self, pagename)
- 1154 self.page.send_page(self, count_hit=1)
- 1155
- 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
/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})
- 1234 format_args=pi_formatargs,
- 1235 do_cache=do_cache,
- 1236 start_line=pi_lines)
- 1237
- 1238 # check for pending footnotes
- start_line undefined
- pi_lines = 0
/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})
- 1317 try:
- 1318 code = self.loadCache(request)
- 1319 self.execute(request, parser, code)
- 1320 except 'CacheNeedsUpdate':
- 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>
/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>)
- 1341 if hasattr(MoinMoin, '__loader__'):
- 1342 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1343 exec code
- 1344
- 1345 def loadCache(self, request):
- code = <code object ? at 0x41918a20, file "ScottsTestPage", line 2>
/ScottsTestPage in ?
/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)
- 315 lines = lines[1:]
- 316 p = parser('\n'.join(lines), self.request, format_args=args)
- 317 p.format(self)
- 318 del p
- 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>
/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>)
- 53 def format(self, formatter):
- 54 """ Send the text. """
- 55 #self.request.write(textil(self.raw.expandtabs(),self.request))
- 56 self.request.write(textil(self.raw,self.request))
- 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'
/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>)
- 38
- 39 def textil(text, request):
- 40 return WikiTextiler(text,request).process()
- 41
- 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
/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')
- 840 text = []
- 841 for [function, captures] in self.blocks:
- 842 text.append(function(**captures))
- 843
- 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-'}
/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)
- 1243
- 1244 # Inline formatting.
- 1245 line = self.inline(line)
- 1246
- 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>>
/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-')
- 2839 """
- 2840 if not re.search(r'''==(.*?)==''', text):
- 2841 text = self.format(text)
- 2842
- 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>>
/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>')
- 2820 text = self.qtags(text)
- 2821 text = self.images(text)
- 2822 text = self.links(text)
- 2823 text = self.acronym(text)
- 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>>
/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>')
- 21
- 22 def links(self, text):
- 23 text = super(WikiTextiler, self).links(text)
- 24
- 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)