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

  • From: "Vic Beckley" <vic.beckley3@xxxxxxxxx>
  • To: <brailleblaster@xxxxxxxxxxxxx>
  • Date: Mon, 12 Mar 2012 16:44:45 -0400

Keith,

Exactly what folder structure is required? Does the temp folder go inside
the brlblst folder? I wasn't going to try this until it was straightened
out, but I can't resist!



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 Keith Creasy
Sent: Monday, March 12, 2012 3:30 PM
To: brailleblaster@xxxxxxxxxxxxx
Subject: [brailleblaster] Re: Found another one... and problem with using
appdata on Windows

You might try using %LOCALAPPDATA% but it is working for me.

I had to create the sub-dirs "brlblst" and "temp" by hand though.

I'm pretty impressed actually. Now Trying to get my head around creating a
TOC.

Keith


-----Original Message-----
From: brailleblaster-bounce@xxxxxxxxxxxxx
[mailto:brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer
Sent: Monday, March 12, 2012 3: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: