Joannie, If someone fixes the bindings for liblouisxml the fix can be part of a new release with a new version number. Also, if someone comes forward and makes Python bindings for liblouisutdml they will be included in the next release. I have enough on my plate with C and Java. John On Tue, Nov 01, 2011 at 04:49:14AM -0400, Joanmarie Diggs wrote: > Hi John. > > Thank you for your reply. Just how deprecated is deprecated? <smiles> In > other words, if someone provides a fix for this bug will that fix find > its way into a new release of liblouisxml as part of the stable > maintenance state this module is now in? > > Related to your suggestion about new bindings for liblouisutdml, any > plans for doing so through gobject-introspection? > > Take care. > --joanie > > On Sun, 2011-10-30 at 18:26 -0500, John J. Boyer wrote: > > I think this is a problem with the Python bindings. I'm not a Python > > progrrammer, but they looked dubious to me. Please give the people who > > use Python a chance to respond. It would probably be best to create > > wholly new bindings for liblouisutdml. liblouisxml is deprecated. > > Developmennt is now on liblouisutdml. There are already Java bindings. > > > > John > > > > On Sun, Oct 30, 2011 at 06:20:32PM -0400, Joanmarie Diggs wrote: > > > Hi again. > > > > > > With respect to this issue I reported below, I created a simple test > > > script which demonstrates the problem. It can be found in a new issue > > > I filed for this problem: > > > http://code.google.com/p/liblouisxml/issues/detail?id=5 > > > > > > Thanks again. Take care. > > > --joanie > > > > > > On Sun, Oct 30, 2011 at 12:11, Joanmarie Diggs > > > <joanmarie.diggs@xxxxxxxxx> wrote: > > > > Hi all. > > > > > > > > If I use translateString() from liblouisxml's python bindings to > > > > translate the contents of a very short file, and I also have > > > > braillePages set to 'yes', the amount of time it takes for that file > > > > to be translated is quite large. And CPU shoots up to nearly 100% for > > > > the duration of the translation. Setting braillePages to 'no' makes > > > > the issue go away, and I've not seen this issue occur with files with > > > > a more "normal" amount of text. > > > > > > > > As for what is the definition of "very short file" and "long time", a > > > > quick bit of data: > > > > > > > > character count of original: 93 > > > > translation time: 0.003 seconds > > > > > > > > character count of original: 75 > > > > translation time: 98.253 seconds > > > > > > > > The second test case was a copy of the first test case with some words > > > > removed. Both test cases were simple documents written in Gedit. And > > > > both test cases were translated using the same configuration. > > > > > > > > While not technically an endless loop (after all, the process > > > > eventually does return), this issue sounds similar to "Fixed endless > > > > loop when braillePages=yes" listed in the release notes for 2.4.0. So > > > > at least in theory have that fix. > > > > > > > > Any ideas as to what's going on? > > > > > > > > Lastly, I am aware that all the cool kids are now using liblouisutdml. > > > > And one day I hope to be a cool kid. <smiles> At the moment, however, > > > > I have some existing software which depends upon liblouisxml and is > > > > suffering from this bug. Thus any help you could provide would be most > > > > appreciated. > > > > > > > > Thanks in advance! > > > > --joanie > > > > > > > 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