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

Scott Kostyshak skostysh at lyx.org
Mon Jul 20 00:25:35 UTC 2020


On Mon, Jul 20, 2020 at 01:57:53AM +0200, Thibaut Cuvelier wrote:
> On Sun, 19 Jul 2020 at 23:34, Pavel Sanda <sanda at lyx.org> wrote:
> 
> > 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.
> >
> 
> I've removed this function in the last commit. By default, it should still
> be zero, even without lyx2lyx doing something. At least, the message is
> gone for me.

Thanks, Thibaut. The message is now gone for me. The reason I got it
before when starting a new document is because I use a default document,
which was in an older format.

Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20200719/c296b574/attachment.asc>


More information about the lyx-devel mailing list