Hi there, I'm having a problem with lyx 1.2.3 on gentoo linux. When I try to 
insert a graphic (.png,.ps,.eps,.xpm) I get:

In InitColorLookup [rgb_db.c 85] can't find the rgb color database--No such 
file or directory
In LookupColor [rgb_db.c 177] database uninitialized
... repeated many times

When I then scroll down to see the inserted graphic I get:

Received unhandled X11 event
Type: 0xd Target: 0x3600064
In InitColorLookup [rgb_db.c 85] can't find the rgb color database--No such 
file or directory
In LookupColor [rgb_db.c 177] database uninitialized
... repeated many times

and a black box is rendered!

If I try to insert a .gif graphic it works as expected. I have used convert to 
get png from my .ps and then loaded it into gimp and the picture is ok. The 
.ps and .eps files render in gv and kghostview fine. In lyx they are just 
rendered as a filled black box, and the error message above is given many 
times. When I try to "view->postscript" from lyx the images are include ok. 
I've just rebuilt lyx and still have the problem.

Any help in solving this would be appreciated.

Reply via email to