Welcome to iraf.net Friday, April 26 2024 @ 07:29 PM GMT


 Forum Index > Help Desk > Systems New Topic Post Reply
 TABLES/STSDAS 3.6 and STSCI_Python 2.4 on Ubuntu 7.04
   
fgrise
 05/05/2007 11:08PM (Read 8531 times)  
+----
Newbie

Status: offline


Registered: 05/05/2007
Posts: 2
I tried to install Iraf and these external packages since a few hours and it does not work.
I began with installing Iraf 2.12a and now 2.13-Beta2 (just to see if it was related to Iraf version) and both are working fine.
Then I installed TABLES + STSDAS v3.6 and again, it appears to working as it should. The only problem was when I compile the python code with [code:1:86eed6bb9f]python python/compileall.py ./python/*[/code:1:86eed6bb9f] where some modules can't be listed (and I suppose now that problems come from there).Here the supposed errors :Can't list ./python/compileall.py
Listing ./python/compileall.pyc ...
Can't list ./python/compileall.pyc
Listing ./python/rnlincor.py ...
Can't list ./python/rnlincor.py
Listing ./python/rnlincor.pyc ...
Can't list ./python/rnlincor.pyc
Listing ./python/sexcatalog.py ...
Can't list ./python/sexcatalog.py
Listing ./python/sexcatalog.pyc ...
Can't list ./python/sexcatalog.pyc
Listing ./python/sextractor.py ...
Can't list ./python/sextractor.py
Listing ./python/sextractor.pyc ...
Can't list ./python/sextractor.pyc
Listing ./python/tran.py ...
Can't list ./python/tran.py
Listing ./python/tran.pyc ...
Can't list ./python/tran.pyc
Listing ./python/tweak.py ...
Can't list ./python/tweak.py
Listing ./python/tweak.pyc ...
Can't list ./python/tweak.pyc
Listing ./python/upincd.py ...
Can't list ./python/upincd.py
Listing ./python/upincd.pyc ...
Can't list ./python/upincd.pyc
After that, installation of STSCI_Python v2.4 runs smoothly, with no errors.
Pyraf works fine except for the Python related modules, like Multidrizzle .
Here the error messages when I try to go to stsdas.analysis.dither :
Traceback (innermost last):
File "<CL script CL1>", line 1, in <module>
iraf.dither(_save=1)
File "<CL script analysis.dither>", line 94, in dither
PkgBinary=PkgBinary)
File "/iraf/packages/stsdas/pkg/analysis/dither/tran_iraf.py", line 7, in <module>
import tran
File "./python/tran.py", line 83, in <module>
import pydrizzle
File "/usr/lib/python2.5/site-packages/pydrizzle/__init__.py", line 7, in <module>
import arrdriz
ImportError: /usr/lib/libf2c.so.2: undefined symbol: MAIN__
So it appears to be related with import problems, although everything seems to be correctly installed.If someone has an idea, it would be very appreciable.

 
Profile Email
 Quote
knine
 05/05/2007 11:08PM  
+----
Newbie

Status: offline


Registered: 11/29/2005
Posts: 14
You are not alone, I have the same problem with stsci_python 2.4 in Ubuntu 7.04. I emailed their help desk and they are baffled as well. My initial guess is the version of python that comes with 7.04.

 
Profile Email
 Quote
fgrise
 05/05/2007 11:08PM  
+----
Newbie

Status: offline


Registered: 05/05/2007
Posts: 2
Finally, I found the problem.
The fact is when you install the python packages with "python setup.py install --with-f2c=<path_to_f2c>", it does not install the packages present in the subfolders.You have to go inside each subfolder and install each module ... and it works.
I use Multidrizzle and it works fine !

 
Profile Email
 Quote
Paul Kerry
 05/05/2007 11:08PM  
+----
Newbie

Status: offline


Registered: 08/15/2007
Posts: 14
I had the same /usr/lib/libf2c.so.2 problem on a x86 debian etch system using iraf 2.13-BETA2, TABLES Version 3.7, STSDAS Version 3.7 and STSCI PYTHON 2.5I found that using the system libf2c in /usr/lib from the libf2c2 package caused the problem.After I downloaded and installed libf2c from
http://www.stsci.edu/resources/software_hardware/pyraf/support_stsci_python
everything worked perfectlyBTW : I ignored the "Can't list..." lines.Cheers
Paul

 
Profile Email
 Quote
zabot
 05/05/2007 11:08PM  
+----
Newbie

Status: offline


Registered: 10/24/2007
Posts: 4
I had the same problem with iraf 2.14 and stsdas 3.8 on kubuntu.I couldn't solve the problem with fgrise "solution".When I load hst_calib I get:
stsdas> hst_calib
Warning: package `synphot' includes Python tasks that require PyRAF
But I have pyraf on my system!
Does anyone have an idea?Thanks,
Alexandre

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