FrankNiessink
--> -->
TypeError
__init__() takes exactly 3 arguments (2 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.
/home/robind/domains/wiki.wxpython.org/htdocs/lib/python/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_fcgi.Request object at 0x973232c>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function do_show at 0x8b9817c>
- self = <MoinMoin.request.request_fcgi.Request object at 0x973232c>
- self.page = <MoinMoin.Page.Page object at 0x973236c>
- self.page.page_name = u'FrankNiessink'
/home/robind/domains/wiki.wxpython.org/htdocs/lib/python/MoinMoin/action/__init__.py in do_show (pagename=u'FrankNiessink', request=<MoinMoin.request.request_fcgi.Request object at 0x973232c>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 251 count_hit=count_hit,
- 252 print_mode=print_mode,
- 253 content_only=content_only,
- 254 )
- 255
- content_only = 0
/home/robind/domains/wiki.wxpython.org/htdocs/lib/python/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x973256c>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1199 format_args=pi['formatargs'],
- 1200 do_cache=do_cache,
- 1201 start_line=pi['lines'])
- 1202
- 1203 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance at 0x973260c>, 'format': u'wiki', 'formatargs': u'', 'language': 'en', 'lines': 2}
/home/robind/domains/wiki.wxpython.org/htdocs/lib/python/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x973256c>, request=<MoinMoin.request.request_fcgi.Request object at 0x973232c>, body=u'== FrankNiessink ==\n\n\n<<SortBy(PageWithTable, 1, 1, alpha)>>\n\n----\nCategoryHomepage\n', format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 2})
- 1287 try:
- 1288 code = self.loadCache(request)
- 1289 self.execute(request, parser, code)
- 1290 except Exception, e:
- 1291 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page object at 0x973256c>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page object at 0x973256c>>
- request = <MoinMoin.request.request_fcgi.Request object at 0x973232c>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x97329cc>
- code = <code object <module> at 0x96e92f0, file "FrankNiessink", line 2>
/home/robind/domains/wiki.wxpython.org/htdocs/lib/python/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object at 0x973256c>, request=<MoinMoin.request.request_fcgi.Request object at 0x973232c>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x97329cc>, code=<code object <module> at 0x96e92f0, file "FrankNiessink", line 2>)
- 1318 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1319 try:
- 1320 exec code
- 1321 except "CacheNeedsUpdate": # convert the exception
- 1322 raise Exception("CacheNeedsUpdate")
- code = <code object <module> at 0x96e92f0, file "FrankNiessink", line 2>
/home/robind/domains/wiki.wxpython.org/htdocs/FrankNiessink in
() /home/robind/domains/wiki.wxpython.org/htdocs/lib/python/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x97326ec>, macro_obj=<MoinMoin.macro.Macro instance at 0x973296c>, name=u'SortBy', args=u'PageWithTable, 1, 1, alpha', markup=u'<<SortBy(PageWithTable, 1, 1, alpha)>>')
- 308 # call the macro
- 309 try:
- 310 return macro_obj.execute(name, args)
- 311 except ImportError, err:
- 312 errmsg = unicode(err)
- macro_obj = <MoinMoin.macro.Macro instance at 0x973296c>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0x973296c>>
- name = u'SortBy'
- args = u'PageWithTable, 1, 1, alpha'
/home/robind/domains/wiki.wxpython.org/htdocs/lib/python/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0x973296c>, macro_name=u'SortBy', args=u'PageWithTable, 1, 1, alpha')
- 126 else:
- 127 raise ImportError("Cannot load macro %s" % macro_name)
- 128 return execute(self, args)
- 129
- 130 def _m_lang(self, text):
- execute = <function execute at 0x97186bc>
- self = <MoinMoin.macro.Macro instance at 0x973296c>
- args = u'PageWithTable, 1, 1, alpha'
/home/robind/domains/wiki.wxpython.org/htdocs/wxPyWiki/data/plugin/macro/SortBy.py in execute (macro=<MoinMoin.macro.Macro instance at 0x973296c>, args=u'PageWithTable, 1, 1, alpha')
- 423 """
- 424 try:
- 425 sort_page, table, num_headers, sort_list = process_args(args)
- 426 for sort_column, sort_type, reverse in sort_list:
- 427 sort_table(table, num_headers, sort_column, sort_type, reverse)
- sort_page undefined
- table undefined
- num_headers undefined
- sort_list undefined
- global process_args = <function process_args at 0x9718614>
- args = u'PageWithTable, 1, 1, alpha'
/home/robind/domains/wiki.wxpython.org/htdocs/wxPyWiki/data/plugin/macro/SortBy.py in process_args (args=u'PageWithTable, 1, 1, alpha')
- 336 else: reverse = 0
- 337 sort_list.append((sort_column, sort_type, reverse)) # Append a 3-tuple
- 338 sort_page = Page(table_page)
- 339 try: table_rows = read_table(sort_page._text_filename())
- 340 except IOError:
- sort_page undefined
- global Page = <class 'MoinMoin.Page.Page'>
- table_page = u'PageWithTable'
TypeError
__init__() takes exactly 3 arguments (2 given)
- args = ('__init__() takes exactly 3 arguments (2 given)',)
- message = '__init__() takes exactly 3 arguments (2 given)'
System Details
- Date: Thu, 17 May 2012 03:12:20 +0000
- Platform: Linux riobu.com 2.6.18-238.12.1.el5.028stab091.1 #1 SMP Wed Jun 1 13:20:25 MSD 2011 i686
- Python: Python 2.5.2 (/usr/bin/python)
- MoinMoin: Release 1.8.4 (release)
