Re: Getting xml-rpc and w.bloggar to work

Wari Wahab <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <1060768806.24827.12.camel@minisync>
On Wed, 2003-08-13 at 05:05, Abe Fettig wrote:
> Are you using python -u (for unbuffered output) in your CGIs?  If not,
> you might want to try that.

My virtual hugs to you dear sir! Changing the Shebang line to:

#!C:\python22\python.exe -u

Solves the problem! No need to change anything in pyblosxom libraries
(except for the windows path hack thingy which I committed in the CVS)

If I removed the Content-Length from the reply, w.bloggar works fine
too, but I don't want to remove that header as it's part of the XMLRPC
spec. Somehow, w.bloggar and telnet.exe blows when I added that. And the
python -u solves everything.

So there's your answer, unbuffered output. I think this only applies to
windows, as I have never encountered such anomalies in unix.


-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.