On 10.02.20 16:06, Scott Kostyshak wrote: > On Mon, Feb 10, 2020 at 08:18:40AM +0100, Martin Weise wrote: >> On 10.02.20 02:43, Scott Kostyshak wrote: >>> On Sun, Feb 09, 2020 at 07:56:56PM +0100, Martin Weise wrote: >>>> Dear all, >>>> >>>> I am using LyX 2.3.3 on Ubuntu 18.04 (and i have been doing so >>>> (successfully) for almost two years). However, I recently switched >>>> laptops and therefore needed to reinstall ubuntu. >>>> >>>> On the new machine, LyX fails to export pdf files via pdflatex and >>>> LuaTeX. There is no pdf file after running export. The only thing that >>>> does work is using ps2pdf. >>>> >>>> Here's the message output from Lyx: >>>> >>>> *** >>>> 05:44:25.151: Previewing ... >>>> 05:44:25.154: (buffer-view: Ctrl+R) >>>> 05:44:25.158: pdflatex "Document.tex" >>>> 05:44:25.232: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live >>>> 2017/Debian) (preloaded format=pdflatex) >>>> 05:44:25.233: restricted \write18 enabled. >>>> 05:44:25.243: entering extended mode >>>> 05:44:25.244: (./Document.tex >>>> 05:44:25.253: LaTeX2e <2017-04-15> >>>> 05:44:25.254: Babel <3.18> and hyphenation patterns for 84 language(s) >>>> loaded. >>>> 05:44:25.254: >>>> 05:44:25.380: pdflatex "Bauordnungsamt.tex" >>>> 05:44:25.452: This is pdfTeX, Version 3.14159265-2.6-1.40.18 (TeX Live >>>> 2017/Debian) (preloaded format=pdflatex) >>>> 05:44:25.453: restricted \write18 enabled. >>>> 05:44:25.462: entering extended mode >>>> 05:44:25.463: (./Document.tex >>>> 05:44:25.464: LaTeX2e <2017-04-15> >>>> 05:44:25.465: Babel <3.18> and hyphenation patterns for 84 language(s) >>>> loaded. >>>> 05:44:25.466: >>>> 05:44:25.593: Successful export to format: PDF >>>> (pdflatex)support/lassert.cpp (51): ASSERTION status != ExportSuccess >>>> VIOLATED IN ../../src/Buffer.cpp:4382 >>>> *** >>>> >>>> Any idea what might be wrong? >>>> >>>> Oh yeah... running pdflatex (manually) on LaTeX code produced by LyX >>>> does work. >>> Hi Martin, >>> >>> When you run pdflatex manually on LaTeX code produced by LyX, >>> does it have a non-zero exit code? >>> >>> Can you send a .lyx minimal example file that reproduces the error? >>> >>> Best, >>> >>> Scott >> Sure thing... here you go. But it's really just any .lyx file. >> >> Running pdflatex manually yields a zero exit code (and thus, a .pdf file). >> >> Thanks for your help, > Thanks for the example file. As you probably expected, it compiles fine > on my computer (although it was good to check). > > How did you install LyX? Did you install it from the Ubuntu repository, > or a PPA, or did you manually compile? > > When you do the export, do you get an error dialog? What does the > message pane say right after doing the export? > > The line about the assertion in your output means that LyX did not > detect an error when exporting but at the same time there is no export > file. So LyX is just as confused as we are it seems. > > Best, > > Scott
I have tried both the Ubuntu repo version (which is 2.2) and the version from ppa:lyx-devel/release. Neither version works. I get no error dialog. The message pane either contains said assertion error or no error at all (though there is no pdf file afterwards). Martin -- lyx-users mailing list lyx-users@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-users