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 <[email protected]> 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 [email protected]
