lyx2lyx error not as informative when opening newer file
Scott Kostyshak
skostysh at lyx.org
Sat Dec 10 23:04:42 UTC 2022
On Sat, Dec 10, 2022 at 11:54:19PM +0100, Yuriy Skalko wrote:
> On 10.12.2022 15:22, Scott Kostyshak wrote:
> > If you open a new .lyx file than the lyx2lyx version can handle we used to get:
> >
> > <file> is from a newer version of LyX and the lyx2lyx script failed to convert it.
> >
> > Now we get:
> >
> > <file> is not a readable LyX document.
> >
> > You can test this by just manually incremending the number in the first
> > line of a .lyx file.
> >
> > Bisect leads to:
> > commit fb7b7e5223bc0a03e5b4a89b15f1be0bc0d05385
> > Author: Yuriy Skalko <yuriy.skalko at gmail.com>
> > Date: Fri Sep 11 00:22:55 2020 +0300
> > Refactor runCommand
> > Yuriy, do you by chance have time to take a look? If not, no problem, I
> > can take a look.
> >
> > Scott
>
> Hi Scott, I've not much experienced with lyx2lyx, can you describe exactly
> how to reproduce this? What OS do you use in your test?
>
> On manual incrementing the number I've got:
>
> lyx2lyx warning: 613: Format not supported.
> lyx2lyx warning: Quitting.
Thanks for trying to reproduce, Yuriy. My OS is Linux. I attach a file
where I incremented the format number. To reproduce, I open in LyX.
The LyX binary calls the python program lyx2lyx when the format is not
the same as the format of the LyX binary.
The error I'm discussing is the error message when opening directly from
LyX.
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: master.png
Type: image/png
Size: 115774 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221210/eea2cbb5/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.3.x.png
Type: image/png
Size: 114926 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221210/eea2cbb5/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: increased-format-number.lyx
Type: application/x-lyx
Size: 1947 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20221210/eea2cbb5/attachment-0001.lyx>
-------------- 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/20221210/eea2cbb5/attachment-0001.asc>
More information about the lyx-devel
mailing list