I notice that where the log file is created if you have trouble you catch the exception and put out a message saying it cannot be created. This is hiding stuff. In that catch block could you include a line:
e.printStackTrace();This will allow the stack trace to be printed to the screen and so a bit more information known. With that modification try running BrailleBlaster again and report the stack trace.
Michael Wahpples-----Original Message----- From: John J. Boyer
Sent: Tuesday, March 13, 2012 1:25 PM To: brailleblaster@xxxxxxxxxxxxxSubject: [brailleblaster] Re: The directories are still not being created on Windows.
My Windows is the same and has the latest updates. An update has caused problems before. John On Tue, Mar 13, 2012 at 09:15:42AM -0400, Vic Beckley wrote:
Michael, I am running Windows 7 SP1 x64. 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 Michael Whapples Sent: Tuesday, March 13, 2012 8:55 AM To: brailleblaster@xxxxxxxxxxxxxSubject: [brailleblaster] Re: The directories are still not being created onWindows. Vic what version of Windows are you using getting the correct results for directory creation? I just want to know incase John is having trouble because of some odd windows7 issue. Michael Whapples-----Original Message----- From: Vic BeckleySent: Tuesday, March 13, 2012 12:37 PM To: brailleblaster@xxxxxxxxxxxxxSubject: [brailleblaster] Re: The directories are still not being created onWindows. 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. Itranslated the file using alt-T, T and BB disappeared as previously. Itlooks like this bug has crept back in. Here is the error that was present inthe command prompt window:C:\Users\Vic\Downloads\BrailleBlaster>java -jar brailleblaster.jar serv.xml Exception in thread "main" java.lang.StringIndexOutOfBoundsException: Stringindex 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 havebeen. I typed in some text and translated it. This worked and all the fileswere created in the brlblst\temp folder. Conclusions:The file creation is working as expected here. Can you tell me how to breakit? 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