From: Trevor L. <law...@gm...> - 2007-06-22 21:30:34
|
Hello, I recently obtained Gnuplot.py and it appears to be importable. However, when I ran the test.py script, I got the following error message (I believe from gnuplot): " gnuplot> set terminal postscript eps enhanced gnuplot> set output "gp_test.ps" gnuplot> plot cos(0.5*x*x) title "cos(0.5*x^2)" with linespoints 2 2 gnuplot> set terminal x11 gnuplot> set output Testing hardcopy options: mode="default" Press return to show results... gnuplot> set terminal postscript default enhanced gnuplot> set output "gp_test.ps" gnuplot> plot cos(0.5*x*x) title "cos(0.5*x^2)" with linespoints 2 2 gnuplot> set terminal x11 gnuplot> set output Testing hardcopy options: enhanced=1 Press return to show results... line 714: undefined variable: default " Otherwise the tests seemed to work fine (although some did not produce the visual changes I expected, I do not know enough about gnuplot to know if there are any issues). The command in test.py that results in the error appears to be line 223. I would just like to make sure this is not a major issue that would indicate that gnuplot.py is not functioning correctly on my machine. Sorry for the two mailing list posts. I don't anticipate having to be any more of a bother. Trevor Law |
From: <bm...@ca...> - 2007-06-22 22:59:23
|
Mailing lists are for questions, don't worry. Nothing should fail in the tests, if they do, something is wrong. Personally I'm running from the SVN version, are you? I did not fully understand this release mail as nothing is on sourceforge. Anyway, checkout from SVN: http://sourceforge.net/svn/?group_id=17434 and follow install instructions. Then run the test.py Benny Quoting Trevor Law <law...@gm...>: > Hello, > > I recently obtained Gnuplot.py and it appears to be importable. However, > when I ran the test.py script, I got > the following error message (I believe from gnuplot): > > " > gnuplot> set terminal postscript eps enhanced > gnuplot> set output "gp_test.ps" > gnuplot> plot cos(0.5*x*x) title "cos(0.5*x^2)" with linespoints 2 2 > gnuplot> set terminal x11 > gnuplot> set output > Testing hardcopy options: mode="default" > Press return to show results... > > gnuplot> set terminal postscript default enhanced > gnuplot> set output "gp_test.ps" > gnuplot> plot cos(0.5*x*x) title "cos(0.5*x^2)" with linespoints 2 2 > gnuplot> set terminal x11 > gnuplot> set output > Testing hardcopy options: enhanced=1 > Press return to show results... > line 714: undefined variable: default > " > > Otherwise the tests seemed to work fine (although some did not produce the > visual changes I expected, > I do not know enough about gnuplot to know if there are any issues). The > command in test.py that results > in the error appears to be line 223. > > I would just like to make sure this is not a major issue that would indicate > that gnuplot.py is not functioning correctly > on my machine. > > Sorry for the two mailing list posts. I don't anticipate having to be any > more of a bother. > > Trevor Law > ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |
From: Trevor L. <law...@gm...> - 2007-06-25 23:32:04
|
Regarding error described below in reply history. I followed the svn instructions (and did essentially what I believe I did before). The same error occurred. So something does appear to fail in the tests (as described below). If someone with experience working with the source could let me know whether or not this test error is serious, I would appreciate it very much. Thank you for your time, Trevor Law On 6/22/07, bm...@ca... < bm...@ca...> wrote: > > Mailing lists are for questions, don't worry. > > Nothing should fail in the tests, if they do, something is wrong. > Personally I'm running from the SVN version, are you? I did not fully > understand > this release mail as nothing is on sourceforge. > Anyway, checkout from SVN: http://sourceforge.net/svn/?group_id=17434 > and follow > install instructions. Then run the test.py > > Benny > > > Quoting Trevor Law < law...@gm...>: > > > Hello, > > > > I recently obtained Gnuplot.py and it appears to be > importable. However, > > when I ran the test.py script, I got > > the following error message (I believe from gnuplot): > > > > " > > gnuplot> set terminal postscript eps enhanced > > gnuplot> set output "gp_test.ps" > > gnuplot> plot cos(0.5*x*x) title "cos(0.5*x^2)" with linespoints 2 2 > > gnuplot> set terminal x11 > > gnuplot> set output > > Testing hardcopy options: mode="default" > > Press return to show results... > > > > gnuplot> set terminal postscript default enhanced > > gnuplot> set output "gp_test.ps" > > gnuplot> plot cos(0.5*x*x) title "cos(0.5*x^2)" with linespoints 2 2 > > gnuplot> set terminal x11 > > gnuplot> set output > > Testing hardcopy options: enhanced=1 > > Press return to show results... > > line 714: undefined variable: default > > " > > > > Otherwise the tests seemed to work fine (although some did not produce > the > > visual changes I expected, > > I do not know enough about gnuplot to know if there are any > issues). The > > command in test.py that results > > in the error appears to be line 223. > > > > I would just like to make sure this is not a major issue that would > indicate > > that gnuplot.py is not functioning correctly > > on my machine. > > > > Sorry for the two mailing list posts. I don't anticipate having to be > any > > more of a bother. > > > > Trevor Law > > > > > > ---------------------------------------------------------------- > This message was sent using IMP, the Internet Messaging Program. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Gnuplot-py-users mailing list > Gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-py-users > |
From: Michael H. <mh...@al...> - 2007-06-26 09:59:34
|
Trevor Law wrote: > Regarding error described below in reply history. I followed the svn > instructions (and did essentially what I believe I did before). The > same error occurred. So something does appear to fail in the tests (as > described below). If someone with experience working with the source > could let me know whether or not this test error is serious, I would > appreciate it very much. > > On 6/22/07, * bm...@ca... <mailto:bm...@ca...>* < > bm...@ca... <mailto:bm...@ca...>> wrote: > Quoting Trevor Law < law...@gm... <mailto:law...@gm...>>: > > > I recently obtained Gnuplot.py and it appears to be > importable. However, > > when I ran the test.py script, I got > > the following error message (I believe from gnuplot): > > > > gnuplot> set terminal postscript default enhanced > > gnuplot> set output "gp_test.ps" > > gnuplot> plot cos(0.5*x*x) title "cos(0.5*x^2)" with linespoints 2 2 > > gnuplot> set terminal x11 > > gnuplot> set output > > Testing hardcopy options: enhanced=1 > > Press return to show results... > > line 714: undefined variable: default > > " > > > > Otherwise the tests seemed to work fine (although some did not > produce the > > visual changes I expected, > > I do not know enough about gnuplot to know if there are any > issues). The > > command in test.py that results > > in the error appears to be line 223. > > > > I would just like to make sure this is not a major issue that would > indicate > > that gnuplot.py is not functioning correctly > > on my machine. It appears that the error message is emitted by gnuplot when Gnuplot.py sends it the command "set terminal postscript default enhanced". Probably the "default" option has been removed. According to my version of gnuplot's "help set terminal postscript", "default" is a valid option. Obviously it must have been valid when the test suite was written. But presumably this option has been removed from gnuplot without the documentation having been updated. I wouldn't worry about it. If the rest of the test suite runs OK, then you shouldn't have any problems (as long as you don't use the "default" option for hard copies!) Patches to the test suite and/or Gnuplot.hardcopy() method (which actually requires changes in termdefs.py) would be welcome. Michael |
From: BBands <bb...@ya...> - 2007-06-26 17:21:44
|
--- Michael Haggerty <mh...@al...> wrote: > It appears that the error message is emitted by gnuplot when Gnuplot.py > sends it the command "set terminal postscript default enhanced". > Probably the "default" option has been removed. > > According to my version of gnuplot's "help set terminal postscript", > "default" is a valid option. Obviously it must have been valid when the > test suite was written. But presumably this option has been removed > from gnuplot without the documentation having been updated. > > I wouldn't worry about it. If the rest of the test suite runs OK, then > you shouldn't have any problems (as long as you don't use the "default" > option for hard copies!) > > Patches to the test suite and/or Gnuplot.hardcopy() method (which > actually requires changes in termdefs.py) would be welcome. I dug in a bit and it appears that the 4.1+ behavior is this: set term post sets the term to postscript with whatever values are current set term post def sets the terminal to postscript with default values or resets post term values to defaults set term post enh sets the terminal to enhanced postscript set term post noenh sets the terminal to noenhanced postscript set term post def enh throws an 'extraneous argument' warning and does nothing enhanced/noehanced is not changed by def jab John Bollinger, CFA, CMT www.BollingerBands.com If you advance far enough, you arrive at the beginning. ____________________________________________________________________________________ It's here! Your new message! Get new email alerts with the free Yahoo! Toolbar. http://tools.search.yahoo.com/toolbar/features/mail/ |