This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Clint, Since the _gf programs are connecting to an X server, are your scripts setting the DISPLAY? And if so, are you running xvfb for a virtual server? Are they truecolor? The xdpyinfo does look the same, but I'm wondering if that is for your :0.0 DISPLAY, rather than the xvfb display that the script would contact? Running ntl does allocate the color table, which would create the shared color space but I don't know at this point why it wouldn't fail too. You can run the freeColors utility to see if that shows any differences. Don't know if Xfree86 patches are differentr on the machines. My Linux machine in my office is FedoraCore 3, which reports that its X server is X.org 6.8.1 rather than Xfree86 that you have. Steve Chiswell Unidata User Support >From: Clint Rowe <address@hidden> >Organization: University of Nebraska Geosciences >Keywords: 200504261554.j3QFsbv2016198 > >--=-V7WA8HmCcEUXFx2Dbi/b >Content-Type: text/plain >Content-Transfer-Encoding: 7bit > >Chiz, >I'm running into a strainge problem with the _gf programs. I'm >re-writing a series of scripts that a couple of our graduate >students developed to make the gifs for our web page to make use >of the _gf programs and take advantage of the performance boost >they will give. > >Here's my problem: the scripts run without problem on my machine >(harmattan), but fail on the machine I want to cron them on >(wisper) if run interactively or from cron with the following error: > >X Error of failed request: BadValue (integer parameter out of range for >operation) > Major opcode of failed request: 91 (X_QueryColors) > Value in failed request: 0xbfff7644 > Serial number of failed request: 695 > Current serial number in output stream: 695 > >If I start up ntl and then run the script, it works okay. I can't >see any difference between the X setups on these machines (see >attached output from xdpyinfo) and can't figure out why this is >happening. Have you encountered this before? > >Clint > >-- >==================================================================== >Clinton M. Rowe >Associate Professor >Meteorology/Climatology Program phone:(402)472-1946 >Department of Geosciences fax:(402)472-4917 >University of Nebraska-Lincoln address@hidden > >--=-V7WA8HmCcEUXFx2Dbi/b >Content-Disposition: attachment; filename=harmattan.xdpyinfo >Content-Type: text/plain; name=harmattan.xdpyinfo; charset= >Content-Transfer-Encoding: 7bit > >name of display: unix:0.0 >version number: 11.0 >vendor string: The XFree86 Project, Inc >vendor release number: 40300000 >XFree86 version: 4.3.0 >maximum request size: 4194300 bytes >motion buffer size: 256 >bitmap unit, bit order, padding: 32, LSBFirst, 32 >image byte order: LSBFirst >number of supported pixmap formats: 7 >supported pixmap formats: > depth 1, bits_per_pixel 1, scanline_pad 32 > depth 4, bits_per_pixel 8, scanline_pad 32 > depth 8, bits_per_pixel 8, scanline_pad 32 > depth 15, bits_per_pixel 16, scanline_pad 32 > depth 16, bits_per_pixel 16, scanline_pad 32 > depth 24, bits_per_pixel 32, scanline_pad 32 > depth 32, bits_per_pixel 32, scanline_pad 32 >keycode range: minimum 8, maximum 255 >focus: window 0x2600032, revert to Parent >number of extensions: 31 > BIG-REQUESTS > DOUBLE-BUFFER > DPMS > Extended-Visual-Information > FontCache > GLX > LBX > MIT-SCREEN-SAVER > MIT-SHM > MIT-SUNDRY-NONSTANDARD > NV-CONTROL > NV-GLX > RANDR > RECORD > RENDER > SECURITY > SHAPE > SYNC > TOG-CUP > X-Resource > XC-APPGROUP > XC-MISC > XFree86-Bigfont > XFree86-DGA > XFree86-Misc > XFree86-VidModeExtension > XInputExtension > XKEYBOARD > XTEST > XVideo > XVideo-MotionCompensation >default screen number: 0 >number of screens: 1 > >screen #0: > dimensions: 1600x1200 pixels (402x302 millimeters) > resolution: 101x101 dots per inch > depths (7): 16, 1, 4, 8, 15, 24, 32 > root window id: 0x71 > depth of root window: 16 planes > number of colormaps: minimum 1, maximum 1 > default colormap: 0x20 > default number of colormap cells: 64 > preallocated pixels: black 0, white 65535 > options: backing-store NO, save-unders NO > largest cursor: 64x64 > current input event mask: 0xfa203f > KeyPressMask KeyReleaseMask ButtonPressMask > > ButtonReleaseMask EnterWindowMask LeaveWindowMask > > ButtonMotionMask StructureNotifyMask SubstructureNotifyMask > > SubstructureRedirectMask FocusChangeMask PropertyChangeMask > > ColormapChangeMask > number of visuals: 8 > default visual id: 0x21 > visual: > visual id: 0x21 > class: TrueColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x22 > class: DirectColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x23 > class: TrueColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x24 > class: TrueColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x25 > class: TrueColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x26 > class: DirectColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x27 > class: DirectColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x28 > class: DirectColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > >--=-V7WA8HmCcEUXFx2Dbi/b >Content-Disposition: attachment; filename=wisper.xdpyinfo >Content-Type: text/plain; name=wisper.xdpyinfo; charset= >Content-Transfer-Encoding: 7bit > >name of display: unix:0.0 >version number: 11.0 >vendor string: The XFree86 Project, Inc >vendor release number: 40300000 >XFree86 version: 4.3.0 >maximum request size: 4194300 bytes >motion buffer size: 256 >bitmap unit, bit order, padding: 32, LSBFirst, 32 >image byte order: LSBFirst >number of supported pixmap formats: 7 >supported pixmap formats: > depth 1, bits_per_pixel 1, scanline_pad 32 > depth 4, bits_per_pixel 8, scanline_pad 32 > depth 8, bits_per_pixel 8, scanline_pad 32 > depth 15, bits_per_pixel 16, scanline_pad 32 > depth 16, bits_per_pixel 16, scanline_pad 32 > depth 24, bits_per_pixel 32, scanline_pad 32 > depth 32, bits_per_pixel 32, scanline_pad 32 >keycode range: minimum 8, maximum 255 >focus: window 0x1c040b3, revert to Parent >number of extensions: 31 > BIG-REQUESTS > DOUBLE-BUFFER > DPMS > Extended-Visual-Information > FontCache > GLX > LBX > MIT-SCREEN-SAVER > MIT-SHM > MIT-SUNDRY-NONSTANDARD > NV-CONTROL > NV-GLX > RANDR > RECORD > RENDER > SECURITY > SHAPE > SYNC > TOG-CUP > X-Resource > XC-APPGROUP > XC-MISC > XFree86-Bigfont > XFree86-DGA > XFree86-Misc > XFree86-VidModeExtension > XInputExtension > XKEYBOARD > XTEST > XVideo > XVideo-MotionCompensation >default screen number: 0 >number of screens: 1 > >screen #0: > dimensions: 1280x1024 pixels (322x241 millimeters) > resolution: 101x108 dots per inch > depths (7): 16, 1, 4, 8, 15, 24, 32 > root window id: 0x71 > depth of root window: 16 planes > number of colormaps: minimum 1, maximum 1 > default colormap: 0x20 > default number of colormap cells: 64 > preallocated pixels: black 0, white 65535 > options: backing-store NO, save-unders NO > largest cursor: 64x64 > current input event mask: 0xfa203f > KeyPressMask KeyReleaseMask ButtonPressMask > > ButtonReleaseMask EnterWindowMask LeaveWindowMask > > ButtonMotionMask StructureNotifyMask SubstructureNotifyMask > > SubstructureRedirectMask FocusChangeMask PropertyChangeMask > > ColormapChangeMask > number of visuals: 8 > default visual id: 0x21 > visual: > visual id: 0x21 > class: TrueColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x22 > class: DirectColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x23 > class: TrueColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x24 > class: TrueColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x25 > class: TrueColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x26 > class: DirectColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x27 > class: DirectColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > visual: > visual id: 0x28 > class: DirectColor > depth: 16 planes > available colormap entries: 64 per subfield > red, green, blue masks: 0xf800, 0x7e0, 0x1f > significant bits in color specification: 8 bits > >--=-V7WA8HmCcEUXFx2Dbi/b-- > -- NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.