ximtool problems
gcardonav wrote on Apr 27, 2010
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
Gus
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
ecl> display n6388.fits 1
ERROR: bus error
ecl> imexam n6388.fits
ERROR: bus error
called as: `imexamine (input=n6388.fits)'
ecl>Does anybody have a clue why ?Gus
Mike Fitzpatrick wrote on Apr 27, 2010
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.
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.
My second problem is that when I try to to open a fits image with display or imexam i get the following error .....
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.
gcardonav wrote on Apr 27, 2010
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
Gus
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
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"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
Mike Fitzpatrick wrote on Apr 27, 2010
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?
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?
gcardonav wrote on Apr 27, 2010
Hi Fitz:
Sorry for my delay reply, finals.
I tried to run both commands and here is the entry for them
So clearly I still have the same problem, not sure why though.
Gus
Sorry for my delay reply, finals.
I tried to run both commands and here is the entry for them
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>So clearly I still have the same problem, not sure why though.
Gus
starryeyed wrote on Apr 27, 2010
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 warningDo 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 ?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"
Gus
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?
Last post on Apr 27, 2010