2.4.0-beta-2 possible regression: Float inset stops instant preview functionality in Fedora 37 X86_64

Neal Becker ndbecker2 at gmail.com
Sat Jan 21 22:41:47 UTC 2023


On Sat, Jan 21, 2023 at 5:34 PM Neal Becker <ndbecker2 at gmail.com> wrote:

>
>
> On Sat, Jan 21, 2023 at 7:39 AM José Matos <jaomatos at gmail.com> wrote:
>
>> On Thu, 2023-01-19 at 11:08 -0800, Eric Barkan wrote:
>> > ose,
>> >
>> > Here's my output from "Copy version info":
>> >
>> >
>> > Version 2.4.0-beta2
>> > (Sunday, December 11, 2022)
>> >
>> > Qt Version (run-time): 5.15.8 on platform xcb
>> > Qt Version (compile-time): 5.15.8
>> > OS Version (run-time): Fedora Linux 37 (Thirty Seven)
>> > Python detected: python3 -tt
>> >
>> > Python --version gives "Python 3.11.1"
>> >
>> > Also, I've tried running beta-2 from a terminal and I find that
>> > "Error:
>> > No DVI or PDF output. latex failed." is printed after each attempt to
>> > preview by clicking in and out of an equation.
>>
>> I am sorry for the slow responses still dealing with the last bits of
>> the first semester here.
>>
>> First there is a remark that needs to be done. Since lyx-devel uses a
>> different configuration directory, by default ~/.lyx-devel, the
>> configurations are not synchronized with those used by LyX 2.3 (that
>> should be using, in general, ~/.lyx.
>>
>> LyX has debugging options that allow a better handling of the several
>> internal processes.
>>
>> Please, both to you and @Neal Becker, try to run LyX 2.4 from the
>> command line like this:
>>
>> $ lyx-devel -dbg graphics
>>
>> Is there any interesting bit in the console?
>>
>> Error: Failed to extract metrics info from lyxpreviewlYmtTI.log
> graphics/PreviewLoader.cpp (753): PreviewLoader::finishedInProgress(1):
> processing failed for python -tt $$s/scripts/lyxpreview2bitmap.py --png
> "/tmp/lyx_tmpdir.KxvirIvkKhib/lyx_tmpbuf0/lyxpreviewlYmtTI.tex" --dpi 115
> --fg 000000 --bg ffffff --latex=lualatex --bibtex="bibtex"
>
> OK, the error was caused by a missing package.
sudo dnf install texlive-cprotect
I believe this is a fedora packaging issue, probably should be added to lyx
package (or to a supplemental lyx-preview package).

Now I have the same preview as I did with 2.3.6, which is also not usable.
I have math preview, but with absurd amounts of whitespace.  There are no
error messages from lyx-devel -dbg graphics.
See attached screenshot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230121/b96fabf6/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot_20230121_173715.png
Type: image/png
Size: 139906 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20230121/b96fabf6/attachment-0001.png>


More information about the lyx-devel mailing list