Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Richard Heck

On 09/12/2011 12:28 PM, Bjorn Madsen wrote:

Hello there,
I'm a new user and have googled an error message I am receiving but am 
probably not searching the right places:


[1] The layout file: article could not be found. A default textclass 
with default layouts will be used. LyX will not be able to produce 
correct output
[2] Due to some error in it, the layout file: AGU-article could not be 
loaded. A default textclass with defailt layouts will be used. LyX 
will not be able to produce correct output.


Does anyone have a hint for getting it fixed? (LyX 2.0.0 default 
install from ubuntu 11.04.)


Both errors are puzzling. Something is wrong with the installation. 
First, the article.layout file should be installed with LyX, typically 
at /usr/share/lyx/layouts/. You can look at HelpAbout LyX to find out 
where the system directory is meant to be.


The other case is weirder, in a way, since the layout file is being 
found---it's surprising that it is there if article.layout is not---but 
is apparently corrupt.


I'd suggest you uninstall LyX and try reinstalling, if you haven't 
already done so. If you have, then we'll try something else.


Richard



Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Steve Litt
On Monday, September 12, 2011 12:28:46 PM Bjorn Madsen wrote:
 Hello there,
 I'm a new user and have googled an error message I am receiving but
 am probably not searching the right places:
 
 [1] The layout file: article could not be found. A default
 textclass with default layouts will be used. LyX will not be able
 to produce correct output [2] Due to some error in it, the layout
 file: AGU-article could not be loaded. A default textclass with
 defailt layouts will be used. LyX will not be able to produce
 correct output.
 
 Does anyone have a hint for getting it fixed? (LyX 2.0.0 default
 install from ubuntu 11.04.)
 
 Kind Regards,
 Bjorn

Hi Bjorn,

I had an almost identical problem a few months ago, on Ubuntu 11.04. 
In my case, the solution that fixed the problem was to uninstall LyX 
through Synaptic, download the latest stable LyX from LyX.org, and 
then install it the old fashioned way, ./configure;make;make install. 
Be aware that LyX has some pretty hairy dependencies, especially as 
concerns Qt4. I basically had to install almost everything having to 
do with Qt4 to get it to work, but once so installed, LyX worked 
perfectly.

My solution is consistent with the advice given by the LyX mailing 
list, which is that Ubuntu 11.04 ships with an incomplete LyX 
guaranteed to screw up.

Hope this helps.

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Bjorn Madsen
Hello Richard,
I tried to do a re-install from the Ubuntu Software Centre with all packages
enabled. It didn't help.

As I have another installation on my laptop that works (same ubuntu
installation), and have done a dryrun rsync between them checking the
/usr/share/lyx/ and /bjorn/.lyx as you mentioned below:
*You can look at HelpAbout LyX to find out where the system directory is
meant to be.*

I found that several files were missing, so I rsync'ed them from the laptop
to the desktop. Here are the culprits:

:~$ rsync -rav 192.168.0.3:/home/bjorn/.lyx/ /home/bjorn/.lyx
receiving incremental file list
./
configure.log
lyxmodules.lst
lyxrc.defaults
packages.lst
session
textclass.lst
bind/
cache/
cache/index
clipart/
doc/
examples/
images/
kbd/
layouts/
scripts/
templates/
ui/

sent 593 bytes  received 78216 bytes  52539.33 bytes/sec
total size is 77642  speedup is 0.99
*
*
*And now lyx works!! -Thank you very much!*

On 12 September 2011 18:23, Richard Heck rgh...@comcast.net wrote:

 On 09/12/2011 12:28 PM, Bjorn Madsen wrote:

 Hello there,
 I'm a new user and have googled an error message I am receiving but am
 probably not searching the right places:

 [1] The layout file: article could not be found. A default textclass with
 default layouts will be used. LyX will not be able to produce correct output
 [2] Due to some error in it, the layout file: AGU-article could not be
 loaded. A default textclass with defailt layouts will be used. LyX will not
 be able to produce correct output.

 Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install
 from ubuntu 11.04.)

  Both errors are puzzling. Something is wrong with the installation.
 First, the article.layout file should be installed with LyX, typically at
 /usr/share/lyx/layouts/. You can look at HelpAbout LyX to find out where
 the system directory is meant to be.

 The other case is weirder, in a way, since the layout file is being
 found---it's surprising that it is there if article.layout is not---but is
 apparently corrupt.

 I'd suggest you uninstall LyX and try reinstalling, if you haven't already
 done so. If you have, then we'll try something else.

 Richard




