Welcome to iraf.net Friday, March 29 2024 @ 02:15 PM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 ximtool problems
   
gcardonav
 04/27/2010 02:10PM (Read 3782 times)  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
Hi:For my research I need to use 256 colors in the display but everytime I open ximtool it crashes. I have a Macbook pro, intel with snow leopard. I can open ximtool with any other display but for my research I need 256 colors display.My second problem is that when I try to to open a fits image with display or imexam i get the following error [code:1:9c22bd134c]ecl> display n6388.fits 1
ERROR: bus error
ecl> imexam n6388.fits
ERROR: bus error
called as: `imexamine (input=n6388.fits)'
ecl>[/code:1:9c22bd134c]Does anybody have a clue why ?Gus

 
Profile Email
 Quote
fitz
 04/27/2010 02:10PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
[quote:bfa466e1a1]
For my research I need to use 256 colors in the display but everytime I open ximtool it crashes. I have a Macbook pro, intel with snow leopard. I can open ximtool with any other display but for my research I need 256 colors display.[/quote:bfa466e1a1]Even though your X server may be running in 24-bit mode, XImtool is still operating as if there were only 256 colors available. So, reset your machine so ximtool will open properly.[quote:bfa466e1a1]My second problem is that when I try to to open a fits image with display or imexam i get the following error .....[/quote:bfa466e1a1]This could just mean the FITS file is invalid, i.e. isn't in the proper byte order, missing padding, etc. Does this affect only the tasks that interact with the display or does a simple IMHEAD/IMSTAT similarly fail?If you could post the image to the anonftp at ftp://iraf.noao.edu/pub I'll see if I can reproduce the problem here.

 
Profile Email
 Quote
gcardonav
 04/27/2010 02:10PM  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
Mike:I have ftp'ed the file n6388.fits to the directory you asked me too. On the other hand I reseted my machine but the ximtool still crashes when I use 256 colors. I was able to catch the warning and my x11 window is giving me the following warning [code:1:5cace11927]Warning: Cannot allocate colormap entry for "SteelBlue"
Warning: Cannot allocate colormap entry for "black"
Warning: Cannot allocate colormap entry for "Gold"
Warning: Cannot allocate colormap entry for "#9c9c9c"
Warning: Cannot allocate colormap entry for "#e8e8e8"
Warning: Cannot allocate colormap entry for "#e5e5e5"
Warning: Cannot allocate colormap entry for "white"
Warning: Cannot allocate colormap entry for "red"
Warning: Cannot allocate colormap entry for "green"
Warning: Cannot allocate colormap entry for "blue"
Warning: Cannot allocate colormap entry for "magenta"
Warning: Cannot allocate colormap entry for "cyan"
Warning: Cannot allocate colormap entry for "yellow"[/code:1:5cace11927]Do I need to change my settings on my display for my laptop ? Or are there settings with x11 to change to be able to run 256 colors ?Gus

 
Profile Email
 Quote
fitz
 04/27/2010 02:10PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Let me repeat: DO NOT use 256 color mode!! It will not work with the X11IRAF v2.0 version of ximtool you should be using. Reset the X11 preferences to either use 'millions' of colors or the 'From Display' option, and use X11IRAF v2.0 described earlier.As for the FITS file, it looks just fine and works well for me (nice globular cluster, floating point values of -902.6 to 62090). I can't explain the bus error, what version of IRAF are you using (i.e. "cl> =version")? Does IMSTAT or IMHEAD work on the image or also fail with a bus error?

 
Profile Email
 Quote
gcardonav
 04/27/2010 02:10PM  
++---
Junior

Status: offline


Registered: 04/26/2010
Posts: 31
Hi Fitz:Sorry for my delay reply, finals. I tried to run both commands and here is the entry for them[code:1:a54a89ea65]objil.fits[1031,1034][real]:
objil2.fits[1025,1029][real]:
objis.fits[1027,1033][real]:
objv.fits[1032,1041][real]:
ccdred> imstat
List of input images (objil.jpg): objil2.fits
# IMAGE NPIX MEAN STDDEV MIN MAX
ERROR: bus error
ccdred>[/code:1:a54a89ea65]So clearly I still have the same problem, not sure why though. Gus

 
Profile Email
 Quote
StarryEyed
 04/27/2010 02:10PM  
+----
Newbie

Status: offline


Registered: 03/24/2011
Posts: 6
[quote:e483e565f2="gcardonav"]Mike:I have ftp'ed the file n6388.fits to the directory you asked me too. On the other hand I reseted my machine but the ximtool still crashes when I use 256 colors. I was able to catch the warning and my x11 window is giving me the following warning [code:1:e483e565f2]Warning: Cannot allocate colormap entry for "SteelBlue"
Warning: Cannot allocate colormap entry for "black"
Warning: Cannot allocate colormap entry for "Gold"
Warning: Cannot allocate colormap entry for "#9c9c9c"
Warning: Cannot allocate colormap entry for "#e8e8e8"
Warning: Cannot allocate colormap entry for "#e5e5e5"
Warning: Cannot allocate colormap entry for "white"
Warning: Cannot allocate colormap entry for "red"
Warning: Cannot allocate colormap entry for "green"
Warning: Cannot allocate colormap entry for "blue"
Warning: Cannot allocate colormap entry for "magenta"
Warning: Cannot allocate colormap entry for "cyan"
Warning: Cannot allocate colormap entry for "yellow"[/code:1:e483e565f2]Do I need to change my settings on my display for my laptop ? Or are there settings with x11 to change to be able to run 256 colors ?Gus[/quote:e483e565f2]As it seems this problem ended up unsolved, let me come in and try to give a remedy as graphics are one of the only areas in computing that I have sufficient knowledge. Gus, the idea you have at the end of this post is what you need to do. Adjust the setting within ximtool as you were instructed by fitz and make the proper adjustments in the actual graphics setting on your mac. Have you tried running http://www.neverfailgroup.com business continuity software as well? With the 256 colors for your project, I am assuming it is something you are presenting printed out or?

**Telescopic Baby**
 
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