[brailleblaster] Re: The directories are still not being created on Windows.

  • From: "Michael Whapples" <mwhapples@xxxxxxx>
  • To: <brailleblaster@xxxxxxxxxxxxx>
  • Date: Tue, 13 Mar 2012 12:55:09 -0000

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 Beckley
Sent: Tuesday, March 13, 2012 12:37 PM
To: brailleblaster@xxxxxxxxxxxxx
Subject: [brailleblaster] Re: The directories are still not being created on Windows.

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




Other related posts: