Dear Gnuplot developers,
the following bug has been reported on Debian Bug-Tracker. I would like you to ask to have a look at it [1]:
========================
When running a "call" command with arguments, if the called file runs a "load" command, then the arguments are destroyed.
For example, if there are three files in the current directory:
experiment.plot:
set samples 1000
set pointsize 2.5
call "experiment.plotcall" "1"
experiment.plotcall:
load "experiment.plotload"
set terminal postscript eps monochrome enhanced dashed dashlength 2 22 size 6.6in, 4.45in
set output "experiment.eps"
plot 'flibble$0.out'
experiment.plotload:
<empty file=""></empty>
then the command "gnuplot experiment.plot" is run with version 4.6.4-1~bpo70+1, then the following error message will be given:
"experiment.plotcall", line 6: warning: Skipping unreadable file "flibble.out"
"experiment.plotcall", line 6: No data in plot
whereas with version 4.4.0, the following error message is given:
"experiment.plotcall", line 6: warning: Skipping unreadable file "flibble1.out"
"experiment.plotcall", line 6: No data in plot
Mentioned files are attached.
[1] https://bugs.debian.org/743247
Thank you
Anton
Sorry for false formatting and not logging-in reporting this bug.
I can't reproduce this. Here is what I see:
[1] gnuplot_4.4.0 experiment.plot
"experiment.plotcall", line 4: warning: Skipping unreadable file "flibble1.out"
"experiment.plotcall", line 4: No data in plot
[2] gnuplot_4.6.3 experiment.plot
"experiment.plotcall", line 4: warning: Skipping unreadable file "flibble1.out"
"experiment.plotcall", line 4: No data in plot
[3] gnuplot_4.6.4 experiment.plot
"experiment.plotcall", line 4: warning: Skipping unreadable file "flibble1.out"
"experiment.plotcall", line 4: No data in plot
[4] gnuplot_4.6.5 experiment.plot
"experiment.plotcall", line 4: warning: Skipping unreadable file "flibble1.out"
"experiment.plotcall", line 4: No data in plot
[5] gnuplot_5.0.rc1 experiment.plot
"experiment.plotcall", line 4: warning: Skipping unreadable file "flibble$0.out"
"experiment.plotcall", line 4: No data in plot
I can test more release versions if you like, but based on this set it appears the bug was not in a released version of gnuplot. Perhaps it was introduced locally?
tags 743247 +unreproducible
thanks
Hi Ethan,
you are right, I have just tried it and got also "flibble1.out", sorry
for possible false alarm.
Matthew, please confirm whether you still have problems.
Thanks
Anton
2014-05-29 18:37 GMT+02:00 Ethan Merritt sfeam@users.sf.net:
Hmm. The last part of my comment seems to have been lost.
The reason 5.0.rc1 prints a different error message is that the argument passing mechanism for "call" commands has been replaced in version 5.