[prev in list] [next in list] [prev in thread] [next in thread]
List: lyx-devel
Subject: Re: trunk regression
From: Richard Heck <rgheck () comcast ! net>
Date: 2012-05-31 13:23:07
Message-ID: 4FC770BB.6020600 () comcast ! net
[Download RAW message or body]
On 05/31/2012 12:58 AM, Scott Kostyshak wrote:
> From: Richard Heck [rgheck@comcast.net]
> Sent: Wednesday, May 23, 2012 8:43 AM
>
> >On 05/23/2012 03:21 AM, Scott Kostyshak wrote:
> >> LyX hangs if a converter fails. I can reproduce this in current
> trunk by opening a new document and putting \foo in an ERT box and
> trying to view or >>export to pdflatex.
> >>
> >> git bisect led me here:
> >> 288c1e0faad85d4b0f17e366cb5c44473a133957
> >>
>
> >Can't reproduce. I get the error dialog, click "Close", and continue.
>
> I'm still having problems with this. I'm getting this on two different
> systems with Ubuntu 12.04 64-bit. I've done fresh compiles of LyX.
> The problem happens in SystemcallPrivate::waitWhile here
> if (process_->waitForFinished(timeout))
> return true;
>
> Normally in this case, waitForFinished returns true. But for me after
> the stated commit I have to wait for the process to time out. I
> thought this might have something to do with
> QProcess::ProcessChannelMode but I experimented with different modes
> and nothing changed.
>
Not trying to be touchy, but it's very hard to see how the mentioned
commit could cause this. The only thing it affects is the LaTeX output
(nice file or not nice file), in certain cases. That said, you are
getting different LaTeX output in the two cases, which is surprising.
Did you add the "nice" flag somewhere? Or was one of these exported
rather than taken from the temporary directory?
> When viewing as pdf (pdflatex), there are different terminal outputs
> and different .tex files produced. The files from the temporary
> directories are attached. The post-288c1 commit .log is empty and the
> .aux is empty where the pre-288c1 .log is normal and there is no .aux
> file.
>
The empty file is probably due to something's not being closed.
Are you compiling with some special flag? Compilation would normally be
in the background, right?
One suggestion would be to run this with -dbg latex, and see if that
shows any difference.
Richard
[Attachment #3 (text/html)]
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 05/31/2012 12:58 AM, Scott Kostyshak wrote:
<blockquote
cite="mid:055B2A349DB9C841BDBE4C28453CF09E1BE30804@CSGMBX200W.pu.win.princeton.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0,
0); font-size: 10pt;"><span style="font-family: Tahoma;">From:
Richard Heck [<a class="moz-txt-link-abbreviated" \
href="mailto:rgheck@comcast.net">rgheck@comcast.net</a>]<br> Sent: Wednesday, May \
23, 2012 8:43 AM<br> <br>
>On 05/23/2012 03:21 AM, Scott Kostyshak wrote:<br>
>> LyX hangs if a converter fails. I can reproduce this
in current trunk by opening a new document and putting \foo in
an ERT box and trying to view or >>export to pdflatex.<br>
>><br>
>> git bisect led me here:<br>
>> 288c1e0faad85d4b0f17e366cb5c44473a133957<br>
>><br>
<br>
>Can't reproduce. I get the error dialog, click "Close",
and continue.<br>
<br>
I'm still having problems with this. I'm getting this on two
different systems with Ubuntu 12.04 64-bit. I've done fresh
compiles of LyX.<br>
The problem happens in SystemcallPrivate::waitWhile here<br>
if (process_->waitForFinished(timeout))<br>
return true;<br>
<br>
Normally in this case, waitForFinished returns true. But for
me after the stated commit I have to wait for the process to
time out. I thought this might have something to do with
QProcess::ProcessChannelMode but I experimented with different
modes and nothing changed.<br>
<br>
</span></div>
</blockquote>
Not trying to be touchy, but it's very hard to see how the mentioned
commit could cause this. The only thing it affects is the LaTeX
output (nice file or not nice file), in certain cases. That said,
you are getting different LaTeX output in the two cases, which is
surprising. Did you add the "nice" flag somewhere? Or was one of
these exported rather than taken from the temporary directory?<br>
<br>
<blockquote
cite="mid:055B2A349DB9C841BDBE4C28453CF09E1BE30804@CSGMBX200W.pu.win.princeton.edu"
type="cite">
<div style="direction: ltr; font-family: Tahoma; color: rgb(0, 0,
0); font-size: 10pt;"><span style="font-family: Tahoma;">
When viewing as pdf (pdflatex), there are different terminal
outputs and different .tex files produced. The files from the
temporary directories are attached. The post-288c1 commit .log
is empty and the .aux is empty where the pre-288c1 .log is
normal and there is no .aux file.<br>
<br>
</span></div>
</blockquote>
The empty file is probably due to something's not being closed.<br>
<br>
Are you compiling with some special flag? Compilation would normally
be in the background, right?<br>
<br>
One suggestion would be to run this with -dbg latex, and see if that
shows any difference.<br>
<br>
Richard<br>
<br>
</body>
</html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic