On Thu, 17 Jan 2002, John Levon wrote:

> Index: graphics/ImageLoaderXPM.C
> ===================================================================
> RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/graphics/ImageLoaderXPM.C,v
> retrieving revision 1.12
> diff -u -r1.12 ImageLoaderXPM.C
> --- graphics/ImageLoaderXPM.C   2001/09/21 16:24:28     1.12
> +++ graphics/ImageLoaderXPM.C   2002/01/17 04:49:23
> @@ -77,7 +77,7 @@
>         xpm_col.pixel = lyxColorHandler->colorPixel(LColor::graphicsbg);
>
>         XpmAttributes attrib;
> -       attrib.valuemask = XpmCloseness | XpmColorSymbols | XpmColorKey;
> +       attrib.valuemask = XpmCloseness | XpmColorSymbols;
>
>         attrib.closeness = 10000;

You meant this warning?

                lyxerr << "Warning in ImageLoaderXPM::runImageLoader"
                       << "lyxrc.display_graphics == \""
                       << lyxrc.display_graphics

No I didn't see it.  I also have 4.11.

This made no difference to the conversion load errors I got before
either.

> Anyway, I looked at the backtrace with gdb and the problem is :
>
> (converter.C)
>
>     643                         lyxerr[Debug::FILES] << "Calling " << command << 
>endl;
>     644                         if (buffer)
>     645                                 ShowMessage(buffer, _("Executing command:"), 
>command);
>
> ShowMessage assumes a BufferView has been generated. buffer->getUser() is 0 -> boom

Actually, it should be ShowMessage() that does the check.

Allan. (ARRae)

Reply via email to