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

  • From: "John J. Boyer" <john@xxxxxxxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Mon, 12 Mar 2012 16:40:38 -0500

At the time the paths are being created there is no file class. The 
class is used to create the directories afterwards.

John

On Mon, Mar 12, 2012 at 07:46:15PM -0000, Michael Whapples wrote:
> 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
> 
> 

-- 
John J. Boyer, Executive Director
GodTouches Digital Ministry, Inc.
http://www.godtouches.org
Madison, Wisconsin, USA
Peace, Love, Service


Other related posts: