Description
MoinMoin's XMLRPC simply does not work properly with FastCGI. Attempts to call any XMLRPC action will get xmlrpclib.Fault: <Fault 1: 'xml.parsers.expat.ExpatError: no element found: line 1, column 0\n File "/usr/lib/python2.3/site-packages/MoinMoin/wikirpc.py", line 402, in process\n params, method = xmlrpclib.loads(data)\n\n File "/usr/lib/python2.3/xmlrpclib.py", line 1013, in loads\n p.close()\n\n File "/usr/lib/python2.3/xmlrpclib.py", line 531, in close\n self._parser.Parse("", 1) # end of data\n'>
It looks like the data is not being handed to the script in some fashion.
I have no idea whose bug this is (moinmoin or fastcgi), but i *do* have other fastcgi scripts that work fine with xmlrpc, so i expect this is actually on the moinmoin side somehow.
Steps to reproduce
Attempt to make an XMLRPC call to a server using fastcgi.
http://gcc.gnu.org/wiki will do fine.
It fails with both ?action=xmlrpc and ?action=xmlrpc2
If i tell the site to the moin.cgi instead of moin.fcg (IE turn off fastcgi handling), everything works fine.
Example
Details
Workaround
Don't use fastcgi
Discussion
We did some fcgi changes after 1.5.4 release in the 1.5 branch and we use fcgi on moinmaster, so it should work now. Changes include "fix MoinMoinBugs/XmlRpcBrokenForFastCgi, thanks to Johannes Berg".
Plan
- Priority:
- Assigned to:
- Status: is fixed in 1.5 repo and will be in 1.5.5