-- 
Bjorn Madsen
*Researcher Complex Systems Research*
Ph.: (+44) 0 7792 030 720 Ph.2: (+44) 0 1767 220 828
bjorn.mad...@operationsresearchgroup.com


Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Paul Rubin
Steve Litt slitt at troubleshooters.com writes:


 
 I had an almost identical problem a few months ago, on Ubuntu 11.04. 
 In my case, the solution that fixed the problem was to uninstall LyX 
 through Synaptic, download the latest stable LyX from LyX.org, and 
 then install it the old fashioned way, ./configure;make;make install. 
 Be aware that LyX has some pretty hairy dependencies, especially as 
 concerns Qt4. I basically had to install almost everything having to 
 do with Qt4 to get it to work, but once so installed, LyX worked 
 perfectly.

If, like me, you are averse to Adventures in Dependencies (and like to use
Synaptic), you can find a DEB package for LyX 2.0.1 at
http://www.getdeb.net/updates/Ubuntu/11.04/?q=lyx.  Works fine for me.




Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Richard Heck

On 09/12/2011 12:28 PM, Bjorn Madsen wrote:

Hello there,
I'm a new user and have googled an error message I am receiving but am 
probably not searching the right places:


[1] The layout file: article could not be found. A default textclass 
with default layouts will be used. LyX will not be able to produce 
correct output
[2] Due to some error in it, the layout file: AGU-article could not be 
loaded. A default textclass with defailt layouts will be used. LyX 
will not be able to produce correct output.


Does anyone have a hint for getting it fixed? (LyX 2.0.0 default 
install from ubuntu 11.04.)


Both errors are puzzling. Something is wrong with the installation. 
First, the article.layout file should be installed with LyX, typically 
at /usr/share/lyx/layouts/. You can look at HelpAbout LyX to find out 
where the system directory is meant to be.


The other case is weirder, in a way, since the layout file is being 
found---it's surprising that it is there if article.layout is not---but 
is apparently corrupt.


I'd suggest you uninstall LyX and try reinstalling, if you haven't 
already done so. If you have, then we'll try something else.


Richard



Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Steve Litt
On Monday, September 12, 2011 12:28:46 PM Bjorn Madsen wrote:
 Hello there,
 I'm a new user and have googled an error message I am receiving but
 am probably not searching the right places:
 
 [1] The layout file: article could not be found. A default
 textclass with default layouts will be used. LyX will not be able
 to produce correct output [2] Due to some error in it, the layout
 file: AGU-article could not be loaded. A default textclass with
 defailt layouts will be used. LyX will not be able to produce
 correct output.
 
 Does anyone have a hint for getting it fixed? (LyX 2.0.0 default
 install from ubuntu 11.04.)
 
 Kind Regards,
 Bjorn

Hi Bjorn,

I had an almost identical problem a few months ago, on Ubuntu 11.04. 
In my case, the solution that fixed the problem was to uninstall LyX 
through Synaptic, download the latest stable LyX from LyX.org, and 
then install it the old fashioned way, ./configure;make;make install. 
Be aware that LyX has some pretty hairy dependencies, especially as 
concerns Qt4. I basically had to install almost everything having to 
do with Qt4 to get it to work, but once so installed, LyX worked 
perfectly.

My solution is consistent with the advice given by the LyX mailing 
list, which is that Ubuntu 11.04 ships with an incomplete LyX 
guaranteed to screw up.

Hope this helps.

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Bjorn Madsen
Hello Richard,
I tried to do a re-install from the Ubuntu Software Centre with all packages
enabled. It didn't help.

As I have another installation on my laptop that works (same ubuntu
installation), and have done a dryrun rsync between them checking the
/usr/share/lyx/ and /bjorn/.lyx as you mentioned below:
*You can look at HelpAbout LyX to find out where the system directory is
meant to be.*

I found that several files were missing, so I rsync'ed them from the laptop
to the desktop. Here are the culprits:

