[liblouis-liblouisxml] Re: lou_translate

  • From: Ken Perry <kperry@xxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Tue, 24 Jun 2014 14:24:52 +0000

Burt are you getting your tools from the git repo? If you are you won't see the 
problem.  I guess the git repo c code is not up to date. Can someone fix that?

ken

-----Original Message-----
From: liblouis-liblouisxml-bounce@xxxxxxxxxxxxx 
[mailto:liblouis-liblouisxml-bounce@xxxxxxxxxxxxx] On Behalf Of Bert Frees
Sent: Tuesday, June 24, 2014 7:59 AM
To: liblouis-liblouisxml@xxxxxxxxxxxxx
Subject: [liblouis-liblouisxml] Re: lou_translate

I'd like to help but as I said I can't reproduce Ken's issue.

As far as I can see from the code, the default log level is LOG_INFO,
and the messages Ken is talking about are LOG_DEBUG messages. That's
also confirmed by running lou_translate: I'm not seeing the messages.

Michael, do you have an idea what's going on?

Bert


Mesar Hameed writes:

> 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

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

Other related posts: