Bruce Ravel's homepage
--> -->
TypeError
object.__new__() takes no parameters
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/lib/python2.6/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object at 0xb98104c>)
- 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 0x9dc4c6c>
- self = <MoinMoin.request.request_wsgi.Request object at 0xb98104c>
- self.page = <MoinMoin.Page.Page object at 0xb98144c>
- self.page.page_name = u'BruceRavel'
/usr/lib/python2.6/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'BruceRavel', request=<MoinMoin.request.request_wsgi.Request object at 0xb98104c>, 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
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0xb981fec>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1200 format_args=pi['formatargs'],
- 1201 do_cache=do_cache,
- 1202 start_line=pi['lines'])
- 1203
- 1204 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance at 0xb981ecc>, 'format': u'wiki', 'formatargs': u'', 'language': 'en', 'lines': 2}
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0xb981fec>, request=<MoinMoin.request.request_wsgi.Request object at 0xb98104c>, body=u"\n\n= Bruce Ravel's homepage =\n\n<<Figure(1, carrou...lude(BruceRavel/Footer)>>\n\n----\nCategoryHomepage\n", format=u'wiki', format_args=u'', do_cache=1, **kw={'start_line': 2})
- 1288 try:
- 1289 code = self.loadCache(request)
- 1290 self.execute(request, parser, code)
- 1291 except Exception, e:
- 1292 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page object at 0xb981fec>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page object at 0xb981fec>>
- request = <MoinMoin.request.request_wsgi.Request object at 0xb98104c>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0xb98108c>
- code = <code object <module> at 0xbe84800, file "BruceRavel", line 2>
/usr/lib/python2.6/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object at 0xb981fec>, request=<MoinMoin.request.request_wsgi.Request object at 0xb98104c>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0xb98108c>, code=<code object <module> at 0xbe84800, file "BruceRavel", line 2>)
- 1319 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1320 try:
- 1321 exec code
- 1322 except "CacheNeedsUpdate": # convert the exception
- 1323 raise Exception("CacheNeedsUpdate")
- code = <code object <module> at 0xbe84800, file "BruceRavel", line 2>
/BruceRavel in
() /usr/lib/python2.6/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0xb98118c>, macro_obj=<MoinMoin.macro.Macro instance at 0xb98196c>, name=u'Figure', args=u'1, carrousel2.jpg, third, Bruce with his niece and nephew, Gabe and Naomi', markup=u'<<Figure(1, carrousel2.jpg, third, Bruce with his niece and nephew, Gabe and Naomi)>>')
- 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 0xb98196c>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0xb98196c>>
- name = u'Figure'
- args = u'1, carrousel2.jpg, third, Bruce with his niece and nephew, Gabe and Naomi'
/usr/lib/python2.6/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0xb98196c>, macro_name=u'Figure', args=u'1, carrousel2.jpg, third, Bruce with his niece and nephew, Gabe and Naomi')
- 112 try:
- 113 call = wikiutil.importPlugin(self.cfg, 'macro', macro_name,
- 114 function='macro_%s' % macro_name)
- 115 execute = lambda _self, _args: _self._wrap(call, _args, [self])
- 116 except wikiutil.PluginAttributeError:
- function undefined
- macro_name = u'Figure'
/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in importPlugin (cfg=<wikiconfig.Config object at 0x9d6aeec>, kind='macro', name=u'Figure', function=u'macro_Figure')
- 1112 """
- 1113 try:
- 1114 return importWikiPlugin(cfg, kind, name, function)
- 1115 except PluginMissingError:
- 1116 return importBuiltinPlugin(kind, name, function)
- global importWikiPlugin = <function importWikiPlugin at 0x9c87cdc>
- cfg = <wikiconfig.Config object at 0x9d6aeec>
- kind = 'macro'
- name = u'Figure'
- function = u'macro_Figure'
/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in importWikiPlugin (cfg=<wikiconfig.Config object at 0x9d6aeec>, kind='macro', name=u'Figure', function=u'macro_Figure')
- 1127 raise PluginMissingError()
- 1128 moduleName = '%s.%s' % (modname, name)
- 1129 return importNameFromPlugin(moduleName, function)
- 1130
- 1131
- global importNameFromPlugin = <function importNameFromPlugin at 0x9c87d4c>
- moduleName = u'wikiconfig.p_55299b6a0099984d1b75f95b36a1645ee997c4ea.macro.Figure'
- function = u'macro_Figure'
/usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName=u'wikiconfig.p_55299b6a0099984d1b75f95b36a1645ee997c4ea.macro.Figure', name=u'macro_Figure')
- 1151 else:
- 1152 fromlist = [name]
- 1153 module = __import__(moduleName, globals(), {}, fromlist)
- 1154 if fromlist:
- 1155 # module has the obj for module <moduleName>
- module undefined
- builtin __import__ = <built-in function __import__>
- moduleName = u'wikiconfig.p_55299b6a0099984d1b75f95b36a1645ee997c4ea.macro.Figure'
- builtin globals = <built-in function globals>
- fromlist = [u'macro_Figure']
/www/share/moin/xafs/data/plugin/macro/Figure.py in
() - 134 from MoinMoin.action import AttachFile
- 135
- 136 SIZES = Set(['full', 'half', 'third', 'quarter', 'fifth'])
- 137
- 138 DEFAULT_SIZE = 'third'
- SIZES undefined
- Set = None
TypeError
object.__new__() takes no parameters
- args = ('object.__new__() takes no parameters',)
- message = 'object.__new__() takes no parameters'
System Details
- Date: Wed, 19 Jun 2013 21:45:37 +0000
- Platform: Linux millenia.cars.aps.anl.gov 2.6.30.10-105.2.23.fc11.i686.PAE #1 SMP Thu Feb 11 07:05:37 UTC 2010 i686
- Python: Python 2.6 (/usr/bin/python)
- MoinMoin: Release 1.8.5 (release)