osctrtask Hangup
Thursday, October 26, 2017 2:51 PM
Problem(s) Encountered:
At the beginning of the night, osctrtask would hangup after displaying the acqimage and marking the target. However, after leaving it alone for 5-7 minutes, it worked itself out and continued as normal. Later in the night, instead of hanging up and resolving itself, the following messages sprung up:
Located 1 objects in image acqimage
Exception in Tkinter callback
Traceback (most recent call last):
File /usr/custom/Anaconda-2.1.0/lib/python2.7/lib-tk/Tkinter.py , line 1486, in __call__
return self.func(*args)
File /usr/custom/Anaconda-2.1.0/lib/python2.7/site-packages/stsci/tools/editpar.py , line 1245, in execute
self.runTask()
File /usr/custom/Anaconda-2.1.0/lib/python2.7/site-packages/stsci/tools/editpar.py , line 1754, in runTask
self._taskParsObj.run(mode=''h'', _save=1)
Solutions:
Found that imexam was the source of the trouble. For some reason its parameter file ~/iraf/uparm/tvimexae.par had become wildly corrupted and ballooned out to 129 Mbyte, when it''s ordinarily less than 1k. I erased the
corrupted version and replaced it with a fresh one, and it seems to work now. After one successful run through osctrtask, the tvimexae.par file still looks normal.
I have no idea how this could have happened. (Thor)