[liblouis-liblouisxml] Re: How to diagnose file2brl failure

  • From: "John Brugge" <johnbrugge@xxxxxxxxxxxx>
  • To: "liblouis-liblouisxml@xxxxxxxxxxxxx" <liblouis-liblouisxml@xxxxxxxxxxxxx>
  • Date: Fri, 23 Aug 2013 13:58:07 +0000

Thanks for the quick diagnosis, John. I think we'll wait for the release
at this point. We're still a few weeks out from releasing, and have other
tests to run so we'll just work around it.

Thanks,
John Brugge

On 8/22/13 10:28 PM, "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx> wrote:

>The problem occurred because the code assumed that newpage was being
>called from a leaf node. It now checks to see if the node has children,
>and if it does continues in the same iteration of transcribe_paragraph .
>
>It would be best to make a fresh clone of the liblouisutdml repository.
>You will then have to run autogen.sh before doing configure, make, make
>install.
>
>We should probably make a new release soon, but I'm still hoping to
>squash some stinkbugs.
>
>John
>
>On Thu, Aug 22, 2013 at 07:53:52PM -0500, John J. Boyer wrote:
>> Thanks. I'll step through do_newpage in transcriber.c with gdb .
>> 
>> John
>> 
>> On Thu, Aug 22, 2013 at 09:05:12PM +0000, John  Brugge wrote:
>> > By doing a binary reduction on the config files, it appears that
>>there is
>> > one line in our semantic action file that is tripping things up:
>> > 
>> > newpage level1
>> > 
>> > If I remove that one line from bookshare-dtbook-refreshable.sem, then
>>I
>> > get a full conversion of the source.
>> > 
>> > John
>> > 
>> > On 8/22/13 3:03 PM, "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
>>wrote:
>> > 
>> > >John,
>> > >
>> > >I've been looking at the code with gdb. The problem seems to be in
>> > >transcribe_paragraph , but don't thak that soo seriouly.
>> > >
>> > >I notice that bookshare-refreshable.cfg contains a reference to edit
>> > >table.ctb . That file no longer exists.
>> > >
>> > >I hope we can find this bug soon. The fix is probably simple. The
>>hard
>> > >part is finding it.
>> > >
>> > >John
>> > >
>> > >On Thu, Aug 22, 2013 at 07:17:35PM +0000, John  Brugge wrote:
>> > >> John,
>> > >> 
>> > >> Yes, I get the entire document when I give it no config file on the
>> > >> command line.
>> > >> 
>> > >> There were initially a couple of warning lines about a setting for
>> > >> 'interline' and the style 'trnote' not being recognized (these are
>>the
>> > >> configuration files we have been using with liblouisxml), so I
>>removed
>> > >> them to at least avoid the warning.
>> > >> 
>> > >> I will try some experiments with reducing the config file to try to
>> > >> isolate what may be tripping things up. Any other clues you have
>>are
>> > >> appreciated.
>> > >> 
>> > >> Thanks,
>> > >> John
>> > >> 
>> > >> On 8/22/13 10:32 AM, "John J. Boyer" <john.boyer@xxxxxxxxxxxxxxxxx>
>> > >>wrote:
>> > >> 
>> > >> >When I run the xml file with the command
>> > >> >
>> > >> >file2brl Little_Brother-prepared.xml test.brl
>> > >> >
>> > >> >I get the entire document. I assume you have trried this. When I
>>use
>> > >>the
>> > >> >bokshare-refreshable.cfg configuration fille I get only four
>>lines. I
>> > >>am
>> > >> >not sure what the problem is now, so I'll get back to you.
>> > >> >
>> > >> >John
>> > >> >
>> > >> >
>> > >> >On Thu, Aug 22, 2013 at 02:25:00PM +0000, John  Brugge wrote:
>> > >> >> We are working on getting liblouisutdml 2.4.0 installed on our
>>Linux
>> > >> >>servers, and finding that we're getting just some minimal,
>>truncated
>> > >> >>output from DAISY input. I cannot reproduce the behavior on my
>>OS X
>> > >> >>installation, so am looking for what options we have for
>>diagnosing
>> > >>what
>> > >> >>is going on. There is no error output to stdout or stderr, and
>>the
>> > >>exit
>> > >> >>code of file2brl is zero.
>> > >> >> 
>> > >> >> I've attached a zip of the files I've used to run this on the
>>command
>> > >> >>line, as well as the output we get. I have tried it with a
>>handful of
>> > >> >>other DAISY input files and gotten similar results.
>> > >> >> 
>> > >> >> This is running on Ubuntu 12.0.4.1 LTS, liblouisutdml 2.4.0,
>>liblouis
>> > >> >>2.5.3.
>> > >> >> 
>> > >> >> Thanks for any pointers,
>> > >> >> John Brugge
>> > >> >> Bookshare.org
>> > >> >> 
>> > >> >
>> > >> >
>> > >> >
>> > >> >-- 
>> > >> >John J. Boyer; President, Chief Software Developer
>> > >> >Abilitiessoft, Inc.
>> > >> >http://www.abilitiessoft.com
>> > >> >Madison, Wisconsin USA
>> > >> >Developing software for people with disabilities
>> > >> >
>> > >> >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
>> > >
>> > >-- 
>> > >John J. Boyer; President, Chief Software Developer
>> > >Abilitiessoft, Inc.
>> > >http://www.abilitiessoft.com
>> > >Madison, Wisconsin USA
>> > >Developing software for people with disabilities
>> > >
>> > >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
>> 
>> -- 
>> John J. Boyer; President, Chief Software Developer
>> Abilitiessoft, Inc.
>> http://www.abilitiessoft.com
>> Madison, Wisconsin USA
>> Developing software for people with disabilities
>> 
>> For a description of the software, to download it and links to
>> project pages go to http://www.abilitiessoft.com
>
>-- 
>John J. Boyer; President, Chief Software Developer
>Abilitiessoft, Inc.
>http://www.abilitiessoft.com
>Madison, Wisconsin USA
>Developing software for people with disabilities
>
>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: