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

will <[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
If that's the problem, doing a sys.stdout.flush() should fix the issue as
well.


On Wed, 13 Aug 2003, Wari Wahab wrote:
>
> 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
> _______________________________________________
> pyblosxom-users mailing list
> pyblosxom-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/pyblosxom-users
>

-- 
whatever it is, you can find it at http://www.bluesock.org/~willg/
except Will--you can only see him in real life.


-------------------------------------------------------
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.