|
From: sfeam <sf...@us...> - 2014-02-08 23:44:08
|
On Saturday, 08 February 2014 04:59:23 PM Daniel J Sebald wrote:
>
> Looking at the code, it seems that the printout above might be in error.
> I see the following:
You are right. The debug statement dumps the wrong string.
Mojca:
Please apply the following additional patch and repeat your experiment:
%%%%%%%%%%%%%%%%%
--- gnuplot/src/qtterminal/qt_term.cpp 2014-01-26 13:57:10.687171903 -0800
+++ gnuplot-cvs/src/qtterminal/qt_term.cpp 2014-02-08 15:33:45.873131386 -0800
@@ -273,7 +274,7 @@ void qt_connectToServer(const QString& s
// The gnuplot_qt program could not be reached: try to start a new one
else
{
- qDebug() << "Could not connect gnuplot_qt" << qt_option->Widget << ". Starting a new one";
+ qDebug() << "Could not connect gnuplot_qt" << server << ". Starting a new one";
execGnuplotQt();
qt_connectToServer(qt->localServerName, false);
}
%%%%%%%%%%%%%%%%%%
Now here's an interesting thing. I can get approximately the same behavior
under linux that you report under OSX by deliberately setting GNUPLOT_DRIVER_DIR
to an incorrect directory. So to be on the safe side, could you please set
this environmental variable even though it should be redundant?
Another possible test:
Change the timeout value on line 259 from
qt->socket.waitForConnected(200);
to
qt->socket.waitForConnected(-1);
This could potentially cause gnuplot to hang, but it also might work :-)
Ethan
|