Jean-Marc Lasgouttes schrieb:
> It seems that when some files are not readable, lyx crashes. This is
> wrong of course. Could you try to run LyX under strace
> strace lyx
> and post the last few lines of output? This should give s the name of
> the file/directory that caused a problem, and therefore a hint about
> what to do.
Well said! I did the strace and part of the result was:
==quote==
getcwd("/home/siebeck", 256) = 14
stat64("/home/siebeck/lyx", 0xbfc34e10) = -1 ENOENT (No such file or
directory)
stat64("/usr/lib/qt-3.3/bin/lyx", 0xbfc34e10) = -1 ENOENT (No such file
or directory)
stat64("/usr/lib/kde3/bin/lyx", 0xbfc34e10) = -1 EACCES (Permission denied)
futex(0x44beae8, FUTEX_WAKE, 2147483647) = 0
write(2, "terminate called after throwing "..., 48terminate called after
throwing an instance of ') = 48
write(2, "boost::filesystem::basic_filesys"...,
118boost::filesystem::basic_filesystem_error<boost::filesystem::basic_path<std::string,
boost::filesystem::path_traits> >) = 118
write(2, "\'\n", 2'
) = 2
write(2, " what(): ", 11 what(): ) = 11
write(2, "boost::filesystem::exists", 25boost::filesystem::exists) = 25
write(2, "\n", 1
) = 1
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
tgkill(12119, 12119, SIGABRT) = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++
==unquote==
So what I did was to create a directory ~/lyx and then I started lyx
again. Wow! Lyx started, created a directory ~/.lyx, checked for all the
helper programs, document classes, packages and whatever and was up and
running! The funny (or strange) part is:
1. there is no directory ~root/lyx
2. under Kubuntu, there is no directory ~/lyx for non-root user
Many thanks for the hint to Jean-Marc!
Greetings from Phuket, Thailand
Wolfgang
--
Fempf Halbe sen so viel wia a Schnitzel,
ond dann hosch emmr no nix dronga.