Exception ignored in: _io.TextIOWrapper

José Matos jaomatos at gmail.com
Fri Jul 5 16:33:39 UTC 2024


On Fri, 2024-07-05 at 16:27 +0200, Jean-Marc Lasgouttes wrote:
> No, I have no debug enabled. I am not sure what can trigger a python
> run when previews are off (graphics are enabled, though).

The only place where we call this directly is in lyx2lyx, and that is
done unconditionally in the sense that we first try to load a (gzip)
compressed file and if that fails with an exception we go the usual
route (plain file).

The except there should be clear about the problem.
In this case it should catch an IOError.

So far so good. This is what I have in my todo list.

The next question is what is reporting this issue... here I am lost.

> Can InsetInfo run an occasional pref2pref?

Possible but unlikely.

As far as I remember all layout files are updated and thus
layout2layout it is not used.
-- 
José Abílio


More information about the lyx-devel mailing list