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.

  1. /usr/lib/python2.6/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object at 0xb98104c>)

    1. 1309 self.page.send_page()
    2. 1310 else:
    3. 1311 handler(self.page.page_name, self)
    4. 1312
    5. 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'
  2. /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)

    1. 251 count_hit=count_hit,
    2. 252 print_mode=print_mode,
    3. 253 content_only=content_only,
    4. 254 )
    5. 255
    • content_only = 0
  3. /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})

    1. 1200 format_args=pi['formatargs'],
    2. 1201 do_cache=do_cache,
    3. 1202 start_line=pi['lines'])
    4. 1203
    5. 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}
  4. /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})

    1. 1288 try:
    2. 1289 code = self.loadCache(request)
    3. 1290 self.execute(request, parser, code)
    4. 1291 except Exception, e:
    5. 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>
  5. /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>)

    1. 1319 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
    2. 1320 try:
    3. 1321 exec code
    4. 1322 except "CacheNeedsUpdate": # convert the exception
    5. 1323 raise Exception("CacheNeedsUpdate")
    • code = <code object <module> at 0xbe84800, file "BruceRavel", line 2>
  6. /BruceRavel in ()

  7. /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)>>')

    1. 308 # call the macro
    2. 309 try:
    3. 310 return macro_obj.execute(name, args)
    4. 311 except ImportError, err:
    5. 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'
  8. /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')

    1. 112 try:
    2. 113 call = wikiutil.importPlugin(self.cfg, 'macro', macro_name,
    3. 114 function='macro_%s' % macro_name)
    4. 115 execute = lambda _self, _args: _self._wrap(call, _args, [self])
    5. 116 except wikiutil.PluginAttributeError:
    • function undefined
    • macro_name = u'Figure'
  9. /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')

    1. 1112 """
    2. 1113 try:
    3. 1114 return importWikiPlugin(cfg, kind, name, function)
    4. 1115 except PluginMissingError:
    5. 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'
  10. /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')

    1. 1127 raise PluginMissingError()
    2. 1128 moduleName = '%s.%s' % (modname, name)
    3. 1129 return importNameFromPlugin(moduleName, function)
    4. 1130
    5. 1131
    • global importNameFromPlugin = <function importNameFromPlugin at 0x9c87d4c>
    • moduleName = u'wikiconfig.p_55299b6a0099984d1b75f95b36a1645ee997c4ea.macro.Figure'
    • function = u'macro_Figure'
  11. /usr/lib/python2.6/site-packages/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName=u'wikiconfig.p_55299b6a0099984d1b75f95b36a1645ee997c4ea.macro.Figure', name=u'macro_Figure')

    1. 1151 else:
    2. 1152 fromlist = [name]
    3. 1153 module = __import__(moduleName, globals(), {}, fromlist)
    4. 1154 if fromlist:
    5. 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']
  12. /www/share/moin/xafs/data/plugin/macro/Figure.py in ()

    1. 134 from MoinMoin.action import AttachFile
    2. 135
    3. 136 SIZES = Set(['full', 'half', 'third', 'quarter', 'fifth'])
    4. 137
    5. 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)