Welcome to iraf.net Tuesday, April 30 2024 @ 08:25 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 Error message using demos in LONGSLIT
   
BorgChick
 10/12/2006 05:58PM (Read 4984 times)  
+----
Newbie

Status: offline


Registered: 10/12/2006
Posts: 13
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!

 
Profile Email
 Quote
fitz
 10/12/2006 05:58PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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

 
Profile Email
 Quote
BorgChick
 10/12/2006 05:58PM  
+----
Newbie

Status: offline


Registered: 10/12/2006
Posts: 13
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 demoflatand similarly with cpcp Demoflat.fits demoflat.fitsIn 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

 
Profile Email
 Quote
fitz
 10/12/2006 05:58PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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

 
Profile Email
 Quote
BorgChick
 10/12/2006 05:58PM  
+----
Newbie

Status: offline


Registered: 10/12/2006
Posts: 13
Thanks Mike! I certainly am NOT interested in wiping the partition to make things case sensitive, so I'll just deal with it. Smile Catrina

 
Profile Email
 Quote
   
Content generated in: 0.16 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login