I passed a file name containing a space to file2brl. It worked fine. the program calls lbu_translateFile with that file name. I can't send the file because it is copyrighted, but all you have to do is copy a file that you know works into a new file whose name contains a space. John On Fri, Jul 18, 2014 at 03:34:30PM -0400, Brandon Roller wrote: > TranslateFile is returning false and when you check the liblouisutdml logs > it is not including the entire semantic file. It makes it through the > entire document and fails after the last text node. > > > On Fri, Jul 18, 2014 at 3:27 PM, John J. Boyer <john.boyer@xxxxxxxxxxxxxxxxx > > wrote: > > > I think there is some sort of interaction with BrailleBlaster, maybe > > with the normalization algorithm. To really find out if it is a > > liblouisutdml problem it would be necessary to test the translateFile > > method directly, or better, to test the lbu_translateFile function. > > > > John > > > > On Fri, Jul 18, 2014 at 01:51:19PM -0400, Brandon Roller wrote: > > > It seems to handle the file name, but when you change an something to a > > > different style to a new file, a new semantic action file is created with > > > the same name as the file. It doesn't seem to handle to the spaces in > > the > > > semantic action file name. > > > > > > > > > On Fri, Jul 18, 2014 at 1:08 PM, Vic Beckley <vic.beckley3@xxxxxxxxx> > > wrote: > > > > > > > Brandon, > > > > > > > > > > > > > > > > Yes, that was it. I took the spaces out of the filename and it worked. > > Why > > > > would it work before I changed the styles and not after if it was the > > > > spaces. They were always there. > > > > > > > > > > > > > > > > > > > > > > > > Best regards from Ohio, > > > > > > > > > > > > > > > > Vic > > > > > > > > > > > > > > > > *From:* brailleblaster-bounce@xxxxxxxxxxxxx [mailto: > > > > brailleblaster-bounce@xxxxxxxxxxxxx] *On Behalf Of *Brandon Roller > > > > *Sent:* Friday, July 18, 2014 10:30 AM > > > > *To:* brailleblaster@xxxxxxxxxxxxx > > > > *Subject:* [brailleblaster] Re: BrailleBlaster error > > > > > > > > > > > > > > > > Does it have to do with the spaces in the file name? I don't think > > > > liblouisutdml handles spaces in a file name well. > > > > > > > > > > > > > > > > On Wed, Jul 16, 2014 at 10:22 AM, Vic Beckley <vic.beckley3@xxxxxxxxx> > > > > wrote: > > > > > > > > I am getting an error when I try to apply a new style in an XML > > document. > > > > Follow the below steps to reproduce it. I don’t think the document > > matters > > > > but I have attached one that causes the error. > > > > > > > > > > > > > > > > Open the attached file. > > > > > > > > > > > > > > > > Make sure the cursor is in the first paragraph, the From: line. > > > > > > > > > > > > > > > > Press Control-L to bring up the style panel. > > > > > > > > > > > > > > > > Press L to move to the line style and press enter to apply it. > > > > > > > > > > > > > > > > Press Alt-Home to bring up the Braille preview. > > > > > > > > > > > > > > > > You will see this error: > > > > > > > > > > > > > > > > --------------------------- > > > > > > > > > > > > > > > > --------------------------- > > > > > > > > An error has occurred. Please check your original document > > > > > > > > --------------------------- > > > > > > > > OK > > > > > > > > --------------------------- > > > > > > > > > > > > > > > > If you press Alt-Home before changing the style, then the Braille > > preview > > > > comes up just fine. > > > > > > > > > > > > > > > > I am using the default nimas.cfg file. There is no nimas.cfg in my > > > > personal data folder. > > > > > > > > > > > > > > > > > > > > > > > > Best regards from Ohio, > > > > > > > > > > > > > > > > Vic > > > > > > > > > > > > > > > > > > > > > > > > -- > > John J. Boyer; President, Chief Software Developer > > Abilitiessoft, Inc. > > http://www.abilitiessoft.com > > Madison, Wisconsin USA > > Developing software for people with disabilities > > > > > > -- John J. Boyer; President, Chief Software Developer Abilitiessoft, Inc. http://www.abilitiessoft.com Madison, Wisconsin USA Developing software for people with disabilities