Description

PluginMissingError when attempting to use creole markup with GUI editor.

Steps to reproduce

  1. Set the default markup to creole and editor to 'gui'
    • cat << EOT>>wikiconfig.py
      
          default_markup = 'creole'
          editor_default = 'gui'   
      EOT
  2. Create a new page (e.g. http://localhost/wiki/TestingCreoleWithGUI?action=edit)

  3. Attempt to save or preview the page

Details

--> -->

PluginMissingError

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

    1. 1281 self.page.send_page(msg=msg)
    2. 1282 else:
    3. 1283 handler(self.page.page_name, self)
    4. 1284
    5. 1285 # every action that didn't use to raise MoinMoinNoFooter must call this now:
    • handler = <function execute>
    • self = <MoinMoin.request.request_cgi.Request object>
    • self.page = <MoinMoin.Page.Page object>
    • self.page.page_name = u'Testing'
  2. /opt/moin-1.6.2/lib/python2.4/site-packages/MoinMoin/action/edit.py in execute (pagename=u'Testing', request=<MoinMoin.request.request_cgi.Request object>)

    1. 94 else:
    2. 95 converter_name = 'undefined' # XXX we don't have other converters yet
    3. 96 convert = wikiutil.importPlugin(request.cfg, "converter", converter_name, 'convert')
    4. 97 savetext = convert(request, pagename, savetext)
    5. 98
    • convert undefined
    • global wikiutil = <module 'MoinMoin.wikiutil' from '/opt/moin-1.6....b/python2.4/site-packages/MoinMoin/wikiutil.pyc'>
    • wikiutil.importPlugin = <function importPlugin>
    • request = <MoinMoin.request.request_cgi.Request object>
    • request.cfg = <wikiconfig.Config instance>
    • converter_name = 'undefined'
  3. /opt/moin-1.6.2/lib/python2.4/site-packages/MoinMoin/wikiutil.py in importPlugin (cfg=<wikiconfig.Config instance>, kind='converter', name='undefined', function='convert')

    1. 1102 return importWikiPlugin(cfg, kind, name, function)
    2. 1103 except PluginMissingError:
    3. 1104 return importBuiltinPlugin(kind, name, function)
    4. 1105
    5. 1106
    • global importBuiltinPlugin = <function importBuiltinPlugin>
    • kind = 'converter'
    • name = 'undefined'
    • function = 'convert'
  4. /opt/moin-1.6.2/lib/python2.4/site-packages/MoinMoin/wikiutil.py in importBuiltinPlugin (kind='converter', name='undefined', function='convert')

    1. 1122 """
    2. 1123 if not name in builtinPlugins(kind):
    3. 1124 raise PluginMissingError
    4. 1125 moduleName = 'MoinMoin.%s.%s' % (kind, name)
    5. 1126 return importNameFromPlugin(moduleName, function)
    • global PluginMissingError = <class MoinMoin.wikiutil.PluginMissingError>

PluginMissingError

  • args = ()

System Details

  • Date: Wed, 02 Apr 2008 01:51:34 +0000
  • Platform: Linux miriam.siemster.net 2.6.18-53.1.14.el5 #1 SMP Wed Mar 5 11:37:38 EST 2008 x86_64
  • Python: Python 2.4.3 (/usr/bin/python)
  • MoinMoin: Release 1.6.2 (release)

traceback.html

Workaround

Don't configure as described in 1. as it is not supported.

Discussion

Until we have a converter from html to creole markup this doesn't work. As it is not possible yet to save to creole (or any other markup than wiki markup), we should restrict gui editor to wiki parser only.

I can't reproduce the plugin missing error in 1.7 please give more details. -- ReimarBauer 2008-04-02 07:05:57

This is a bug in the edit action, it should check the parser and disallow the gui editor if necessary. -- AlexanderSchremmer 2008-07-23 12:16:46

Regarding 1.7

Not sure what you need, here goes. -- Siemster 2008-04-03 04:04:34

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/GuiEditorCreolePluginMissingError (last edited 2008-07-23 12:16:46 by AlexanderSchremmer)