On 01/09/2015 03:03 AM, Zheng, Bangyou wrote:
Hi Richard,
Thanks for your suggestion.
But I have tried to reinstall lyx through
sudo aptitude remove lyx2.1
sudo rm -r /usr/share/lyx2.1
sudo aptitude install lyx2.1
This problem still existed.
How should I fix it?
Try removing your user directory, which is at $HOME/.lyx/
Richard
PS Please keep discussion on the list. Someone else may have better ideas.
Cheers,
Bangyou
On 9 Jan 2015 17:40, "Richard Heck" <rgh...@lyx.org
<mailto:rgh...@lyx.org>> wrote:
On 01/08/2015 07:34 PM, Bangyou wrote:
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
There is something wrong with your installation. The 2.1 layout
format is 49, not 48.
Richard