From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.santannapisa.it (mail.santannapisa.it [193.205.80.98]) by sourceware.org (Postfix) with ESMTP id 22031385DC35 for ; Thu, 28 May 2020 18:12:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 22031385DC35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=lyx.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=forenr@lyx.org Received: from [80.117.62.60] (account e.forestieri@santannapisa.it HELO jovis.sssup.it) by santannapisa.it (CommuniGate Pro SMTP 6.1.11) with ESMTPSA id 148471422 for cygwin@cygwin.com; Thu, 28 May 2020 20:12:46 +0200 Received-SPF: none receiver=ucs.santannapisa.it; client-ip=80.117.62.60; envelope-from=forenr@lyx.org Received: by jovis.sssup.it (sSMTP sendmail emulation); Thu, 28 May 2020 20:12:45 +0200 Date: Thu, 28 May 2020 20:12:45 +0200 From: Enrico Forestieri To: cygwin@cygwin.com Subject: Re: Issue with lyx and recent dll Message-ID: <20200528181245.GB1180@GIOVE> Mail-Followup-To: cygwin@cygwin.com References: <20200528105056.GA1180@GIOVE> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 May 2020 18:12:50 -0000 On Thu, May 28, 2020 at 07:35:12PM +0200, Marco Atzeri via Cygwin wrote: > On 28.05.2020 12:50, Enrico Forestieri wrote: > > Hi, > > > > when activating instant preview in Tools>Preferences>Display, one can > > preview a latex snippet in the lyx work area by inserting it in a > > preview inset (Insert>Preview). > > > > However, since version 3.1.0 it does not work anymore, in the sense > > that the preview is not generated. As this feature is working correctly > > on all other platforms, investigating a bit evidenced that downgrading > > the dll to version 3.0.7 solves the issue. > > > > I am attaching an example document demonstrating the issue. The latex > > source used for instant preview is generated in the lyx temporary > > directory (/tmp/lyx_tmpdir.XXXXXXXXXXXX/) but latex is never run on it > > to generate the images. As lyx launches latex in a forked process, this > > has to be a fork problem, but no error is issued. The forked process > > seems to never run, simply. > > > > > > Testing on 2.3.4.2-2, it seems that the file is processed: > > from lyxpreviewE14071.log > > This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Cygwin) > (preloaded > format=latex 2020.4.22) 28 MAY 2020 19:21 > > .... > ! LaTeX Error: File `qtree.sty' not found. > > > the file seems in texlive-collection-humanities Thanks for checking. This is weird. I tried it on 2 different computers and it is not processed. I see the lyxpreview*.tex but no lyxpreview*.log. After closing the document I see on the terminal the message "ForkedProcess::kill(0)", meaning that lyx thinks the preview process is still running and tries to kill it. -- Enrico