Attachment 'traceback.html'

Download

Attachment 'test.doc'

Download

--> -->

TypeError

sort() takes no keyword arguments

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. /opt/moin-1.7.0/lib/python2.3/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object>)

    1. 1319 try:
    2. 1320 # nothing we can do about further failures!
    3. 1321 self.fail(err)
    4. 1322 except:
    5. 1323 pass
    • self = <MoinMoin.request.request_cgi.Request object>
    • self.fail = <bound method Request.fail of <MoinMoin.request.request_cgi.Request object>>
    • err = <exceptions.TypeError instance>
  2. /var/local/moin-1.7.0/iso/cgi-bin/AttachFile.py in execute (pagename=u'gsiems/Test', request=<MoinMoin.request.request_cgi.Request object>)

  3. /var/local/moin-1.7.0/iso/cgi-bin/AttachFile.py in _do_view (pagename=u'gsiems/Test', request=<MoinMoin.request.request_cgi.Request object>)

  4. /var/local/moin-1.7.0/iso/cgi-bin/AttachFile.py in send_viewfile (pagename=u'gsiems/Test', request=<MoinMoin.request.request_cgi.Request object>)

  5. /var/local/moin-1.7.0/iso/cgi-bin/__init__.py in execute (self=<MoinMoin.macro.Macro instance>, macro_name='EmbedObject', args=u'target=test.doc, pagename=gsiems/Test')

  6. /opt/moin-1.7.0/lib/python2.3/site-packages/MoinMoin/wikiutil.py in importPlugin (cfg=<wikiconfig.Config object>, kind='macro', name='EmbedObject', function='macro_EmbedObject')

    1. 1105 return importWikiPlugin(cfg, kind, name, function)
    2. 1106 except PluginMissingError:
    3. 1107 return importBuiltinPlugin(kind, name, function)
    4. 1108
    5. 1109
    • global importBuiltinPlugin = <function importBuiltinPlugin>
    • kind = 'macro'
    • name = 'EmbedObject'
    • function = 'macro_EmbedObject'
  7. /opt/moin-1.7.0/lib/python2.3/site-packages/MoinMoin/wikiutil.py in importBuiltinPlugin (kind='macro', name='EmbedObject', function='macro_EmbedObject')

    1. 1127 raise PluginMissingError
    2. 1128 moduleName = 'MoinMoin.%s.%s' % (kind, name)
    3. 1129 return importNameFromPlugin(moduleName, function)
    4. 1130
    5. 1131
    • global importNameFromPlugin = <function importNameFromPlugin>
    • moduleName = 'MoinMoin.macro.EmbedObject'
    • function = 'macro_EmbedObject'
  8. /opt/moin-1.7.0/lib/python2.3/site-packages/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName='MoinMoin.macro.EmbedObject', name='macro_EmbedObject')

    1. 1135 Raise PluginAttributeError if name does not exist.
    2. 1136 """
    3. 1137 module = __import__(moduleName, globals(), {}, [name])
    4. 1138 try:
    5. 1139 return getattr(module, name)
    • module undefined
    • builtin __import__ = <built-in function __import__>
    • moduleName = 'MoinMoin.macro.EmbedObject'
    • builtin globals = <built-in function globals>
    • name = 'macro_EmbedObject'
  9. /var/local/moin-1.7.0/iso/cgi-bin/EmbedObject.py in ?

  10. /opt/moin-1.7.0/lib/python2.3/site-packages/MoinMoin/wikiutil.py in __init__ (self=<MoinMoin.wikiutil.UnitArgument instance>, default=None, argtype=<type 'float'>, units=['px', 'em', 'pt', 'in', 'mm', '%'], defaultunit='px')

    1. 1751 IEFArgument.__init__(self)
    2. 1752 self._units = list(units)
    3. 1753 self._units.sort(cmp=lambda x, y: len(y) - len(x))
    4. 1754 self._type = argtype
    5. 1755 self._defaultunit = defaultunit
    • self = <MoinMoin.wikiutil.UnitArgument instance>
    • self._units = ['px', 'em', 'pt', 'in', 'mm', '%']
    • self._units.sort = <built-in method sort of list object>
    • builtin cmp = <built-in function cmp>
    • x undefined
    • y undefined
    • builtin len = <built-in function len>

TypeError

sort() takes no keyword arguments

  • args = ('sort() takes no keyword arguments',)

System Details

  • Date: Wed, 09 Jul 2008 19:17:43 +0000
  • Platform: Linux jupiter2.pca.state.mn.us 2.6.9-67.0.4.ELsmp #1 SMP Sun Feb 3 07:06:14 EST 2008 x86_64
  • Python: Python 2.3.4 (/usr/bin/python)
  • MoinMoin: Release 1.7.0 (release)

Attached Files

To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.
  • [get | view] (2008-07-10 05:58:11, 24.0 KB) [[attachment:test.doc]]
  • [get | view] (2008-07-10 01:23:56, 17.4 KB) [[attachment:traceback.html]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.