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.
Bob, The message below: InitGempakColorMap: Can't allocate Graphic colors. This likely means that you don't have enough colors available. You should launch "ntl" to allocate the shared colormap, and then use that to launch Garp. If you don't have enough colors, ntl will tel you how many colors you do have. You can launch ntl with command line options to use fewer colors, eg "ntl -s 64" will use 64 colors for satellite images rather than 95. Also, under RH, gnome is a color hog. You might have more luck using KDE. Steve Chiswell Unidata User SUpport >From: Robert Ballentine <address@hidden> >Organization: UCAR/Unidata >Keywords: 200101202039.f0KKdTe01634 >Support: > I am trying to install Nawips5.6 on a PC running Red Hat >Linux 7.0. After untarring the files > gempak_upc5.6.a_libs_linux.tar.gz >and gempak_upc5.6.a_linux.tar.gz > >and sourcing Gemenviron, I tried to run garp in the >$NAWIPS/bin/linux directory. The garp window flashes on >the display momentarily, then disappears leaving the following >messages: > >G A R P - v2.1 starting... >Warning: Cannot allocate colormap entry for "#e5e5e5e5e5e5" >Warning: Cannot allocate colormap entry for default background. > Warning: keylist is null > Cannnot set option menu default button > Warning: keylist is null > Cannnot set option menu default button > Warning: keylist is null > Cannnot set option menu default button > Warning: keylist is null > Cannnot set option menu default button >InitGempakColorMap: Can't allocate Graphic colors. >GarpInitialize: GempakInit failed >Main: Initialization failed. Exiting > >Am I missing some linux programs or applications? If so, >can you advise me how to proceed? Programs which require >no graphics (e.g., sflist) run fine. > Thanks > Bob Ballentine >