Guys

Found the problem.  Think it's a bug in Lyx.  The only way I can get it to view
the latex log file is by starting lyx in the directory in which my file
resides.  Generally I launch lyx from the desktop icon which starts Lyx in my
home dir and therefore it can't see the log file.  Maybe the solution is to use
full paths or check where the log file is being written to.

Below is the output from "strace lyxgdb >trace.out 2>&1"

stat("lyx_tmp9978aaa", 0xbffff234)      = -1 ENOENT (No such file or directory)
access("lyx_tmp9978aaa", F_OK)          = -1 ENOENT (No such file or directory)
stat("./", {st_mode=0, st_size=0, ...}) = 0
access("./", W_OK)                      = 0
stat("./elba-sim-letter.log", 0xbffff360) = -1 ENOENT (No such file or directory)
stat("./elba-sim-letter.none.out", 0xbffff360) = -1 ENOENT (No such file or directory)
access("./elba-sim-letter.none.out", F_OK) = -1 ENOENT (No such file or directory)
connect(137077112, ptrace: umoven: Input/output error
{...}, 1076546752)   = 13
chdir("./")                             = 0
open("elba-sim-letter.log", O_RDONLY)   = -1 ENOENT (No such file or directory)

Regards
Ben

> On Tue, 11 Apr 2000, Ben Cazzolato wrote:
> 
> > Kayvan et al
> > 
> > > Hmmm... Are you able to package this up as a small example for me to
> > > reproduce?
> > > 
> > > Is it repeatable?
> > > 
> > > I've never seen anything like you describe. :-(
> > 
> > No real point trying to package up an example as it is the same with every
> > file.  I'm running lyxgdb.  Is there some way I can look at what the code is
> > doing?
> > 
> > Ben
> > 
> 
> yes, use "strace" :
> 
> strace lyxgdb >trace.out 2>&1
> 
> this will produce a lot of output but at least you can see if lyx tries to
> open the file or whatever
> 
> also you might find the -dbg option to lyx useful
> 
> john
> 
> -- 
> "What passes for woman's intuition is often nothing more than man's
> transparency."
>       - George Nathan
-- 
_________________________________________

Ben Cazzolato

Fluid Dynamics and Acoustics Group
Institute of Sound and Vibration Research
University of Southampton,
Southampton, SO17 1BJ
UK

Email:  [EMAIL PROTECTED], or
        [EMAIL PROTECTED], or
        [EMAIL PROTECTED], or

Work:   +44 (0)1703 594 967
Fax:    +44 (0)1703 593 190
Mobile: +44 (0)790 163 8826

Web Page : http://www.soton.ac.uk/~bscazz/
_________________________________________

Reply via email to