Welcome to iraf.net Tuesday, May 07 2024 @ 03:00 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 problem in psf (in daophot)
   
nakisa
 02/18/2010 10:41AM (Read 3201 times)  
+----
Newbie

Status: offline


Registered: 10/02/2009
Posts: 10
Hello
While I use psf interactively , after selecting sources and pressing keystroke "a", suddenly it stopps and return me this error :
4 PSF stars read from new.fits.pst.1Killing IRAF task `psf'
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/local/ScienceTools-v9r15p2-fssc-20090808-x86_64-unknown-linux-gnu-libc2.5/x86_64-unknown-linux-gnu-libc2.5/lib/python2.5/lib-tk/Tkinter.py", line 1403, in __call__
return self.func(*args)
File "/usr/local/ScienceTools-v9r15p2-fssc-20090808-x86_64-unknown-linux-gnu-libc2.5/x86_64-unknown-linux-gnu-libc2.5/lib/python2.5/site-packages/pytools/editpar.py", line 1058, in execute
self.runTask()
File "/usr/local/ScienceTools-v9r15p2-fssc-20090808-x86_64-unknown-linux-gnu-libc2.5/x86_64-unknown-linux-gnu-libc2.5/lib/python2.5/site-packages/pytools/editpar.py", line 1423, in runTask
self._taskParsObj.run(mode='h', _save=1)
File "/usr/local/ScienceTools-v9r15p2-fssc-20090808-x86_64-unknown-linux-gnu-libc2.5/x86_64-unknown-linux-gnu-libc2.5/lib/python2.5/site-packages/pyraf/iraftask.py", line 302, in run
self._run(redirKW, specialKW)
File "/usr/local/ScienceTools-v9r15p2-fssc-20090808-x86_64-unknown-linux-gnu-libc2.5/x86_64-unknown-linux-gnu-libc2.5/lib/python2.5/site-packages/pyraf/iraftask.py", line 741, in _run
(self, iraf.getVarDict()), redirKW)
File "/usr/local/ScienceTools-v9r15p2-fssc-20090808-x86_64-unknown-linux-gnu-libc2.5/x86_64-unknown-linux-gnu-libc2.5/lib/python2.5/site-packages/pyraf/irafexecute.py", line 357, in IrafExecute
raise exc
IrafError: Cannot open image display
do you have any clue ?best,nakisa

 
Profile Email
 Quote
fitz
 02/18/2010 10:41AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
If the image display (DS9 or XImtool) crashes and goes away then this is a bug in the display server, the error messages you see are because the task can no longer talk to it. OTOH, it could be a bug in PyRAF, does the same thing happen when you use the standard CL? You might get a response to PyRAF issues here, otherwise you should contact the STScI Help Desk (help@stsci.edu). There are no known open issues with the PSF task, and the error messages don't indicate it was the PSF task that failed.-Mike

 
Profile Email
 Quote
nakisa
 02/18/2010 10:41AM  
+----
Newbie

Status: offline


Registered: 10/02/2009
Posts: 10
hi , my error was I didn't open ds9 beside pyraf !
but now , as far I press f keystroke it works fine .but when I press r to reivew and w and q , it is not working ! do you know why ?Fitting function gauss norm scatter: 0.1013103Analytic PSF fit
Function: gauss X: 30. Y: 30. Height: 0.4287449 Psfmag: 24.276
Par1: 0.969137 Par2: 1.13536Computed 1 lookup table(s)no keystroke works after this lines ! thanks nakisa

 
Profile Email
 Quote
fitz
 02/18/2010 10:41AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
You may need to get a newer version of DS9: during various releases things broke and some keystrokes aren't being passed through to the client in cursor-read mode (i.e. the 'f' is the builtin DS9 command not the task keystroke). You should see a blinking circle cursor when in cursor mode, if IRAF and DS9 somehow lost sync in the read then you can try to restart DS9. I'm also assuming this isn't an input-focus problem, i.e. do you need to click on the DS9 window to direct input to the window or does the focus follow your mouse?

 
Profile Email
 Quote
nakisa
 02/18/2010 10:41AM  
+----
Newbie

Status: offline


Registered: 10/02/2009
Posts: 10
Hi I think the connection between ds9 and pyraf is lost :
===================================================
omputing PSF for image: new.fits
29 stars read from new.fits.mag.1Star 9 has been added to the PSF star list
X: 34.10 Y: 25.96 Mag: 24.276 Dmin: -0.01702284 Dmax: 0.426677
Star 28 has been added to the PSF star list
X: 32.24 Y: 56.45 Mag: 24.500 Dmin: -0.007852103 Dmax: 0.2966193
Star 8 has been added to the PSF star list
X: 57.44 Y: 23.87 Mag: 24.769 Dmin: -0.01296441 Dmax: 0.2620879
Star 27 has been added to the PSF star list
X: 14.14 Y: 54.79 Mag: 25.241 Dmin: -0.01097132 Dmax: 0.20417874 PSF stars read from new.fits.pst.1Killing IRAF task `psf'PANIC in `/iraf/iraf/noao/bin.linux/x_daophot.e': Write to IPC with no reader
Exception in Tkinter callback
Traceback (most recent call last):
File "/usr/lib/python2.5/lib-tk/Tkinter.py", line 1417, in __call__
return self.func(*args)
File "/usr/lib/python2.5/site-packages/pytools/editpar.py", line 1058, in execute
self.runTask()
File "/usr/lib/python2.5/site-packages/pytools/editpar.py", line 1423, in runTask
self._taskParsObj.run(mode='h', _save=1)
File "/usr/lib/python2.5/site-packages/pyraf/iraftask.py", line 277, in run
self._run(redirKW, specialKW)
File "/usr/lib/python2.5/site-packages/pyraf/iraftask.py", line 716, in _run
(self, iraf.getVarDict()), redirKW)
File "/usr/lib/python2.5/site-packages/pyraf/irafexecute.py", line 357, in IrafExecute
raise exc
IrafError: Cannot open image display
What is your suggestion ?
Best,Nakisa

 
Profile Email
 Quote
fitz
 02/18/2010 10:41AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
It looks like the DS9 died, did the window disappear? If so then this is a problem in DS9 and not the task. Various versions have been known to have problems with image display, try getting the latest version from SAO or checking the DS9 web pages for known problems.

 
Profile Email
 Quote
nakisa
 02/18/2010 10:41AM  
+----
Newbie

Status: offline


Registered: 10/02/2009
Posts: 10
hello
I check ds9 's version is 6.0 . so the problem is not the version!best,nakisa

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