Another command server issue

Detlev Offenbach detlev at die-offenbachs.de
Fri Apr 18 13:26:21 UTC 2014


Hello,

this hint lead me onto the right track. I am using Qt QProcess and further analysis lead to the 
conclusion, that the issue was not related to platform but to platform speed. The issue was a 
timing issue were the receiver side read the data before all the data was available. That is fixed 
now.

Sorry for the noise on the list.

Detlev

On Friday 18 April 2014, 09:31:45 Kastner Masilko, Friedrich wrote:
> > From: mercurial-bounces at selenic.com [mailto:mercurial-bounces at selenic.com]
> > On Behalf Of Detlev Offenbach 
> > I think the output is send via a pipe. Could it be that Windows is
> > limiting the pipe size? As written it works happily on Linux using
> > identical code on the receiver's side. That's why I think, that the
> > receiver is not to blame. Any hint about what to look for would be
> > appreciated as well.
> 
> Do you perhaps use Python's os.popen to run the command-server process? If
> so, convert your code to use subprocess.Popen instead. I've had many
> problems with os.popen on Windows especially with piping of bigger content,
> all of which disappeared after using subprocess.
> 
> Regards,
> Fritz
> 
> 
> 
> Development Software Systems
> Festo Gesellschaft m.b.H.
> Linzer Strasse 227
> Austria - 1140 Wien
> 
> Firmenbuch Wien
> FN 38435y
> UID: ATU14650108
> 
> Tel: +43(1)91075-198
> Fax:
> www.festo.at
> 
> Der Inhalt dieser E-Mail und moeglicher Anhaenge sind ausschliesslich fuer
> den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme,
> Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieser
> E-Mail und moeglicher Anhaenge durch unberechtigte Dritte ist unzulaessig.
> Wir bitten Sie, sich mit dem Absender der E-Mail in Verbindung zu setzen,
> falls Sie nicht der Adressat dieser E-Mail sind sowie das Material von
> Ihrem Computer zu loeschen.
> 
> This e-mail and any attachments are confidential and intended solely for the
> addressee. The perusal, publication, copying or dissemination of the
> contents of this e-mail by unauthorised third parties is prohibited. If you
> are not the intended recipient of this e-mail, please delete it and
> immediately notify the sender.-- 
*Detlev Offenbach*
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20140418/cec847b0/attachment-0002.html>


More information about the Mercurial mailing list