Welcome to iraf.net Thursday, May 02 2024 @ 01:29 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 Trouble with external package tables
   
eratnayake
 12/07/2010 10:39AM (Read 2807 times)  
+----
Newbie

Status: offline


Registered: 12/07/2010
Posts: 4
Hi,I'm running in to an error. Here is my console output.[erathna@osiris ~]$ cl
setting terminal type to xterm... NOAO/IRAFNET PC-IRAF Revision 2.14.1 Mon Sep 15 10:12:05 MST 2008
This is the RELEASED version of IRAF V2.14 supporting PC systems.
Welcome to IRAF. To list the available commands, type ? or ??. To get
detailed information about a command, type `help <command>'. To run a
command or load a package, type its name. Type `bye' to exit a
package, or `logout' to get out of the CL. Type `news' to find out
what is new in the version of the system you are using. Visit https://iraf.net if you have questions or to report problems. The following commands or packages are currently defined: apropos images. mscred. plot. stsdas. utilities.
dataio. language. noao. proto. system.
dbms. lists. obsolete. softools. tables.ecl> mscred
ccdhedit msccmatch mscotfflat mscwcs
ccdlist msccmd mscpixarea mscwfits
ccdproc mscctran mscpupil msczero
combine mscdisplay mscrfits rmfringe
darkcombine mscexamine mscselect rmpupil
flatcombine mscfinder mscsetwcs setinstrument
irmfringe mscfindgain mscshutcor sflatcombine
irmpupil mscfocus mscskysub xtalkcor
mimpars@ mscgetcatalog mscsplit xtcoeff
mkmsc mscimage mscstack zerocombine
mscagetcat mscimatch mscstat
mscarith mscjoin msctoshort
mscblkavg mscmedian msctvmarkmscred> mscgetcatalog obj0008_c1.fits obj0008_c1.txt
mscred> mscdisp obj0008_c1.fits 1
Amp: Individual Display (zcombine=none)
c1: 181.6 448.5 181.6 448.5
mscred> msctvmark obj0008_c1.txt 1
mscred> mscfinder
msctpeakmscfinder> lpar msctpeak
images = List of WCS calibrated Mosaic images
coordinates = "" List of ra(hr), dec(deg), optional id
database = "" Database for astrometric fit
(extname = "") Extensions
(epoch = 2000.) Coordinate epoch
(update = yes) Update image header WCS following fit?
(autocenter = no) Center catalog coords when entering task?
(boxsize = 9) Centering box fullwidth\n
(projection = "tnx") Sky projection geometry
(fitgeometry = "general") Fitting geometry
(function = "polynomial") Surface type
(xxorder = 4) Order of xi fit in x
(xyorder = 4) Order of xi fit in y
(xxterms = "half") Xi fit cross terms type\n
(yxorder = 4) Order of eta fit in x
(yyorder = 4) Order of eta fit in y
(yxterms = "half") Eta fit cross terms type?\n
(reject = INDEF) Rejection limit in sigma units\n
(interactive = yes) Enter interactive image cursor loop?
(frame = 1) Display frame number
(marker = "circle") Marker type
(omarker = "plus") Overlay marker type
(goodcolor = "blue") Color of good marker
(badcolor = "red") Color of bad marker
(fdimages = "")
(fdcoords = "")
(mode = "q")
mscfinder> msctpeak obj0008_c1.fits obj0008_c1.txt orion
ERROR: Cannot open connected subprocess (./x_ttools.e)
"hist=yes, extrapar=5, tbltype="default", extracol=0)"
line 62: mscfinder$mktpeaktab.cl (hidden task)
called as: `mktpeaktab (input=tmp$iraf5278h,
output=tmp$iraf5278g, centered=no)'
ERROR: Table `/tmp/iraf5278g' does not exist or cannot be opened.
"goodcolor=goodcolor, badcolor=badcolor)"
line 172: mscfinder$msctpeak.cl
called as: `msctpeak (images=obj0008_c1.fits,
coordinates=obj0008_c1.txt, database=orion)'
mscfinder>Any suggestions on how to fix this?Thanks,
Eric

 
Profile Email
 Quote
fitz
 12/07/2010 10:39AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
It means the TABLES package is defined, but not actually installed. Either you installed only the source, the wrong binaries, built from source but it didn't put the binaries in the right place, or the extern.pkg file simply defines the package so it shows up in the menu but you didn't actually install TABLES in any way yourself. There are more obscure reasons for the error but check the above first and make sure TABLES is installed.

 
Profile Email
 Quote
eratnayake
 12/07/2010 10:39AM  
+----
Newbie

Status: offline


Registered: 12/07/2010
Posts: 4
I just did a google search and found it. It's a file permissions thing. I'll contact my system admin.Here's the link. It's on page 23.http://webcache.googleusercontent.com/search?q=cache:25smoHpqlIsJ:www.stsci.edu/ftp/documents/stsdas-docs/UserGuide_chap/08_trouble.ps+%22ERROR:+Cannot+open+connected+subprocess+%28./x_ttools.e%29%22&cd=1&hl=en&ct=clnk&gl=us"File Attributes
System administrators need to make sure that file protections are set
correctly on all files used by IRAF and STSDAS. For example, if users do
not have execute permission for the task executables, they will see a
message like:
ERROR: Cannot open connected subprocess
(stsdasbin$x_ttools.e)
System managers also have to make sure that read-write-execute
permissions are set correctly on disks and directories used by IRAF. For
example, some tasks write temporary files to the disk and directory pointed
to by the tmp$ variable. If that disk or directory has its permissions set
wrong, you might see an error message like the following:
ERROR on line 51: cannot open ‘tmp$celco4944c.com’ for writ-
ing
celco ()
celco ()
or
ERROR (741, "Cannot open file (tempdisk:[iraftmp]sgk9554a")
Permission problems can sometimes manifest themselves in strange
ways, for example, IRAF networking can fail when system-wide default
login files have incorrect permissions. Users who encounter problems with
incorrect permissions on temporary or scratch disks can work around the
problem by setting up a temp subdirectory in their own home directory
and redefining their environment variables, for example: reset
tmp=home$temp/
If your tasks cannot open files, it is also possible that the files have been
inadvertently moved or deleted. Try moving to the directory and listing the
files to see if they really exist. If you find that you’re gettingpar files left
in strange directories where you didn’t expect them to be, then you’re
probably not starting IRAF from the correct directory. Always start the CL
from within your IRAF home directory. (Some of the extraneous files you
might get will be things like uparmimsimhism.par or perhaps
uparmsymlprint.par)."Regards,
Eric

 
Profile Email
 Quote
fitz
 12/07/2010 10:39AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
That's one of the "more obscure reasons" I mentioned, ....make sure the package is actually installed first.

 
Profile Email
 Quote
eratnayake
 12/07/2010 10:39AM  
+----
Newbie

Status: offline


Registered: 12/07/2010
Posts: 4
Hi fitz,Thanks for the reply.I installed TABLES yesterday before I got the error. And I checked my extern.pkg. It might be that I installed the wrong binary.I hope the file attributes thing works. If not I'll compile it from source.Thanks,
Eric

 
Profile Email
 Quote
eratnayake
 12/07/2010 10:39AM  
+----
Newbie

Status: offline


Registered: 12/07/2010
Posts: 4
Problem solved. It was because the installation instructions I
followed for tables told me to place the binary files inside a folder
called bin.linux, whereas I should have placed them inside a folder
called bin.redhat, because my system architecture (shown by typing
"show arch" at the iraf command prompt) is redhat. I placed the binary
files inside the correct folder and now it works.Thanks for the help.

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