That is how I startBrailleBlaster if I want to see the exception trace. I'm trying to find a way to have the GUI show a dialog box if something bad happens. John On Tue, Mar 13, 2012 at 09:28:18AM -0400, Vic Beckley wrote: > John, > > I am starting BB with the java -jar brailleblaster.jar command. Is that how > you start it? > > I will try it on my laptop and see if it is working there. It is running > Windows 7 x64, though, too. That's what you are running, right? > > > Best regards from Ohio, U.S.A., > > Vic > E-mail: vic.beckley3@xxxxxxxxx > > > -----Original Message----- > From: brailleblaster-bounce@xxxxxxxxxxxxx > [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer > Sent: Tuesday, March 13, 2012 9:22 AM > To: brailleblaster@xxxxxxxxxxxxx > Subject: [brailleblaster] Re: The directories are still not being created on > Windows. > > The bug will be corrected in the next push. > > My Windows drive is indeed C. However, I've encountered another case of > Java not likeing C: We need to find out why the folders are created on > your system and not on mine. > > John > > On Tue, Mar 13, 2012 at 09:14:34AM -0400, Vic Beckley wrote: > > See my comments below. > > > > > > -----Original Message----- > > From: brailleblaster-bounce@xxxxxxxxxxxxx > > [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer > > Sent: Tuesday, March 13, 2012 8:55 AM > > To: brailleblaster@xxxxxxxxxxxxx > > Subject: [brailleblaster] Re: The directories are still not being created > on > > Windows. > > > > Hi Vic, > > > > I think you have encountered a different bug. The method that opens > > files on the command line needs modification. > > > > VB: Yep, you are right. I can still translate the file when I open from > > within BB. It is only when I open it from the command line that it won't > > work. > > > > I thought you had created the folders manually. I'll also bet that the > > reason they aren't created on my machine is that Java doesn't like the > > C: at the beginning of the path. > > > > VB: I deleted them manually before each test just to see if they would be > > created by BB. My installation is on C: so I don't know what would happen > if > > it wasn't. What is your Windows drive letter? It really shouldn't matter > > since the drive letter is part of the %AppData% environment variable. You > > are using that, right? > > > > > > John > > > > On Tue, Mar 13, 2012 at 08:37:25AM -0400, Vic Beckley wrote: > > > John, > > > > > > First, I translated a document with the translate subcommand. The > brlblst > > > folder wasn't present. All the folders were created properly. > > > > > > Next, I started BB with a filename on the command line. The folders > > weren't > > > present. BB opened the document fine. The folders were created > correctly. > > I > > > translated the file using alt-T, T and BB disappeared as previously. It > > > looks like this bug has crept back in. Here is the error that was > present > > in > > > the command prompt window: > > > > > > C:\Users\Vic\Downloads\BrailleBlaster>java -jar brailleblaster.jar > > serv.xml > > > Exception in thread "main" java.lang.StringIndexOutOfBoundsException: > > String > > > index out of range: -1 > > > at java.lang.String.substring(Unknown Source) > > > at org.brailleblaster.wordprocessor.NewDocument.fillOutBody(Unknown > > Source) > > > at > org.brailleblaster.wordprocessor.DocumentManager.createDocument(Unknown > > > Source) > > > at org.brailleblaster.wordprocessor.DocumentManager.translate(Unknown > > > Source) > > > at org.brailleblaster.wordprocessor.BBMenu$48.widgetSelected(Unknown > > Source) > > > at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source) > > > at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) > > > at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) > > > at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) > > > at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) > > > at org.brailleblaster.wordprocessor.DocumentManager.<init>(Unknown > Source) > > > at org.brailleblaster.wordprocessor.WPManager.<init>(Unknown Source) > > > at org.brailleblaster.Subcommands.<init>(Unknown Source) > > > at org.brailleblaster.Main.main(Unknown Source) > > > C:\Users\Vic\Downloads\BrailleBlaster> > > > > > > Lastly, I started BB without any options on the command line. The > folders > > > weren't present. The folder structure was created just as it should have > > > been. I typed in some text and translated it. This worked and all the > > files > > > were created in the brlblst\temp folder. > > > > > > Conclusions: > > > The file creation is working as expected here. Can you tell me how to > > break > > > it? > > > The bug of not being able to translate an opened file has reappeared. > > > > > > > > > Best regards from Ohio, U.S.A., > > > > > > Vic > > > E-mail: vic.beckley3@xxxxxxxxx > > > > > > > > > -----Original Message----- > > > From: brailleblaster-bounce@xxxxxxxxxxxxx > > > [mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer > > > Sent: Tuesday, March 13, 2012 8:10 AM > > > To: brailleblaster@xxxxxxxxxxxxx > > > Subject: [brailleblaster] The directories are still not being created on > > > Windows. > > > > > > subdirs() works on Linux but not on Windows. If you start BrailleBlaster > > > > from the command line you can see the message about not opening the log > > > file, but the path looks correct. The brlblst directory is not in > > > appData\roaming > > > > > > John > > > > > > -- > > > 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 > > > > > > -- > 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