Having done quite a lot of searching for a certain expression in my lyx 
document (and exchanging each item by hand - it is lithium ions against Li^+, 
therefore I could not use the search and exchange way) it freezes with this 
error occurring continuously (taken from the terminal from which I started 
lyx)

X Error: BadGC (invalid GC parameter) 13
  Major opcode: 56 (X_ChangeGC)
  Resource id:  0x460319f

I have to kill the job and start anew. The changes were saved, fortunately.

It has probably to do with QT, since I found In the Internet:

The first line means that the error was of type 13, aka BadGC.
This means that an Xlib function that wants a GC as argument
didn't get a valid GC. Unless you do something fancy, this
could sound like a bug in Qt.

A GC is a Graphics Context. It is a structure that is used
every time you draw in X, and contains things like line width
and colour. This means that you don't have to specify all
those details for every call, thereby saving network traffic
(among other things).

Major opcode 56 means that the error occured during a
ChangeGC protocol request. There are many Xlib functions that
generate that particular request, but they all deal with
changing the GC (obviously :-).

Is this type of error known and cured in the new Lyx version?


Wolfgang

Reply via email to