ERROR: task `date’ not found
mlystrup wrote on Feb 19, 2010
I have been playing around in IRAF, trying out different data reduction tools and getting a feel for how things work. (This is my first time using it.) Things were working splendidly until they weren't. I now get this message when running nsheaders, mireduce, etc.:
midir> nsheaders michelle
ERROR: task `date' not found
"date | scan (sdate)"
line 79: gnirs$nsheaders.cl
called as: `nsheaders (instrument=michelle)'
although it was working previously in the same session. FWIW I have been changing parameters for mireduce, msreduce, mistack, etc. via epar to fit my reduction needs. Also for directory commands:
midir> pwd
ERROR: task `pwd' not found
and similar for cd. Help is much appreciated. Thanks!
midir> nsheaders michelle
ERROR: task `date' not found
"date | scan (sdate)"
line 79: gnirs$nsheaders.cl
called as: `nsheaders (instrument=michelle)'
although it was working previously in the same session. FWIW I have been changing parameters for mireduce, msreduce, mistack, etc. via epar to fit my reduction needs. Also for directory commands:
midir> pwd
ERROR: task `pwd' not found
and similar for cd. Help is much appreciated. Thanks!
Mike Fitzpatrick wrote on Feb 19, 2010
The 'date' command (and 'cd', 'ls', etc) are foreign commands and declared in the login.cl file. The path to these commands must be declared in your .cshrc file (or the equivalent for a bash shell).
My guess is you logged in from a directory without a login.cl file, its possible the CL was somehow corrupted but as far as we know there are no known causes for this. Try logging out of the CL and back in again.
My guess is you logged in from a directory without a login.cl file, its possible the CL was somehow corrupted but as far as we know there are no known causes for this. Try logging out of the CL and back in again.
mlystrup wrote on Feb 19, 2010
Thank you! Yes, that was the problem.
Last post on Feb 19, 2010