Description

When I try to edit something in FCKEditor every action like save, preview etc throw an 500 Internal Server Error. This behavior is reproducable. Its happen in Google Chrome, Konqueror (Webkit), Konqueror (Khtml). It works ok with Firefox and Opera.

Seems to be an duplicate of http://moinmo.in/MoinMoinBugs/1.9FullSearchCategoryFail

Steps to reproduce

  1. Open a bug report and try to save. Its not debian related. IMHO it is in FCKeditor/editor/js/fckeditor_gecko.js. Have the same behavior with FCKEditor in sveral versions in several cms. Next try is windows.
  2. In Windows Opera is OK.
  3. In Windows FF works OK.
  4. In Windows IE 8 works OK.
  5. Chrome is not ok. both Linux and Windows.
  6. Normaly the menu shows for chrome only text-editing. But if i create a new topic via WikiWord, the selection-form comes up. After the the gui-editor comes up, because of user settings gui/prefered. There should be the same test as in menu.

Example

In my own installation it throws an

[Sun Feb 27 00:46:43 2011] [error] 2011-02-27 00:46:43,056 ERROR MoinMoin.wsgiapp:293 An exception has occurred [http://wiki.g-com.eu/CategoryGcomWikiShorts].
[Sun Feb 27 00:46:43 2011] [error] Traceback (most recent call last):
[Sun Feb 27 00:46:43 2011] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 282, in __call__
[Sun Feb 27 00:46:43 2011] [error]     response = run(context)
[Sun Feb 27 00:46:43 2011] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 88, in run
[Sun Feb 27 00:46:43 2011] [error]     response = dispatch(request, context, action_name)
[Sun Feb 27 00:46:43 2011] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 136, in dispatch
[Sun Feb 27 00:46:43 2011] [error]     response = handle_action(context, pagename, action_name)
[Sun Feb 27 00:46:43 2011] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 195, in handle_action
[Sun Feb 27 00:46:43 2011] [error]     handler(context.page.page_name, context)
[Sun Feb 27 00:46:43 2011] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/action/edit.py", line 92, in execute
[Sun Feb 27 00:46:43 2011] [error]     savetext = convert(request, pagename, savetext)
[Sun Feb 27 00:46:43 2011] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/converter/text_html_text_moin_wiki.py", line 1454, in convert
[Sun Feb 27 00:46:43 2011] [error]     tree = parse(request, text)
[Sun Feb 27 00:46:43 2011] [error]   File "/usr/lib/pymodules/python2.6/MoinMoin/converter/text_html_text_moin_wiki.py", line 1432, in parse
[Sun Feb 27 00:46:43 2011] [error]     raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname))
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65] mod_wsgi (pid=23844): Exception occurred processing WSGI script '/usr/share/moin/server/moin.wsgi'.
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65] Traceback (most recent call last):
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]   File "/usr/lib/pymodules/python2.6/werkzeug/wsgi.py", line 406, in __call__
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]     return self.app(environ, start_response)
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 282, in __call__
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]     response = run(context)
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 88, in run
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]     response = dispatch(request, context, action_name)
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 136, in dispatch
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]     response = handle_action(context, pagename, action_name)
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]   File "/usr/lib/pymodules/python2.6/MoinMoin/wsgiapp.py", line 195, in handle_action
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]     handler(context.page.page_name, context)
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]   File "/usr/lib/pymodules/python2.6/MoinMoin/action/edit.py", line 92, in execute
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]     savetext = convert(request, pagename, savetext)
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]   File "/usr/lib/pymodules/python2.6/MoinMoin/converter/text_html_text_moin_wiki.py", line 1454, in convert
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]     tree = parse(request, text)
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]   File "/usr/lib/pymodules/python2.6/MoinMoin/converter/text_html_text_moin_wiki.py", line 1432, in parse
[Sun Feb 27 00:46:43 2011] [error] [client 192.168.150.65]     raise ConvertError('ExpatError: %s (see dump in %s)' % (msg, logname))

Component selection

Details

MoinMoin Version

1.9.3

OS and Version

debian sid (aptosid)

Python Version

2.6.6

Server Setup

Linux websvr.g-com.eu 2.6.37-1-amd64 #1 SMP Tue Feb 15 17:43:38 UTC 2011 x86_64 GNU/Linux

Server Details

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

en

Workaround

Discussion

Plan


CategoryMoinMoinBugFixed

MoinMoin: MoinMoinBugs/EditSavePreviewInFCKEditorFails (last edited 2012-02-16 15:43:52 by ThomasWaldmann)