Julien, at http://www.lyx.org/trac/changeset/bb55234cac764d0465cdc4cc10a40d9b8a6cb5ba/lyxgit/ you have introduced this debug message:
# Omit font size specification in latex file. if not fix_latex_file(latex_file): warning("Unable to remove font size from the latex file") However, fix_latex_file also returns 0 if there is nothing to change, i.e. if \documentclass does not have a font option, which of course happens frequently and is perfectly valid. Can we get rid of this message (or refine it, if needed)? This is getting pretty annoying. Jürgen