Jean-Marc Lasgouttes wrote: >>>>>> "Peter" == Peter Kümmel <[EMAIL PROTECTED]> writes: > > Peter> Here a small patch for 1.4.x (analog for trunk) to get some > Peter> feedback when there was a problem while loading the configure > Peter> file textclass.lst. > > You forgot the patch. > > JMarc > >
Ahhh.. here the patch. We could also add before all other exit(1) a Alert output. -- Peter Kümmel
Index: lyxtextclasslist.C =================================================================== --- lyxtextclasslist.C (revision 15135) +++ lyxtextclasslist.C (working copy) @@ -16,6 +16,9 @@ #include "debug.h" #include "lyxlex.h" +#include "frontends/Alert.h" +#include "gettext.h" + #include "support/filetools.h" #include <boost/bind.hpp> @@ -179,6 +182,7 @@ if (!textclasslist.Read()) { lyxerr[Debug::TCLASS] << "LyXSetStyle: an error occured " "during parsing.\n Exiting." << endl; + Alert::error(_("Configuration problem"),_("Please reconfigure LyX and then try again to start LyX.")); exit(1); }