[liblouis-liblouisxml] Re: lou_translate

  • From: Mesar Hameed <mesar.hameed@xxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 24 Jun 2014 12:34:47 +0100

Hi Ken,

out.txt should only contain the translated text, you are seeing the 
informational/debugging messages 
because they are being printed out to stderr.

Maybe Bert/Michael can have a look at adding in the default logging to
the appropriate locations as discussed in a previous thread.

thanks,
Mesar
On Tue 24/06/14,11:24, Ken Perry wrote:
> I just checked out the library and built it fresh to make sure that I had the 
> latest.  When I do
> 
> Cat words |lou_translate en-us-g2.ctb >out.xt
> 
> The messages show up.  I actually added the path to my tools incase it didn't 
> install so I know I am using the ones in the fresh checkout and build. 
> 
> Ken  
> 
> -----Original Message-----
> From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
> [mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Bert Frees
> Sent: Tuesday, June 24, 2014 6:46 AM
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] Re: lou_translate
> 
> Hi Ken,
> 
> I'm not seeing these debug messages. Are you using the latest version
> from master? I remember Michael added some debug messages for which I
> then set the level to DEBUG, so they shouldn't show up by default
> anymore.
> 
> Bert
> 
> 
> Ken Perry writes:
> 
> > I was trying to do some testing and the lou_translate command spams with 
> > output and it did not use to do this.  It shows the in buff, out buff, and 
> > it shows a message saying translating.  You used to be able to turn these 
> > messages on in lou_allround but not in lou_translate.  This makes it hard 
> > to test on large files if it spams you with all kinds of output.  It used 
> > to translate a file silently and quickly.  Is there a reason this has been 
> > changed?
> >
> >
> > ken
> 
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com
> For a description of the software, to download it and links to
> project pages go to http://www.abilitiessoft.com

Attachment: signature.asc
Description: Digital signature

Other related posts: