[liblouis-liblouisxml] Re: liblouisutdml release for liblouis 3.0.0 compatibility

  • From: Christian Egli <christian.egli@xxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Tue, 14 Mar 2017 14:36:04 +0100

Hi all

On 03/09/2017 01:49 PM, Hammer Attila wrote:

I using the LiblouisUTDML trunk version my system, and using with
Liblouis 3.0 release (not yet doed the upgrade with Liblouis 3.1 release).
I see some interesting issues:
1. The --log-file parameter producing a segmentation fault with my
Ubuntu 16.04 system.
Reproducation steps:
Simple type file2brl -l, or file2brl --log-file command.

Yes, known bug (https://github.com/liblouis/liblouisutdml/issues/19). Strictly speaking this bug was in there before.

As I do not have liblouisutdml in production I cannot really justify working on it too much, so I cannot spend too much time fixing this. If anyone could provide a PR I'd be happy to integrate it.

2. The -r option me not doing the destination braille document.
Testcase:
A. Type file2brl -f preferences.cfg a.txt a.brf command.
This step happening the expected result when you using the "formatFor
textDevice" output format, the a.brf file containing braille content.
B. Now we trying reformat the brf document:
file2brl -r -f preferences.cfg a.brf b.brf
This situation my hard disk file2brl creating the b.brf file, but the
size of this file is 0 byte.
Following temp files created with file2brl:
-  file2brl.temp: I think this document containing a braille document,
with I think equals the original document, but I am not full sure this.
- file2brl2.temp: this file is an empty file.
- lbx_body.temp: this is the back translated html document from a.brf file.
I attaching a preferences.cfg file, the original testing document and
the created .brf braille document.

3. I tryed following formatFor preferences, I founded this other formats
with readconfig.c file (the documentation not containing this output
formats):
formatFor volumes
formatFor brf
formatFor volumesBRF
This formats me file2brl creating empty braille destination file, after
ueb conversion.
This formats not yet full implemented?
testcase after you changing the formatFor preference:
file2brl -f preferences.cfg a.txt a.brf

Again, I don't have time to fix those. Can you add them to the issues so that maybe someone down the line can look at them.

Thanks
Christian

--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland

For a description of the software, to download it and links to
project pages go to http://liblouis.org

Other related posts: