[brailleblaster] Re: Error

  • From: Brandon Roller <brandon.r.roller@xxxxxxxxx>
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Mon, 25 Feb 2013 12:44:39 -0500

If I step through the debugger in Eclipse and keep the temp folder open,
I see that the log file appears after the following line of code occurs
liblouisutdml.initialize(programDataPath, tempFilesPath,
"liblouisutdml.log");


On Mon, Feb 25, 2013 at 12:29 PM, John J. Boyer <
john.boyer@xxxxxxxxxxxxxxxxx> wrote:

> The liblouisutdml log is supposed to be cleared each time liblouisutdml
> is called. Each call is supposed to be followed by a call to
> CheckLiblouisutdmlLog().displayLog the call to translateFile in
> suetuFromFile does specify the logFilesPath . I am trying to figure out
> how the log gets in the temp folder. I suspect that it's another case of
> a "correction" causing a bug.
>
> Temp files should go in the telp directory for the os. It just hasn't
> been done yet. However, during development it may be good to leave them
> in the brlblst temp directory.
>
> John
>
> On Mon, Feb 25, 2013 at 05:00:53PM +0000, Keith Creasy wrote:
> > Would it not makes sense to put it in the temp folder so users can
> easily clean them up? Log files aren't really something we want regular
> users to have to deal with anyway except as a last resort. Maybe instead of
> being with each document we could use .../temp/log/
> >
> > Now that I think about it, aren't we already defeating the normal use of
> temp files by putting temp in the brlblast application data directory?
> Temporary files should probably go in, using Windows notation,
> %temp%\brlblast\.
> >
> >
> >
> >
> >
> >
> >
> > Keith Creasy
> > Software Developer
> > American Printing House for the Blind
> > KCreasy@xxxxxxx
> > Phone: 502.895.2405
> > Skype: keith537
> >
> >
> > -----Original Message-----
> > From: brailleblaster-bounce@xxxxxxxxxxxxx [mailto:
> brailleblaster-bounce@xxxxxxxxxxxxx] On Behalf Of John J. Boyer
> > Sent: Monday, February 25, 2013 11:33 AM
> > To: brailleblaster@xxxxxxxxxxxxx
> > Subject: [brailleblaster] Re: Error
> >
> > I'll check this out. The log file is supposed to be in the log folder.
> >
> > John
> >
> > On Mon, Feb 25, 2013 at 10:23:48AM -0500, Brandon Roller wrote:
> > > Yes that was what I was pointing out
> > >
> > >
> > > On Mon, Feb 25, 2013 at 10:20 AM, Vic Beckley <vic.beckley3@xxxxxxxxx
> >wrote:
> > >
> > > > Brandon,****
> > > >
> > > > ** **
> > > >
> > > > Here is where I found the log file that contained the error
> > > > message:****
> > > >
> > > > ** **
> > > >
> > > > C:\Users\Vic\AppData\Roaming\brlblst\temp\18in05q\liblouisutdml.log*
> > > > ***
> > > >
> > > > ** **
> > > >
> > > > The actual folder differs every time, of course. It isn’t in the log
> > > > folder but in the temp folder. Is that what you were saying?****
> > > >
> > > > ** **
> > > >
> > > > ** **
> > > >
> > > > *From:* brailleblaster-bounce@xxxxxxxxxxxxx [mailto:
> > > > brailleblaster-bounce@xxxxxxxxxxxxx] *On Behalf Of *Brandon Roller
> > > > *Sent:* Monday, February 25, 2013 10:12 AM
> > > > *To:* brailleblaster@xxxxxxxxxxxxx
> > > > *Subject:* [brailleblaster] Re: Error****
> > > >
> > > > ** **
> > > >
> > > > The log file is being written to the folder created within the temp
> > > > folder when BB runs.****
> > > >
> > > > CheckLibLouisLog class attempts to read from a log file in the log
> folder.
> > > > ****
> > > >
> > > > That may be why the log messages are not appearing onscreen.****
> > > >
> > > > ** **
> > > >
> > > > On Mon, Feb 25, 2013 at 10:01 AM, Vic Beckley
> > > > <vic.beckley3@xxxxxxxxx>
> > > > wrote:****
> > > >
> > > > John,
> > > >
> > > > Now I do see the error message written to the log file. It still
> > > > doesn't appear anywhere else. Here is what is in the log file:
> > > >
> > > > Encoding, preferably UTF-8,  must be specified
> > > >
> > > >
> > > > Best Regards from Ohio, U.S.A.
> > > >
> > > > Vic Beckley
> > > > E-mail: vic.beckley3@xxxxxxxxx
> > > > Skype: vbeckley
> > > > WLM: vbeckley@xxxxxxxx
> > > >
> > > >
> > > > ****
> > > >
> > > > ** **
> > > >
> >
> > --
> > 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
>
>
>

Other related posts: