On 8/19/19 2:41 PM, Matthias Görlach wrote: > >> To check another thing: there is an automatic upgrade in configure run. >> Perhaps it copies some problematic contents from your 2.2 installation. >> To circumvent this you may try these commands (no sudo please): >> $ mkdir /tmp/LyX >> $ cd /tmp/LyX >> $ python -tt /Applications/LyX.app/Contents/Resources/configure.py >> --binary-dir=/Applications/LyX.app/Contents/MacOS/ > My result (and config.log attached here) > ls -ltr > total 1088 > drwxr-xr-x 2 mago staff 68 Aug 19 20:30 ui > drwxr-xr-x 2 mago staff 68 Aug 19 20:30 templates > drwxr-xr-x 2 mago staff 68 Aug 19 20:30 scripts > drwxr-xr-x 2 mago staff 68 Aug 19 20:30 layouts > drwxr-xr-x 2 mago staff 68 Aug 19 20:30 kbd > drwxr-xr-x 2 mago staff 68 Aug 19 20:30 images > drwxr-xr-x 2 mago staff 68 Aug 19 20:30 examples > drwxr-xr-x 2 mago staff 68 Aug 19 20:30 doc > drwxr-xr-x 2 mago staff 68 Aug 19 20:30 clipart > -rw-r--r-- 1 mago staff 99 Aug 19 20:30 chklatex.ltx > -rw-r--r-- 1 mago staff 664 Aug 19 20:30 chklatex.log > drwxr-xr-x 2 mago staff 68 Aug 19 20:30 bind > -rw-r--r-- 1 mago staff 19973 Aug 19 20:30 lyxrc.defaults > -rw-r--r-- 1 mago staff 36766 Aug 19 20:30 clsFiles.lst > -rw-r--r-- 1 mago staff 365181 Aug 19 20:30 styFiles.lst > -rw-r--r-- 1 mago staff 26300 Aug 19 20:30 bstFiles.lst > -rw-r--r-- 1 mago staff 4449 Aug 19 20:30 bibFiles.lst > -rw-r--r-- 1 mago staff 293 Aug 19 20:30 lyxmodules.lst > -rw-r--r-- 1 mago staff 37133 Aug 19 20:30 configure.log > -rw-r--r-- 1 mago staff 26 Aug 19 20:30 chkmodules.tex > -rw-r--r-- 1 mago staff 15685 Aug 19 20:30 cbxFiles.lst > -rw-r--r-- 1 mago staff 17136 Aug 19 20:30 bbxFiles.lst
The configure script looks to be crashing when it tries to process the first module file. The fact that chklatex.ltx and chkmodules.txt have not been removed indicate that, as does the suspiciously small size of your chkmodules.tex. Can you run the command Stephan gave you from the terminal again, but this time copy and paste the end of the output? I'm wondering whether Python itself is issuing some kind of error message. Can you also check the python version you are using? Run python --version. I've just seen that I'm getting a crash with python 3.7.4, though a bit later than you are: +checking list of textclasses... Traceback (most recent call last): File "/usr/local/share/lyx/configure.py", line 1896, in <module> ret = checkLatexConfig(lyx_check_config and LATEX != '', bool_docbook) File "/usr/local/share/lyx/configure.py", line 1379, in checkLatexConfig retval = processLayoutFile(file, bool_docbook) File "/usr/local/share/lyx/configure.py", line 1327, in processLayoutFile % (classname, opt, desc, avai, prereq)) TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str' Riki PS CC'ing lyx-devel now, and José.