When I convert a lyx file into latex format using command "lyx -f --export "latex" wheat.lyx", I got this error:
TextClass.cpp (350): Unable to convert /usr/share/lyx2.1/layouts/article.layout to format 48 Error reading `[layouts/article.layout]' (Check `article') Check your installation and try Options/Reconfigure... Error: Could not load class The command is working for me before. My system is headless ubuntu 12.04, lyx 2.1 I have try to reconfigure lyx through (python /usr/share/lyx2.1/configure.py) and reinstall lyx 2.1 Thanks for any suggestion to fix my problem.