Comment 3 for bug 431807

Revision history for this message
Martin von Gagern (gagern) wrote :

I came to this report here from bug #430705. I had the initial impression that this thing here was intended to provide a solution for that one. However, at least in its current form, it does not:

The errors I am concerned with are generated by the xkbcomp binary, and don't match the glib pattern quoted above.
I just did update to Karmic Beta, and confirmed that there is no magic wrapping these lines into glib error lines.

Unfortunately I can think of no way to easily recognize the xkbcomp errors as such. So properly extracting them from the concatenated log is probably impossible, and bug #328980 a cleaner solution in the long run.

For the specific error message I have in mind, however, you could probably add a suitable regexp:
'^Error: *No Symbols named'
This at least handles the case I encountered in bug #328980 and will help diagnose similar errors.
To be more generic, one could turn all occurrences of the "ERROR3" macro in the xkbcomp sources into patterns, but I don't know if that would be worth the effort.

Would you consider adding the regexp above, or is there a reason not to?