On Mon, 3 Jan 2022 21:53:44 +0100 Pavel Sanda <sa...@lyx.org> wrote: > On Wed, 29 Dec 2021 04:15:48 -0800 "Leo L. Schwab" <ew...@ewhac.org> wrote: > > Discovered this while trying to use Editorium's LyXBook modules. > > layout2layout.py was konking out with "TypeError: cannot use a bytes > > pattern on a string-like object." After a bunch of debugging, I found > > some strings in the script that hadn't been bytes-ified, which seemed to > > fix the problem. Patch attached. > > The patch can not be taken as is to the upstream. > Would you mind reporting the exact recipy how to reproduce your problem > (maybe attach layout and example lyx file?)
The bug should be fixed upstream in lyx 2.4 https://www.lyx.org/trac/changeset/940d3ceeb9e6d8ce216afedf18c898ec075cc27d/lyxgit Pavel