Description

If I go to http://moinmaster.wikiwikiweb.de:9000/WikiSandBox and open that page by the gui editor and do select cancel afterwards I got this traceback -- ReimarBauer 2007-04-23 11:42:04

Traceback (most recent call last):
  File "MoinMoin/script/../../MoinMoin/request/__init__.py", line 1180, in run
  File "/srv/moin_tw/moin-1.6/MoinMoin/action/edit.py", line 97, in execute
    convert = wikiutil.searchAndImportPlugin(request.cfg, "converter", converter_name)
  File "MoinMoin/script/../../MoinMoin/wikiutil.py", line 1124, in searchAndImportPlugin
  File "MoinMoin/script/../../MoinMoin/wikiutil.py", line 1030, in importPlugin
  File "MoinMoin/script/../../MoinMoin/wikiutil.py", line 1040, in importWikiPlugin
  File "MoinMoin/script/../../MoinMoin/wikiutil.py", line 1092, in wikiPlugins
  File "MoinMoin/script/../../MoinMoin/util/pysupport.py", line 65, in importName
ImportError: No module named converter

Additionally cgitb raised this exception:
Traceback (most recent call last):
  File "/srv/moin_tw/moin-1.6/MoinMoin/failure.py", line 147, in handle
    handler.handle()
  File "/srv/moin_tw/moin-1.6/MoinMoin/support/cgitb.py", line 576, in handle
    doc = view.format(formatter, self.context)
  File "/srv/moin_tw/moin-1.6/MoinMoin/support/cgitb.py", line 354, in format
    return formatter.section(self.formatContent(), {'class': 'cgitb'})
  File "/srv/moin_tw/moin-1.6/MoinMoin/failure.py", line 33, in formatContent
    content = (
  File "/srv/moin_tw/moin-1.6/MoinMoin/failure.py", line 83, in formatDebugInfo
    info = [self.debugInfoHideScript(),
  File "/srv/moin_tw/moin-1.6/MoinMoin/failure.py", line 97, in formatTraceback
    return self.formatAllTracebacks(self.formatOneTraceback)
  File "/srv/moin_tw/moin-1.6/MoinMoin/failure.py", line 109, in formatAllTracebacks
    tracebacks.append(formatFuction((ttype, tvalue, tb)))
  File "/srv/moin_tw/moin-1.6/MoinMoin/support/cgitb.py", line 432, in formatOneTraceback
    output = [self.formatter.subTitle('Traceback'),
  File "/srv/moin_tw/moin-1.6/MoinMoin/support/cgitb.py", line 443, in tracebackFrames
    for record in inspect.getinnerframes(traceback, self.context):
  File "inspect.py", line 804, in getinnerframes
    framelist.append((tb.tb_frame,) + getframeinfo(tb, context))
  File "inspect.py", line 768, in getframeinfo
    lines, lnum = findsource(frame)
  File "inspect.py", line 437, in findsource
    if pat.match(lines[lnum]): break
IndexError: list index out of range

Steps to reproduce

  1. do this...

Example

Component selection

Details

MoinMoin Version

1.6dev

OS and Version

Python Version

Server Setup

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

Workaround

Discussion

How does that fix/changeset work? I just added a converter/ dir under data/plugin and this fixed the problem (without patch).

The function changed by that changeset is to map parser names used by #format xxx to the correct mimetypes. The converter name has nothing to do with that as it is a converter, not a parser.

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/1.6devGuiCancelBug (last edited 2007-10-29 19:08:12 by localhost)