Aha! Moses churns out tons to stderr. I bet that's it. Thanks, I'll try it in the morning and report back.
Best Ivan Sent from iPhone. On 4 May 2010, at 22:30, Philip Williams <[email protected]> wrote: > On Tuesday, May 04, 2010, at 09:44PM, "Ivan Uemlianin" > <[email protected] > > wrote: >> >> @Phil: you wrote >> >>>> Possibly moses' output >>>> isn't getting flushed after every line. >> >> Can I make it do that explicitly? Flushing the stdout doesn't work. >> More command-line settings for moses? > > Hmmm, from what Raphael says it doesn't sounds like that's the > problem, > but here's another idea: have you tried setting Popen's stderr > parameter to > None? The subprocess documentation contains the following warning: > > Use communicate() rather than stdin.write(), stdout.read() or > stderr.read() to avoid deadlocks due to any of the other OS pipe > buffers filling up and blocking the child process. > > You're never reading from the stderr file object, so maybe that > buffer's filling up... > > Phil _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
