FS#26732 - [lyx] cannot locate .cls files (python 3)
Attached to Project:
Arch Linux
Opened by Brian (bsquared) - Thursday, 03 November 2011, 16:48 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 03 November 2013, 14:15 GMT
Opened by Brian (bsquared) - Thursday, 03 November 2011, 16:48 GMT
Last edited by Dave Reisner (falconindy) - Sunday, 03 November 2013, 14:15 GMT
|
Details
Description:
python 3 causes LyX program configuration to fail. The result is that the latex .cls files are not found and this error is issued when openning a document. Warning: Document class not available ---------------------------------------- The selected document class article requires external files that are not available. The document class can still be used, but the document cannot be compiled until the following prerequisites are installed: article.cls See section 3.1.2.2 (Class Availability) of the User's Guide for more information. Additional info: * package version(s) Name : lyx Version : 2.0.1-2 Name : texlive-core (texlive-most) Version : 2011.23170-1 * config and/or log files etc. lyx configure.log attached lyx mail list thread: http://article.gmane.org/gmane.editors.lyx.general/72703 Steps to reproduce: Install lyx package on arch with python 3.x and python2 2.x open lyx open example/splash.lyx |
This task depends upon
Closed by Dave Reisner (falconindy)
Sunday, 03 November 2013, 14:15 GMT
Reason for closing: Not a bug
Additional comments about closing: texlive misconfirmation
Sunday, 03 November 2013, 14:15 GMT
Reason for closing: Not a bug
Additional comments about closing: texlive misconfirmation
\nonstopmode\makeatletter
\ifx\undefined\documentclass\else
\message{ThisIsLaTeX2e}
\fi
\@@end
This is what I got when I ran 'latex chklatex.ltx':
This is pdfTeX, Version 3.1415926-2.3-1.40.12 (TeX Live 2012/dev/Arch Linux)
restricted \write18 enabled.
---! /home/glyn/.texlive/texmf-var/web2c/pdftex/latex.fmt doesn't match pdftex.pool
(Fatal format file error; I'm stymied)
This indicated a problem in ~/.texlive. I renamed ~/.texlive to ~/.texlive.old, then started Lyx. The problem was fixed.
I hope this helps.
%> pdflatex --version
pdfTeX 3.1415926-2.5-1.40.14 (TeX Live 2013/Arch Linux)
kpathsea version 6.1.1
Copyright 2013 Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
There is NO warranty. Redistribution of this software is
covered by the terms of both the pdfTeX copyright and
the Lesser GNU General Public License.
For more information about these matters, see the file
named COPYING and the pdfTeX source.
Primary author of pdfTeX: Peter Breitenlohner (eTeX)/Han The Thanh (pdfTeX).
Compiled with libpng 1.6.3; using libpng 1.6.3
Compiled with zlib 1.2.8; using zlib 1.2.8
Compiled with poppler version 0.24.0
%> lyx --version
LyX 2.0.6 (2013-04-29)
Built on Jul 8 2013, 14:29:45
Configuration
Host type: x86_64-unknown-linux-gnu
Special build flags: build=release use-aspell use-enchant use-hunspell
C Compiler: gcc
C Compiler LyX flags:
C Compiler flags: -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4
C++ Compiler: g++ (4.8.1)
C++ Compiler LyX flags:
C++ Compiler flags: -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -fpermissive
Linker flags:
Linker user flags: -Wl,-O1,--sort-common,--as-needed,-z,relro
Qt 4 Frontend:
Qt 4 version: 4.8.5
Packaging: posix
LyX binary dir: /usr/bin
LyX files dir: /usr/share/lyx
%> /usr/share/lyx/configure.py
(lots of output)
%> grep 'WARNING' configure.log
WARNING: Latex not usable (not LaTeX2e)
The same error on LyX start (Warning: Document class not available).
There was a problem with texlive (mis)configuration.
Sorry for the noise.