:~$ rsync -rav 192.168.0.3:/home/bjorn/.lyx/ /home/bjorn/.lyx
receiving incremental file list
./
configure.log
lyxmodules.lst
lyxrc.defaults
packages.lst
session
textclass.lst
bind/
cache/
cache/index
clipart/
doc/
examples/
images/
kbd/
layouts/
scripts/
templates/
ui/

sent 593 bytes  received 78216 bytes  52539.33 bytes/sec
total size is 77642  speedup is 0.99
*
*
*And now lyx works!! -Thank you very much!*

On 12 September 2011 18:23, Richard Heck rgh...@comcast.net wrote:

 On 09/12/2011 12:28 PM, Bjorn Madsen wrote:

 Hello there,
 I'm a new user and have googled an error message I am receiving but am
 probably not searching the right places:

 [1] The layout file: article could not be found. A default textclass with
 default layouts will be used. LyX will not be able to produce correct output
 [2] Due to some error in it, the layout file: AGU-article could not be
 loaded. A default textclass with defailt layouts will be used. LyX will not
 be able to produce correct output.

 Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install
 from ubuntu 11.04.)

  Both errors are puzzling. Something is wrong with the installation.
 First, the article.layout file should be installed with LyX, typically at
 /usr/share/lyx/layouts/. You can look at HelpAbout LyX to find out where
 the system directory is meant to be.

 The other case is weirder, in a way, since the layout file is being
 found---it's surprising that it is there if article.layout is not---but is
 apparently corrupt.

 I'd suggest you uninstall LyX and try reinstalling, if you haven't already
 done so. If you have, then we'll try something else.

 Richard




-- 
Bjorn Madsen
*Researcher Complex Systems Research*
Ph.: (+44) 0 7792 030 720 Ph.2: (+44) 0 1767 220 828
bjorn.mad...@operationsresearchgroup.com


Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Paul Rubin
Steve Litt slitt at troubleshooters.com writes:


 
 I had an almost identical problem a few months ago, on Ubuntu 11.04. 
 In my case, the solution that fixed the problem was to uninstall LyX 
 through Synaptic, download the latest stable LyX from LyX.org, and 
 then install it the old fashioned way, ./configure;make;make install. 
 Be aware that LyX has some pretty hairy dependencies, especially as 
 concerns Qt4. I basically had to install almost everything having to 
 do with Qt4 to get it to work, but once so installed, LyX worked 
 perfectly.

If, like me, you are averse to Adventures in Dependencies (and like to use
Synaptic), you can find a DEB package for LyX 2.0.1 at
http://www.getdeb.net/updates/Ubuntu/11.04/?q=lyx.  Works fine for me.




Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Richard Heck

On 09/12/2011 12:28 PM, Bjorn Madsen wrote:

Hello there,
I'm a new user and have googled an error message I am receiving but am 
probably not searching the right places:


[1] The layout file: article could not be found. A default textclass 
with default layouts will be used. LyX will not be able to produce 
correct output
[2] Due to some error in it, the layout file: AGU-article could not be 
loaded. A default textclass with defailt layouts will be used. LyX 
will not be able to produce correct output.


Does anyone have a hint for getting it fixed? (LyX 2.0.0 default 
install from ubuntu 11.04.)


Both errors are puzzling. Something is wrong with the installation. 
First, the article.layout file should be installed with LyX, typically 
at /usr/share/lyx/layouts/. You can look at Help>About LyX to find out 
where the system directory is meant to be.


The other case is weirder, in a way, since the layout file is being 
found---it's surprising that it is there if article.layout is not---but 
is apparently corrupt.


I'd suggest you uninstall LyX and try reinstalling, if you haven't 
already done so. If you have, then we'll try something else.


Richard



Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Steve Litt
On Monday, September 12, 2011 12:28:46 PM Bjorn Madsen wrote:
> Hello there,
> I'm a new user and have googled an error message I am receiving but
> am probably not searching the right places:
> 
> [1] The layout file: article could not be found. A default
> textclass with default layouts will be used. LyX will not be able
> to produce correct output [2] Due to some error in it, the layout
> file: AGU-article could not be loaded. A default textclass with
> defailt layouts will be used. LyX will not be able to produce
> correct output.
> 
> Does anyone have a hint for getting it fixed? (LyX 2.0.0 default
> install from ubuntu 11.04.)
> 
> Kind Regards,
> Bjorn

