[Moin-user] Using fckeditor and inline_latex

ReimarBauer rb.proj at googlemail.com
Tue Nov 30 16:45:35 EST 2010


On 30.11.2010 21:30, Nikolaus Rath wrote:
> Hello,
> 
> When I edit a page that starts with #format inline_latex (implemented by
> http://moinmo.in/ParserMarket/inline_latex) using fckeditor, I'm getting
> an internal server error with the following traceback:
> 
> [Tue Nov 30 20:08:22 2010] [error] 2010-11-30 20:08:22,247 ERROR MoinMoin.wsgiapp:293 An exception has occurred [https://www.rath.org/wiki/Math%20Demo].
> [Tue Nov 30 20:08:22 2010] [error] Traceback (most recent call last):
> [Tue Nov 30 20:08:22 2010] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 282, in __call__
> [Tue Nov 30 20:08:22 2010] [error]     response = run(context)
> [Tue Nov 30 20:08:22 2010] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 88, in run
> [Tue Nov 30 20:08:22 2010] [error]     response = dispatch(request, context, action_name)
> [Tue Nov 30 20:08:22 2010] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 136, in dispatch
> [Tue Nov 30 20:08:22 2010] [error]     response = handle_action(context, pagename, action_name)
> [Tue Nov 30 20:08:22 2010] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 195, in handle_action
> [Tue Nov 30 20:08:22 2010] [error]     handler(context.page.page_name, context)
> [Tue Nov 30 20:08:22 2010] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/action/edit.py", line 98, in execute
> [Tue Nov 30 20:08:22 2010] [error]     convert = wikiutil.importPlugin(request.cfg, "converter", converter_name, 'convert')
> [Tue Nov 30 20:08:22 2010] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/wikiutil.py", line 1057, in importPlugin
> [Tue Nov 30 20:08:22 2010] [error]     return importBuiltinPlugin(kind, name, function)
> [Tue Nov 30 20:08:22 2010] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/wikiutil.py", line 1079, in importBuiltinPlugin
> [Tue Nov 30 20:08:22 2010] [error]     raise PluginMissingError()
> [Tue Nov 30 20:08:22 2010] [error] PluginMissingError
> 
> My theory is that FCKeditor does not like the #format at the beginning
> (it is shown with a yellow exclamation mark in the editor window),
> converts it to something else and thereby confuses the server (as long
> as I'm using the text editor, everything works fine).
> 
> Anyone able to help?

fckeditor of 1.x works only with moin markup. Usually it detects the
format right. But this parser (inline_latex) is derived from the wiki
parser.
text_html_text_moin_wiki is not able to convert xhtml to other formats
than exactly to the moin wiki markup. It did not know additional markup.

The bug is that it offers the gui editor link.
Please file it.

cheers
Reimar

> 
> 
> Thanks,
> 
>    -Nikolaus
> 






More information about the Moin-user mailing list