[brailleblaster] Re: Found another one... and problem with using appdata on Windows

  • From: "Michael Whapples" <mwhapples@xxxxxxx>
  • To: <brailleblaster@xxxxxxxxxxxxx>
  • Date: Mon, 12 Mar 2012 19:46:15 -0000

I noticed the push, why aren't you using the static separator field from the java.io.File class?


Michael Whapples

-----Original Message----- From: John J. Boyer
Sent: Monday, March 12, 2012 7:27 PM
To: brailleblaster@xxxxxxxxxxxxx
Subject: [brailleblaster] Re: Found another one... and problem with using appdata on Windows

Keith,

Thanks for your patience and testing. I fixed the error and then tried
running BrailleBlaster. It looks like there is a permissions problem
with using the Windows appdata\roaming folder. When I run BrailleBlaster
from the command line it appears to work, but the translate item will
not work, because it can't write a temporary file. After BrailleBlaster
terminates there is an exception trace saying that the log file could
not be opened because a lock could not be obtained.

How do other applications get around this?

John

On Mon, Mar 12, 2012 at 02:47:17PM -0400, Keith Creasy wrote:
In the file DBIni.java on line 95 you need a backslash:

BBHome = System.getenv ("APPDATA") + "\" + BBID;

Also looks like the sub-dirs don't get created but it worked after I created them by hand and then ran it.

Keith


--
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: