Attachment 'traceback.html'
Download- attachment:test.doc of gsiems/Test
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.
/opt/moin-1.7.0/lib/python2.3/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_cgi.Request object>)
- 1319 try:
- 1320 # nothing we can do about further failures!
- 1321 self.fail(err)
- 1322 except:
- 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>
/var/local/moin-1.7.0/iso/cgi-bin/AttachFile.py in execute (pagename=u'gsiems/Test', request=<MoinMoin.request.request_cgi.Request object>)
/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>)
/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>)
/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')
/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')
- 1105 return importWikiPlugin(cfg, kind, name, function)
- 1106 except PluginMissingError:
- 1107 return importBuiltinPlugin(kind, name, function)
- 1108
- 1109
- global importBuiltinPlugin = <function importBuiltinPlugin>
- kind = 'macro'
- name = 'EmbedObject'
- function = 'macro_EmbedObject'
/opt/moin-1.7.0/lib/python2.3/site-packages/MoinMoin/wikiutil.py in importBuiltinPlugin (kind='macro', name='EmbedObject', function='macro_EmbedObject')
- 1127 raise PluginMissingError
- 1128 moduleName = 'MoinMoin.%s.%s' % (kind, name)
- 1129 return importNameFromPlugin(moduleName, function)
- 1130
- 1131
- global importNameFromPlugin = <function importNameFromPlugin>
- moduleName = 'MoinMoin.macro.EmbedObject'
- function = 'macro_EmbedObject'
/opt/moin-1.7.0/lib/python2.3/site-packages/MoinMoin/wikiutil.py in importNameFromPlugin (moduleName='MoinMoin.macro.EmbedObject', name='macro_EmbedObject')
- 1135 Raise PluginAttributeError if name does not exist.
- 1136 """
- 1137 module = __import__(moduleName, globals(), {}, [name])
- 1138 try:
- 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'
/var/local/moin-1.7.0/iso/cgi-bin/EmbedObject.py in ?
/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')
- 1751 IEFArgument.__init__(self)
- 1752 self._units = list(units)
- 1753 self._units.sort(cmp=lambda x, y: len(y) - len(x))
- 1754 self._type = argtype
- 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.You are not allowed to attach a file to this page.