Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

strange error with SHOW AXIS/OUTFILE #1466

Closed
karlmsmith opened this issue Nov 23, 2017 · 3 comments
Closed

strange error with SHOW AXIS/OUTFILE #1466

karlmsmith opened this issue Nov 23, 2017 · 3 comments

Comments

@karlmsmith
Copy link
Contributor

karlmsmith commented Nov 23, 2017

Reported by @AndrewWittenberg on 18 Aug 2014 20:58 UTC
Do you reproduce this? What does the error mean?

 	NOAA/PMEL TMAP
 	FERRET v6.923 (beta)
 	Linux 2.6.32-431.20.3.el6.x86_64 64-bit - 07/31/14
 	18-Aug-14 16:54     

yes? sho ax/clobber/outfile="test.txt" month_irreg
yes? sho ax/clobber/outfile="test.txt" month_irreg
**ERROR: test.txt: Success

I'm seeing other issues as well with SHOW AXIS/OUTFILE, which make me wonder whether there's some kind of file-write buffering problem here.

(The application here, is that I'm trying to write a script to determine whether an axis has already been defined...)

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2194

@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 23, 2017

Comment by @AnsleyManke on 19 Aug 2014 17:47 UTC
Yes, there are bugs; the file was not being closed after each command writes to it. (SHOW with the /OUTFILE qualifier has been well tested and heavily used in combination with /XML, but not without it.)

@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 23, 2017

Comment by @AndrewWittenberg on 19 Aug 2014 18:55 UTC
Using the updated version of Ferret, I still see two related errors, back-to-back...

 	NOAA/PMEL TMAP
 	FERRET v6.925  
 	Linux 2.6.32-431.23.3.el6.x86_64 64-bit - 08/19/14
 	19-Aug-14 14:51     

yes? let a = 1
yes? sho var/tree/clob/outfile="a.txt"; list spawn("cat a.txt")
             VARIABLE : SPAWN("cat a.txt")
             X        : 1
        ""
yes? sho var/tree/clob/outfile="a.txt"; list spawn("cat a.txt")
**ERROR: a.txt: Success
sho var/tree/clob/outfile="a.txt"

@karlmsmith karlmsmith reopened this Nov 23, 2017
@karlmsmith
Copy link
Contributor Author

karlmsmith commented Nov 23, 2017

Comment by @AnsleyManke on 19 Aug 2014 21:53 UTC
Ok, SHOW VAR/VTREE/OUTFILE is fixed as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant