Current master: Handling unknown body token: `\docbook_table_output'

Pavel Sanda sanda at lyx.org
Sun Jul 19 21:34:37 UTC 2020


On Sun, Jul 19, 2020 at 11:19:08PM +0200, Pavel Sanda wrote:
> On Sun, Jul 19, 2020 at 11:01:08PM +0200, Thibaut Cuvelier wrote:
> > On Sun, 19 Jul 2020 at 22:33, Scott Kostyshak <skostysh at lyx.org> wrote:
> > 
> > > I get the following on the terminal when starting a new document:
> > >
> > >   Text.cpp (1940): Handling unknown body token: `\docbook_table_output'
> > >   Text.cpp (1940): Handling unknown body token: `0'
> > >
> > 
> > Hi Scott,
> > 
> > I can't reproduce locally (d6ec3d686b316b968ac306fd9aeffa10fbcdc423,
> > Windows 10 x64, built with CMake, Visual C++ 2019). Here is what I did:
> > open LyX, create a new empty document (File > New), add some content, save,
> > close, reopen.
> 
> Try to open document with older format, e.g. tutorial in help menu.

I looked at the code and the offender is clear:
def convert_docbook_table_output(document) in lyx_2_4.py.

We usually do not create convert function unless you really need to convert some 
older flag into new one etc. Just kick out this conversion routine and set
somewhere in bufferparams initialization routines this variable to 0 if not done yet.
Older docs will be set properly this way.

Pavel


More information about the lyx-devel mailing list