VectorLinux
August 20, 2014, 02:02:55 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1] 2
  Print  
Author Topic: Lyx file error  (Read 5156 times)
Andy Price
Packager
Vectorite
****
Posts: 237


« on: November 08, 2009, 05:22:09 am »

Hi

I recently installed the Lyx document processor (1.6.3) from the reps and it seemed to install ok with no errors. But when I try to use it I keep getting errors about missing files, for example:

"The layout file requested by this doument, article.layout, is not usable. This is probably because a LaTeX class or stle file requires by it is not available... Lyx will not be able to produce an output"

I found references to this on the net and one of them suggested running configure.py, which I tried, but it gave a permission denied error on the file configure.log, though this file has got full write permission for the user so I'm not sure why configure.py failed.

Has anyone else had this problem with Lyx or got any suggestions how to fix it?

Thanks
Andy
Logged
hata_ph
Packager
Vectorian
****
Posts: 3256


-- Just being myself --


« Reply #1 on: November 08, 2009, 08:00:20 am »

Did you install the latex or tetex package?
Logged
Andy Price
Packager
Vectorite
****
Posts: 237


« Reply #2 on: November 09, 2009, 06:22:05 am »

Thanks for the suggestion. I just installed tetex and then uninstalled/reinstalled Lyx, deleting the config files in between. Unfortunately no difference, still the same error messages. I then tried running configure.py again and this time it ran ok as root (but not as user) and copied the textclass.lst into the /lyx directory to replace the unmodified original. Still no joy, same error message.

I feel I have moved one tiny step forward, so any more suggestions welcomed.
Andy
Logged
hata_ph
Packager
Vectorian
****
Posts: 3256


-- Just being myself --


« Reply #3 on: November 09, 2009, 04:13:52 pm »

Did you try to run configure.py using your own login? BTW, try running lyx in CLI and let see does it prompt out any error..

http://forums.macosxhints.com/archive/index.php/t-76020.html
http://support.zenwalk.org/viewtopic.php?f=10&t=20683
Logged
Andy Price
Packager
Vectorite
****
Posts: 237


« Reply #4 on: November 09, 2009, 09:11:02 pm »

I ran it from the command prompt and it gave no errors and works properly. It also works when I run it from the menu now. I don't know why! Maybe because I shut down and left it over night  Smiley
Thanks for your suggestions.
Andy
Logged
hata_ph
Packager
Vectorian
****
Posts: 3256


-- Just being myself --


« Reply #5 on: November 09, 2009, 09:29:13 pm »

Did you try this?

Quote
Thanks to Paul Ruben in the lyx mailing list! I have fixed the bug.
For those who might have a similar problem.
You need to run the script configure.py that resides in the lyx installation directory in your home-lyx directory.
In my case it is:
Applications/LyX.app/Contents/Resources

My home lyx directory is:
~/Library/Application Support/LyX-1.5

to find your home and installation directory you can look in the Help > About Lyx entry in the Lyx interface. If you don't find it (like in my case)
run a minibuffer from View -> Toolbars -> Command buffer
and write 'dialog-show aboutlyx' (without the quotes).

Running configure.py will generate a file called textclass.lst
this file should show all the class files that are where found in latex.
So provided you have the class files you need in latex, this should work.

and this?

Quote
Check that you have a working teTeX implementation, that you logged out and logged in again after running LyX-Setup, and that you ran LyX -> Edit -> Reconfigure after starting LyX.
Logged
sledgehammer
Vectorian
****
Posts: 1420



« Reply #6 on: November 10, 2009, 01:19:43 am »

I have been happily running lyx 1.6.2.  I will download 1.6.3 now and let you know if problems. The world refuses to stand still for me.

John
Logged

VL7.0 xfce4 Samsung RF511
sledgehammer
Vectorian
****
Posts: 1420



« Reply #7 on: November 10, 2009, 01:37:42 am »

Well,

I downloaded from gslapt.  I gather my lyx 1.6.2 had been built from source.  Anyway, nothing happened. Lyx 1.6.2 still works.  I will look at this later.  Am excited that 1.6.3 is out.  Lyx is the best.

John
Logged

VL7.0 xfce4 Samsung RF511
hata_ph
Packager
Vectorian
****
Posts: 3256


-- Just being myself --


« Reply #8 on: November 10, 2009, 04:22:38 pm »

I have packaged lyx-1.6.4 for VL6 and 5.9.....maybe it is in the testing repo..you may have a try... Tongue

http://forum.vectorlinux.com/index.php?topic=10411.0
Logged
sledgehammer
Vectorian
****
Posts: 1420



« Reply #9 on: November 10, 2009, 10:14:24 pm »

hata_ph,

I don't see lyx 1.6.4 in either the regular or the testing repository for VL 6.0.

Glad to learn that its available.  I will go on the lyx site and see what's up.

John
Logged

VL7.0 xfce4 Samsung RF511
sledgehammer
Vectorian
****
Posts: 1420



« Reply #10 on: November 10, 2009, 10:49:32 pm »

hata_py,

Here is what I did.

1.  I removed lyx 1.6.3 via gslapt.
2.  My lyx 1.6.2 still worked.  I guess I had loaded it from source.
3.  I downloaded lyx 1.6.4 from the lyx site.
4.  I installed it (/.configure ...change to root...make .... make install

I loaded lyx and 1.6.4 seems to work.

I would rather use gslapt but this is apparently going to have to do for now.

I am excited to see what changes were made.

John
Logged

VL7.0 xfce4 Samsung RF511
hata_ph
Packager
Vectorian
****
Posts: 3256


-- Just being myself --


« Reply #11 on: November 11, 2009, 06:36:30 am »

Maybe my package still not yet move to the testing repo. It seem the repo maintainer is a bit busy recently... Tongue
Logged
Andy Price
Packager
Vectorite
****
Posts: 237


« Reply #12 on: November 12, 2009, 08:41:16 am »

Hi hata_ph

I'm going to reinstall Lyx on another system to try and reproduce the problem. As it is I did a few different things at different times so I'm not sure what fixed it.

I did run configure.py but it would only run as root, not when logged in as user. After that I think I shut down for the night, came back next day and read your post. I then ran Lyx from a terminal to check for errors, a load of lines flashed by and then it worked. I then ran Reconfigure from the menu but I don't know what difference that made. Incidentally, when I run it from a terminal now it just starts up with no output in the terminal like the first time.

So tomorrow I'll do things step by step and see what happens.

Thanks
Logged
hata_ph
Packager
Vectorian
****
Posts: 3256


-- Just being myself --


« Reply #13 on: November 12, 2009, 04:21:09 pm »

Great. By the way, lyx 1.6.4 is in the testing repo...maybe you can test it out.. Tongue
Logged
sledgehammer
Vectorian
****
Posts: 1420



« Reply #14 on: November 13, 2009, 12:02:21 am »

Andy Price,

hata_ph's suggestion (install lyx via gslapt) is an excellent one.  I suspect you already know this, but you have to, after loading gslapt, go to edit/preferences/sources and temporarily enable the testing repository.  Be sure and disable the testing repository after you install lyx 1.6.4.  It should then show up in your office folder.

I am happy to have another lyx fan on the site.  New Open Office 3 is great, but lyx is greater if all you do is write. 

I suspect when you load lyx from gslapt as above your problems will disappear.

John



Logged

VL7.0 xfce4 Samsung RF511
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!