Hi Bjorn,

I had an almost identical problem a few months ago, on Ubuntu 11.04. 
In my case, the solution that fixed the problem was to uninstall LyX 
through Synaptic, download the latest stable LyX from LyX.org, and 
then install it the old fashioned way, ./configure;make;make install. 
Be aware that LyX has some pretty hairy dependencies, especially as 
concerns Qt4. I basically had to install almost everything having to 
do with Qt4 to get it to work, but once so installed, LyX worked 
perfectly.

My solution is consistent with the advice given by the LyX mailing 
list, which is that Ubuntu 11.04 ships with an incomplete LyX 
guaranteed to screw up.

Hope this helps.

SteveT

Steve Litt
Author: The Key to Everyday Excellence
http://www.troubleshooters.com/bookstore/key_excellence.htm
Twitter: http://www.twitter.com/stevelitt



Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Bjorn Madsen
Hello Richard,
I tried to do a re-install from the Ubuntu Software Centre with all packages
enabled. It didn't help.

As I have another installation on my laptop that works (same ubuntu
installation), and have done a dryrun rsync between them checking the
/usr/share/lyx/ and /bjorn/.lyx as you mentioned below:
*You can look at Help>About LyX to find out where the system directory is
meant to be.*

I found that several files were missing, so I rsync'ed them from the laptop
to the desktop. Here are the culprits:

:~$ rsync -rav 192.168.0.3:/home/bjorn/.lyx/ /home/bjorn/.lyx
receiving incremental file list
./
configure.log
lyxmodules.lst
lyxrc.defaults
packages.lst
session
textclass.lst
bind/
cache/
cache/index
clipart/
doc/
examples/
images/
kbd/
layouts/
scripts/
templates/
ui/

sent 593 bytes  received 78216 bytes  52539.33 bytes/sec
total size is 77642  speedup is 0.99
*
*
*And now lyx works!! -Thank you very much!*

On 12 September 2011 18:23, Richard Heck  wrote:

> On 09/12/2011 12:28 PM, Bjorn Madsen wrote:
>
>> Hello there,
>> I'm a new user and have googled an error message I am receiving but am
>> probably not searching the right places:
>>
>> [1] The layout file: article could not be found. A default textclass with
>> default layouts will be used. LyX will not be able to produce correct output
>> [2] Due to some error in it, the layout file: AGU-article could not be
>> loaded. A default textclass with defailt layouts will be used. LyX will not
>> be able to produce correct output.
>>
>> Does anyone have a hint for getting it fixed? (LyX 2.0.0 default install
>> from ubuntu 11.04.)
>>
>>  Both errors are puzzling. Something is wrong with the installation.
> First, the article.layout file should be installed with LyX, typically at
> /usr/share/lyx/layouts/. You can look at Help>About LyX to find out where
> the system directory is meant to be.
>
> The other case is weirder, in a way, since the layout file is being
> found---it's surprising that it is there if article.layout is not---but is
> apparently corrupt.
>
> I'd suggest you uninstall LyX and try reinstalling, if you haven't already
> done so. If you have, then we'll try something else.
>
> Richard
>
>


-- 
Bjorn Madsen
*Researcher Complex Systems Research*
Ph.: (+44) 0 7792 030 720 Ph.2: (+44) 0 1767 220 828
bjorn.mad...@operationsresearchgroup.com


Re: Two identical installations of LyX cannot read the same file. What is wrong?

2011-09-12 Thread Paul Rubin
Steve Litt  troubleshooters.com> writes:


> 
> I had an almost identical problem a few months ago, on Ubuntu 11.04. 
> In my case, the solution that fixed the problem was to uninstall LyX 
> through Synaptic, download the latest stable LyX from LyX.org, and 
> then install it the old fashioned way, ./configure;make;make install. 
> Be aware that LyX has some pretty hairy dependencies, especially as 
> concerns Qt4. I basically had to install almost everything having to 
> do with Qt4 to get it to work, but once so installed, LyX worked 
> perfectly.

If, like me, you are averse to Adventures in Dependencies (and like to use
Synaptic), you can find a DEB package for LyX 2.0.1 at
http://www.getdeb.net/updates/Ubuntu/11.04/?q=lyx.  Works fine for me.