If I start lyx with a non-existing user directory, LyX fails.

JMarc

jarvis: src/lyx -userdir ddd
LyX : création du répertoire /home/jean-marc/src/lyx/devbuild/ddd
LyX : reconfiguration du répertoire utilisateur
[...]
+checking list of textclasses...
Traceback (most recent call last):
File "/home/jean-marc/src/lyx/master/lib/configure.py", line 1879, in <module>
    ret = checkLatexConfig(lyx_check_config and LATEX != '', bool_docbook)
File "/home/jean-marc/src/lyx/master/lib/configure.py", line 1368, in checkLatexConfig
    retval = processLayoutFile(file, bool_docbook)
File "/home/jean-marc/src/lyx/master/lib/configure.py", line 1316, in processLayoutFile
    % (classname, opt, desc, avai, prereq))
TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'str' support/Systemcall.cpp (291): Systemcall: 'python3 -tt "/home/jean-marc/src/lyx/master/lib/configure.py" --with-version-suffix=-master --binary-dir="/home/jean-marc/src/lyx/devbuild/src/"' finished with exit code 1

Reply via email to