Welcome to iraf.net Friday, March 29 2024 @ 01:47 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 ERROR: Seek error on file
   
corrado
 04/05/2015 09:52AM (Read 3848 times)  
+----
Newbie

Status: offline


Registered: 04/05/2015
Posts: 3
Hello all,

the lastest version of IRAF I installed (2.16) seems not to take lists of spectra, the problem is not bound to one particular task. For instance, by using scopy on a list of spectra @list.fits I get the error

ERROR: Seek error on file (giskard!/home/corrado/spectra/list.fits)
"verbose=verbose)"
line 29: onedspec$scopy.cl
called as: `scopy (mode=h)'

I get a similar error if I call wspectext, dispcor or another task. What is wrong?
The same list of spectra work without errors on another machine, so I suppose there is some wrong on the settings of IRAF on my machine.
Thank you for any suggestion/help you can give me.

Cheers,
Corrado

 
Profile Email
 Quote
fitz
 04/06/2015 03:34PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
I can think of three possible causes:

1) If the file list is especially long (e.g. hundreds of file paths) then you may be seeing a bug in the new image template code, however this normally shows up as a segfault in the task. The workaround is to do

cl\$this->_split2($m[0]) reset use_new_imt = no

before running the task. You can make this change permanent by editing the hlib$zzsetenv.def file or putting this statement in your login.cl before the final 'keep'

2) The FITS file itself is actually corrupt. Can you run a task on just the failing file? Is it always this file name, or this position in the list?

3) The file is \$this->_split2($m[0]) 2GB in size or on a 64-bit filesystem and you are using a 32-bit IRAF. If true, there is no workaround other than to use a 64-bit version of IRAF.

 
Profile Email
 Quote
corrado
 04/09/2015 07:32AM  
+----
Newbie

Status: offline


Registered: 04/05/2015
Posts: 3
Thank you for your answer!

your points 1) and 2) does not apply because the list is not too long and the fits files are not corrupted. In fact I could process them with IRAF on another machine. The machine that gives the error can process the fits files one by one correctly, but when I give the list of the same spectra, it gives the error.

About point 3) the files are not so big and I'm pretty sure I installed the 64-bit IRAF, since the machine is a 64-bit one.

still looking for a solution...

 
Profile Email
 Quote
corrado
 04/09/2015 07:37AM  
+----
Newbie

Status: offline


Registered: 04/05/2015
Posts: 3
I correct myself!

I tried to set the "cl\$this->_split2($m[0]) reset use_new_imt = no" that you suggested, and it works!
Thank you very much!
Cheers,
Corrado

 
Profile Email
 Quote
   
Content generated in: 0.12 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