Re: Error to convert into latex

2015-01-09 Thread Richard Heck

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





Re: Error to convert into latex

2015-01-09 Thread Scott Kostyshak
On Fri, Jan 9, 2015 at 11:12 AM, Richard Heck rgh...@lyx.org wrote:
 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/

If this doesn't work, can you please post your
/usr/share/lyx2.1/layouts/article.layout
Also, you might want to backup $HOME/.lyx before removing it (or just
rename it). It can have useful settings such as shortcuts.

Also, have you tried the LyX Ubuntu PPA?
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3

 PS Please keep discussion on the list. Someone else may have better ideas.

+1

Best,

Scott


Re: Error to convert into latex

2015-01-09 Thread Richard Heck

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





Re: Error to convert into latex

2015-01-09 Thread Scott Kostyshak
On Fri, Jan 9, 2015 at 11:12 AM, Richard Heck rgh...@lyx.org wrote:
 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/

If this doesn't work, can you please post your
/usr/share/lyx2.1/layouts/article.layout
Also, you might want to backup $HOME/.lyx before removing it (or just
rename it). It can have useful settings such as shortcuts.

Also, have you tried the LyX Ubuntu PPA?
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3

 PS Please keep discussion on the list. Someone else may have better ideas.

+1

Best,

Scott


Re: Error to convert into latex

2015-01-09 Thread Richard Heck

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" > 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





Re: Error to convert into latex

2015-01-09 Thread Scott Kostyshak
On Fri, Jan 9, 2015 at 11:12 AM, Richard Heck  wrote:
> 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/

If this doesn't work, can you please post your
/usr/share/lyx2.1/layouts/article.layout
Also, you might want to backup $HOME/.lyx before removing it (or just
rename it). It can have useful settings such as shortcuts.

Also, have you tried the LyX Ubuntu PPA?
http://wiki.lyx.org/LyX/LyXOnUbuntu#toc3

> PS Please keep discussion on the list. Someone else may have better ideas.

+1

Best,

Scott


Error to convert into latex

2015-01-08 Thread Bangyou
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.



Re: Error to convert into latex

2015-01-08 Thread Richard Heck

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



Error to convert into latex

2015-01-08 Thread Bangyou
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.



Re: Error to convert into latex

2015-01-08 Thread Richard Heck

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



Error to convert into latex

2015-01-08 Thread Bangyou
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.



Re: Error to convert into latex

2015-01-08 Thread Richard Heck

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