LyXCan't export anything

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
zahit
Posts: 4
Joined: Sun Apr 21, 2013 10:55 pm

Can't export anything

Post by zahit »

hi, I'm a new lyx user (or want to be one).
I have a windows 8 64bit in hebrew. I tried to install the new lyx - LyX-2.0.5.1-Bundle-5 with miktex, but I cant export anything. When I press ctrl+r it says command disabled, and if I try file->export->more formats&options I see an empty table. A friend of mine saw through a debugging mode that article.cls and theoram.sty are missing, but I dont get if that the problem and what to do. Also, reconfiguring failes every time. Please help!
thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Re: Can't export anything

Post by scottkosty »

Can you try Tools > Reconfigure, then restart LyX? Otherwise, I don't know since I'm on Ubuntu.
zahit
Posts: 4
Joined: Sun Apr 21, 2013 10:55 pm

Re: Can't export anything

Post by zahit »

Nope. As I said - reconfigure fails every time. But thanks.
By the way, I said my windows is in hebrew because I know it can cause difficulties with some programs (writing is from right to left). I also tried hebrew and english versions of lyx.
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Can't export anything

Post by scottkosty »

zahit wrote:Nope. As I said - reconfigure fails every time.
You did indeed. Sorry for missing that.
zahit wrote: By the way, I said my windows is in hebrew because I know it can cause difficulties with some programs (writing is from right to left). I also tried hebrew and english versions of lyx.
That was good to mention. LyX does have support for Hebrew (and Right-to-Left in general) but there are several bugs.

If you think you found a bug, file at http://www.lyx.org/trac
You might also want to write to lyx-users@lists.lyx.org

One other thing I've seen people recommend is to uninstall everything completely (MiKTeX, LyX), and then install under administrator.

Best of luck,

Scott
zahit
Posts: 4
Joined: Sun Apr 21, 2013 10:55 pm

Re: Can't export anything

Post by zahit »

I don't understand what the problem is. This is the same for the english version. Do I have missing files, or its a path problem of some sort. Can you try and help me diagnose the problem?
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Can't export anything

Post by scottkosty »

zahit wrote:I don't understand what the problem is. This is the same for the english version. Do I have missing files, or its a path problem of some sort. Can you try and help me diagnose the problem?
You should try to figure out why reconfigure fails everytime. My guess is either because you have a Python version that LyX is using that does not work well with configure.py or LyX can't find your TeX install. I gave you a suggestion (uninstalling and then reinstalling as an administrator).

I can't help you more than that because I'm completely lost on Windows (been 6 years since I used it).
zahit
Posts: 4
Joined: Sun Apr 21, 2013 10:55 pm

Can't export anything

Post by zahit »

Well thanks anyway. My account is the administrator one so no news there. And Python version doesn't mean much to me.

This is the debugging output for reconfigure - if someone can have a look.

Code: Select all

22:17:32.742: python -tt "C:/Program Files (x86)/LyX 2.0/Resources/configure.py"
22:17:33.291: checking for DVI to DTL converter...
22:17:33.294: +checking for "dv2dt"...  yes
22:17:33.295: checking for DTL to DVI converter...
22:17:33.297: +checking for "dt2dv"...  yes
22:17:33.299: checking for a Latex2e program...
22:17:33.301: +checking for "latex"...  yes
22:17:33.303: checking for a DVI postprocessing program...
22:17:33.305: +checking for "pplatex"...  yes
22:17:33.306: checking for pLaTeX, the Japanese LaTeX...
22:17:33.307: +checking for "platex"...  yes
22:17:33.309: Traceback (most recent call last):
22:17:33.310:   File "C:/Program Files (x86)/LyX 2.0/Resources/configure.py", line 1448, in <module>
22:17:33.313:     LATEX = checkLatex(dtl_tools)
22:17:33.315:   File "C:/Program Files (x86)/LyX 2.0/Resources/configure.py", line 448, in checkLatex
22:17:33.317:     if cmdOutput(PLATEX + ' chklatex.ltx').find('pLaTeX2e') != -1:
22:17:33.319:   File "C:/Program Files (x86)/LyX 2.0/Resources/configure.py", line 72, in cmdOutput
22:17:33.320:     stdout=subprocess.PIPE, universal_newlines=True)
22:17:33.322:   File "C:\Program Files (x86)\LyX 2.0\Python\lib\subprocess.py", line 679, in __init__
22:17:33.325:     errread, errwrite)
22:17:33.326:   File "C:\Program Files (x86)\LyX 2.0\Python\lib\subprocess.py", line 896, in _execute_child
22:17:33.327:     startupinfo)
22:17:33.329: UnicodeEncodeError: 'ascii' codec can't encode characters in position 25-27: ordinal not in range(128)
22:17:33.331: טוען מחדש הגדרות...
Running: python -tt "C:/Program Files (x86)/LyX 2.0/Resources/configure.py"
..\..\..\src\support\Systemcall.cpp (273): Systemcall: 'python -tt "C:/Program Files (x86)/LyX 2.0/Resources/configure.py"' finished with exit code 1
22:18:17.997: (reconfigure)
hm_cavalcanti
Posts: 6
Joined: Fri Feb 10, 2012 3:12 pm

Re: Can't export anything

Post by hm_cavalcanti »

I had this problem with LyX bundle (and running on windows 7).

Honestly, I didn´t exactly solve the problem itself. I just installed LyX in a different way (the way I usually do it)

1) uninstall LyX and MikTeX (if you are using windows, for example)

2) Download protext package ( http://www.tug.org/protext/ )

2.1) Install MikTeX full and ghostscript (optionally, install jabref for managing bibtex files and ghostview to view ps files and texmaker if you want a good LaTeX editor).

3) Download and install LyX (not LyX bundle, just LyX)

This should work (it always worked for me).

But basically this is the same as downloading MiKtex full and everything else, but protext comes with everything in one file. It´s a big file, but if you don´t want to have problems with packages or having to update packages, it´s pretty full.
Post Reply