Error message using demos in LONGSLIT
Catrina Hamilton-Drager wrote on Oct 12, 2006
I am running IRAF on a MacIntel iMac, and was testing out the system using the demos option in LONGSLIT. This used to run just fine on my PowerBook G4, but now I get this error message:
longslit> demo
MENU of LONGSLIT Demonstrations
test - Test of LONGSLIT package (no comments, no delays)
testt - Test of LONGSLIT package with transposed data
Demo name (test): test
Creating example longslit in image Demoflat ...
Creating example longslit in image Demoarc1 ...
Creating example longslit in image Demoobj ...
Creating example longslit in image Demostd ...
Creating example longslit in image Demoarc2 ...
Demoflat -> demoflat
ERROR: Operation would overwrite existing image (demoflat.fits)
called as: `cl ()'
"clbye()"
line 18: artdata$artdata.cl
called as: `artdata ()'
called as: `cl ()'
called as: `cl ()'
"cl (< demofile)"
line 15: demos$demos.cl
called as: `demos ()'
longslit>
Any thoughts? I was wondering if it had anything to do with the change in platform. Thanks!
longslit> demo
MENU of LONGSLIT Demonstrations
test - Test of LONGSLIT package (no comments, no delays)
testt - Test of LONGSLIT package with transposed data
Demo name (test): test
Creating example longslit in image Demoflat ...
Creating example longslit in image Demoarc1 ...
Creating example longslit in image Demoobj ...
Creating example longslit in image Demostd ...
Creating example longslit in image Demoarc2 ...
Demoflat -> demoflat
ERROR: Operation would overwrite existing image (demoflat.fits)
called as: `cl ()'
"clbye()"
line 18: artdata$artdata.cl
called as: `artdata ()'
called as: `cl ()'
called as: `cl ()'
"cl (< demofile)"
line 15: demos$demos.cl
called as: `demos ()'
longslit>
Any thoughts? I was wondering if it had anything to do with the change in platform. Thanks!
Mike Fitzpatrick wrote on Oct 12, 2006
The error message just means that 'demoflat.fits' already exists. The default behavior is to not overwrite existing files/images, this is controlled by the 'clobber' and 'imclobber' environment variables you can change.
Cheers,
-Mike
Cheers,
-Mike
Catrina Hamilton-Drager wrote on Oct 12, 2006
Hi Mike. I am sitting here at the 31-inch telescope with Ed Anderson. Looks like the problem is with the new Mac platform. ? We tested with imcopy:
imcopy Demoflat demoflat
and similarly with cp
cp Demoflat.fits demoflat.fits
In both cases they claimed we were overwriting a file or that the files were the same. It appears that filenames are not case-sensitive. Is there a way we can fix this?
Thanks!
Catrina Hamilton
imcopy Demoflat demoflat
and similarly with cp
cp Demoflat.fits demoflat.fits
In both cases they claimed we were overwriting a file or that the files were the same. It appears that filenames are not case-sensitive. Is there a way we can fix this?
Thanks!
Catrina Hamilton
Mike Fitzpatrick wrote on Oct 12, 2006
Hi Catrina,
Sorry, the Mac HFS filesystem is case-insensitive so 'Demoflat' and 'demoflat' are seen as the same file in the underlying OS (Note also that ':' can be used as a directory delimiter). It's possible to format HFS to be case-sensitive in Tiger and later, however it means wiping the partition clean to do it.
Cheers,
-Mike
Sorry, the Mac HFS filesystem is case-insensitive so 'Demoflat' and 'demoflat' are seen as the same file in the underlying OS (Note also that ':' can be used as a directory delimiter). It's possible to format HFS to be case-sensitive in Tiger and later, however it means wiping the partition clean to do it.
Cheers,
-Mike
Catrina Hamilton-Drager wrote on Oct 12, 2006
Thanks Mike! I certainly am NOT interested in wiping the partition to make things case sensitive, so I'll just deal with it. :)
Catrina
Catrina
Last post on Oct 12, 2006