The code is very weird:

if (isRequired("framed") && mustProvide("color")) {
        RGBColor c = rgbFromHexName(lcolor.getX11Name(Color_shadedbg));

getX11Name() returns a named color (egg "red") and rgbFromHexName() requires an Hexadecimal color beginning with '#'. I can't believe this code is old...

Abdel.



Abdelrazak Younes wrote:
lyx.exe!boost::assertion_failed(const char * expr=0x00eb3b44, const char * function=0x00eb3ab0, const char * file=0x00eb3a98, long line=80) Line 49 C++ > lyx.exe!lyx::rgbFromHexName(const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & x11hexname="red") Line 80 + 0x4b bytes C++ lyx.exe!lyx::LaTeXFeatures::getPackages() Line 636 + 0x3c bytes C++ lyx.exe!lyx::BufferParams::writeLaTeX(std::basic_ostream<unsigned long,std::char_traits<unsigned long> > & os={...}, lyx::LaTeXFeatures & features={...}, lyx::TexRow & texrow={...}) Line 1217 + 0xf bytes C++ lyx.exe!lyx::Buffer::writeLaTeXSource(std::basic_ostream<unsigned long,std::char_traits<unsigned long> > & os={...}, const std::basic_string<char,std::char_traits<char>,std::allocator<char> > & original_path="D:/devel/lyx/trunk/lib/doc/", const lyx::OutputParams & runparams_in={...}, const bool output_preamble=true, const bool output_body=false) Line 1116 + 0x26 bytes C++

lyx.exe!lyx::graphics::PreviewLoader::Impl::dumpPreamble(std::basic_ostream<unsigned long,std::char_traits<unsigned long> > & os={...}) Line 689 + 0x49 bytes C++ lyx.exe!lyx::graphics::PreviewLoader::Impl::startLoading() Line 580 C++
     lyx.exe!lyx::graphics::PreviewLoader::startLoading()  Line 301    C++
lyx.exe!lyx::graphics::Previews::generateBufferPreviews(const lyx::Buffer & buffer={...}) Line 98 C++



Reply via email to