On 19 Apr 2001, Jean-Marc Lasgouttes wrote:
> >>>>> "Michael" == Michael Schmitt <[EMAIL PROTECTED]> writes:
>
> Michael> BTW: When selecting an error box, LyX crashes due to a faulty
> Michael> assertion (without emergency save!)
>
> I do not see this here. Could you give more details? Note that this
> has already been reported by others, so you are definitely not
> dreaming... A backtrace would be nice.
Very simple (I don't use Redhat BTW):
Open a new document, insert a list of algorithms, export to dvi, click on
the new error box -> crash
Here is the assertion:
lyx:
/usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/../../../../include/g++-3/std/bastring.cc:126:
class
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
> &
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
>::replace(unsigned int, unsigned int, const
basic_string<char,string_char_traits<char>,__default_alloc_template<true,0>
> &, unsigned int = 0, unsigned int =
basic_string<charT,traits,Allocator>::npos): Assertion !(pos2 >
len2) is not fulfilled.
Concerning the broken latex header, I added the following lines manually
and everything worked as before:
\usepackage{graphics}
\usepackage{subfigure}
\usepackage{rotating}
\usepackage{algorithm}
\newcommand{\lyxline}[1]{
{#1 \vspace{1ex} \hrule width \columnwidth \vspace{1ex}}
}
No the big question is: Why have they all been removed from the
standard header???
Michael