#479445 gnuplot: wrong line numbers for missing files reported during replot

#479445#5
Date:
2008-05-04 20:53:36 UTC
From:
To:
Hi,

consider the following test.gnuplot file:

========
plot \
        x, \
        "missing.dat",\
        "also-missing.dat"

replot

pause -1
========

The files missing.dat and also-missing.dat do not exist.
Run this via 'gnuplot test.gnuplot' and you get the following output:

"test.gnuplot", line 4: warning: Skipping unreadable file "missing.dat"
"test.gnuplot", line 4: warning: Skipping unreadable file "also-missing.dat"
"test.gnuplot", line 6: warning: Skipping unreadable file "missing.dat"
"test.gnuplot", line 6: warning: Skipping unreadable file "also-missing.dat"

So far, this is OK, but now I issue a replot from the WX window (key 'e')
and I get this:

"test.gnuplot", line 8: warning: Skipping unreadable file "missing.dat"
"test.gnuplot", line 8: warning: Skipping unreadable file "also-missing.dat"

The line number (8) reported here is that of the pause command, not that of
the plot or replot command, so it's a bit misleading.


Andreas

#479445#10
Date:
2010-09-15 08:00:30 UTC
From:
To:
#479445#21
Date:
2014-04-20 08:22:29 UTC
From:
To:
forwarded 479445 https://sourceforge.net/p/gnuplot/feature-requests/270/
tags 479445 wishlist
thanks

Upstream tracker URL changed. They decided this is too much of a pain to
fix, so they're not working on it.