>>>>> "Travis" == Travis Bauer <[EMAIL PROTECTED]> writes:
[Moved to the developper's list. Don't forget to keep Travis as cc].
Travis> I tried an older kernel (2.0.35) and the exact same problem
Travis> happened.
:(
Travis> When executing "lyx -dbg 3" it tell me:
Travis> Reading layouts... LyXSetStyle: parsing configuration...
Travis> LyXTextClassList::Read: unable to find textclass file
Travis> '~/<unknown path>' Exiting. Bye.
I'm sure it told you other things before that... Could you show the
complete output. In particular, I am interested in the part where it
seaches your library directory.
Travis> I also get a popup telling me to check that the file
Travis> "textclass.lst" is installed correctly.
That's not a surprise if it cannot find the library directory.
Travis> When executing "lyx -sysdir /usr/X11/share/lyx -dbg 3", the
Travis> program runs, and I can edit files.
So you installed LyX in /usr/X11/ (the default is /usr/local). What
configure flags did you use to do that. It might be too that you had
an earlier version of LyX in /usr/X11/bin/
Travis> But when I choose file,
Travis> view dvi from the menu, I get a popup that says "Error: Could
Travis> not change to directory: /tmp/lyx_tmp561aaa/lyx_bufrtmp561aaa"
Travis> and "Success" on the next line. that directory does exist,
Travis> and I do have full permissions on it. However, it is empty.
Travis> That popup occurrs several times, then the program crashes and
Travis> tells me I have found a bug in LyX.
Huh? That means that chdir() reports an error which description is
"Success"?? That's weird... The problem might be in
PathStack::PathPush(), which says:
// gets current directory and switch to new one
LString CurrentPath = GetCWD();
if ((CurrentPath.empty()) || chdir(Path.c_str())) {
WriteFSAlert(_("Error: Could not change to directory: "),
Path);
return 2;
}
If CurrentPath is empty, I guess one will see what you describe. The
question is: why would CurrentPath be empty? This might explain the
other problem too, maybe.
Ideas someone?
JMarc