Broken/incomplete package ncl-ncarg
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ncl (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Package ncl-ncarg from Ubuntu 18.04 is missing files, which make the program malfunction when running some simple test cases.
cfanprod@
logout
root@prod:
Desired=
| Status=
|/ Err?=(none)
||/ Name Version Architecture Description
+++-===
ii ncl-ncarg 6.4.0-9 amd64 NCAR Command Language and NCAR graphics
To reproduce:
Install the package, download the examples:
https:/
https:/
https:/
run:
ncl maponly_3.ncl
Works OK, now try any of the other two:
cfanprod@
Copyright (C) 1995-2017 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.4.0
The use of this software is governed by a License Agreement.
See http://
fatal:MapV41DHI
fatal:MapV41DHI
ERROR 2 IN MPLNRI/MDLNRI - Can't open the ".names" file
ERROR 1 IN MPSETR - UNCLEARED PRIOR ERROR
ERROR 1 IN MAPPOS - UNCLEARED PRIOR ERROR
ERROR 1 IN MAPSTI - UNCLEARED PRIOR ERROR
ERROR 1 IN MAPROJ - UNCLEARED PRIOR ERROR
ERROR 2 IN MAPSET/MDPSET - UNCLEARED PRIOR ERROR
fatal:MapSetTrans: error initializing map: MAPINT - UNCLEARED PRIOR ERROR
fatal:(null): Error setting transformation
fatal:MapPlotSe
warning:
Segmentation fault (core dumped)
cfanprod@
Copyright (C) 1995-2017 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.4.0
The use of this software is governed by a License Agreement.
See http://
fatal:MapV41DHI
fatal:MapV41DHI
ERROR 2 IN MPLNRI/MDLNRI - Can't open the ".names" file
ERROR 1 IN MPSETR - UNCLEARED PRIOR ERROR
ERROR 1 IN MAPPOS - UNCLEARED PRIOR ERROR
ERROR 1 IN MAPSTI - UNCLEARED PRIOR ERROR
ERROR 1 IN MAPROJ - UNCLEARED PRIOR ERROR
ERROR 2 IN MAPSET/MDPSET - UNCLEARED PRIOR ERROR
fatal:MapSetTrans: error initializing map: MAPINT - UNCLEARED PRIOR ERROR
fatal:(null): Error setting transformation
fatal:MapPlotSe
warning:
warning:
Segmentation fault (core dumped)
Program fails as shown above. This is because the Ubuntu package is missing some files in the folder:
These are the files in the Ubuntu provided package
root@prod:
total 14920
-rw-r--r-- 1 root root 239286 Mar 9 2018 Earth..1.areas
-rw-r--r-- 1 root root 743392 Mar 9 2018 Earth..1.lines
-rw-r--r-- 1 root root 342556 Mar 9 2018 Earth..2.areas
-rw-r--r-- 1 root root 1507872 Mar 9 2018 Earth..2.lines
-rw-r--r-- 1 root root 290424 Mar 9 2018 Earth..3.areas
-rw-r--r-- 1 root root 1035728 Mar 9 2018 Earth..3.lines
-rw-r--r-- 1 root root 4901852 Mar 9 2018 Earth..4.areas
-rw-r--r-- 1 root root 4528784 Mar 9 2018 Earth..4.lines
-rw-r--r-- 1 root root 36832 Mar 9 2018 ezmap_area_ids
-rw-r--r-- 1 root root 58979 Mar 9 2018 EzmapAreaInfo.CO
-rw-r--r-- 1 root root 122563 Mar 9 2018 EzmapAreaInfo.PO
-rw-r--r-- 1 root root 111767 Mar 9 2018 EzmapAreaInfo.PS
-rw-r--r-- 1 root root 9201 Mar 9 2018 EzmapAreaInfo.US
-rw-r--r-- 1 root root 587264 Mar 9 2018 ezmapdata
-rw-r--r-- 1 root root 76280 Mar 9 2018 EzmapOutlines.CO
-rw-r--r-- 1 root root 138680 Mar 9 2018 EzmapOutlines.PO
-rw-r--r-- 1 root root 240752 Mar 9 2018 EzmapOutlines.PS
-rw-r--r-- 1 root root 107952 Mar 9 2018 EzmapOutlines.US
-rw-r--r-- 1 root root 23021 Mar 9 2018 NhlMapData
-rw-r--r-- 1 root root 37640 Mar 9 2018 PlotcharData
-rw-r--r-- 1 root root 37680 Mar 9 2018 pwritdata
-rw-r--r-- 1 root root 20250 Mar 9 2018 ranfdata
-rw-r--r-- 1 root root 4096 Mar 9 2018 rgb.dir
-rw-r--r-- 1 root root 16384 Mar 9 2018 rgb.pag
-rw-r--r-- 1 root root 16992 Mar 9 2018 rgb.txt
These are the files in a manually compile built of ncl (6.5.0) from source code:
root@prod:
total 15276
-rw-r--r-- 1 root root 239286 Dec 12 19:04 Earth..1.areas
-rw-r--r-- 1 root root 743392 Dec 12 19:04 Earth..1.lines
-rw-r--r-- 1 root root 30565 Dec 12 19:04 Earth..1.names
-rw-r--r-- 1 root root 342556 Dec 12 19:04 Earth..2.areas
-rw-r--r-- 1 root root 1507872 Dec 12 19:04 Earth..2.lines
-rw-r--r-- 1 root root 103535 Dec 12 19:04 Earth..2.names
-rw-r--r-- 1 root root 290424 Dec 12 19:04 Earth..3.areas
-rw-r--r-- 1 root root 1035728 Dec 12 19:04 Earth..3.lines
-rw-r--r-- 1 root root 38552 Dec 12 19:04 Earth..3.names
-rw-r--r-- 1 root root 4901852 Dec 12 19:04 Earth..4.areas
-rw-r--r-- 1 root root 4528784 Dec 12 19:04 Earth..4.lines
-rw-r--r-- 1 root root 176790 Dec 12 19:04 Earth..4.names
-rw-r--r-- 1 root root 36832 Dec 12 19:04 ezmap_area_ids
-rw-r--r-- 1 root root 58979 Dec 12 19:04 EzmapAreaInfo.CO
-rw-r--r-- 1 root root 122563 Dec 12 19:04 EzmapAreaInfo.PO
-rw-r--r-- 1 root root 111767 Dec 12 19:04 EzmapAreaInfo.PS
-rw-r--r-- 1 root root 9201 Dec 12 19:04 EzmapAreaInfo.US
-rw-r--r-- 1 root root 587264 Dec 12 19:04 ezmapdata
-rw-r--r-- 1 root root 76280 Dec 12 19:04 EzmapOutlines.CO
-rw-r--r-- 1 root root 138680 Dec 12 19:04 EzmapOutlines.PO
-rw-r--r-- 1 root root 240752 Dec 12 19:04 EzmapOutlines.PS
-rw-r--r-- 1 root root 107952 Dec 12 19:04 EzmapOutlines.US
drwxr-xr-x 2 root root 4096 Dec 12 19:04 ftfonts
-rw-r--r-- 1 root root 23021 Dec 12 19:04 NhlMapData
-rw-r--r-- 1 root root 37640 Dec 12 19:04 PlotcharData
-rw-r--r-- 1 root root 37680 Dec 12 19:04 pwritdata
-rw-r--r-- 1 root root 20250 Dec 12 19:04 ranfdata
-rw-r--r-- 1 root root 4096 Dec 12 19:04 rgb.dir
-rw-r--r-- 1 root root 16384 Dec 12 19:04 rgb.pag
-rw-r--r-- 1 root root 16992 Dec 12 19:04 rgb.txt
The missing file names with ".names" extension are breaking some of the example runs. Once the missing files are added to the database folder, things work.
cfanprod@
total 15276
-rw-r--r-- 1 root root 239286 Dec 12 19:04 Earth..1.areas
-rw-r--r-- 1 root root 743392 Dec 12 19:04 Earth..1.lines
-rw-r--r-- 1 root root 30565 Dec 12 19:04 Earth..1.names
-rw-r--r-- 1 root root 342556 Dec 12 19:04 Earth..2.areas
-rw-r--r-- 1 root root 1507872 Dec 12 19:04 Earth..2.lines
-rw-r--r-- 1 root root 103535 Dec 12 19:04 Earth..2.names
-rw-r--r-- 1 root root 290424 Dec 12 19:04 Earth..3.areas
-rw-r--r-- 1 root root 1035728 Dec 12 19:04 Earth..3.lines
-rw-r--r-- 1 root root 38552 Dec 12 19:04 Earth..3.names
-rw-r--r-- 1 root root 4901852 Dec 12 19:04 Earth..4.areas
-rw-r--r-- 1 root root 4528784 Dec 12 19:04 Earth..4.lines
-rw-r--r-- 1 root root 176790 Dec 12 19:04 Earth..4.names
-rw-r--r-- 1 root root 36832 Dec 12 19:04 ezmap_area_ids
-rw-r--r-- 1 root root 58979 Dec 12 19:04 EzmapAreaInfo.CO
-rw-r--r-- 1 root root 122563 Dec 12 19:04 EzmapAreaInfo.PO
-rw-r--r-- 1 root root 111767 Dec 12 19:04 EzmapAreaInfo.PS
-rw-r--r-- 1 root root 9201 Dec 12 19:04 EzmapAreaInfo.US
-rw-r--r-- 1 root root 587264 Dec 12 19:04 ezmapdata
-rw-r--r-- 1 root root 76280 Dec 12 19:04 EzmapOutlines.CO
-rw-r--r-- 1 root root 138680 Dec 12 19:04 EzmapOutlines.PO
-rw-r--r-- 1 root root 240752 Dec 12 19:04 EzmapOutlines.PS
-rw-r--r-- 1 root root 107952 Dec 12 19:04 EzmapOutlines.US
drwxr-xr-x 2 root root 4096 Dec 12 19:04 ftfonts
-rw-r--r-- 1 root root 23021 Dec 12 19:04 NhlMapData
-rw-r--r-- 1 root root 37640 Dec 12 19:04 PlotcharData
-rw-r--r-- 1 root root 37680 Dec 12 19:04 pwritdata
-rw-r--r-- 1 root root 20250 Dec 12 19:04 ranfdata
-rw-r--r-- 1 root root 4096 Dec 12 19:04 rgb.dir
-rw-r--r-- 1 root root 16384 Dec 12 19:04 rgb.pag
-rw-r--r-- 1 root root 16992 Dec 12 19:04 rgb.txt
cfanprod@
Copyright (C) 1995-2017 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.4.0
The use of this software is governed by a License Agreement.
See http://
cfanprod@
total 148
-rw------- 1 cfanprod cfanprod 3143 Jul 24 2009 gsun03n.ncl
-rw------- 1 cfanprod cfanprod 3400 Nov 28 17:33 maponly_10.ncl
-rw------- 1 cfanprod cfanprod 1059 Nov 28 17:33 maponly_3.ncl
-rw------- 1 cfanprod cfanprod 1930 Nov 28 17:33 maponly_9.ncl
-rw------- 1 cfanprod cfanprod 117266 Dec 12 19:27 maponly.png
cfanprod@
cfanprod@
Copyright (C) 1995-2017 - All Rights Reserved
University Corporation for Atmospheric Research
NCAR Command Language Version 6.4.0
The use of this software is governed by a License Agreement.
See http://
cfanprod@
total 376
-rw------- 1 cfanprod cfanprod 3143 Jul 24 2009 gsun03n.ncl
-rw------- 1 cfanprod cfanprod 198176 Dec 12 19:27 maponly.000001.png
-rw------- 1 cfanprod cfanprod 77992 Dec 12 19:27 maponly.000002.png
-rw------- 1 cfanprod cfanprod 67940 Dec 12 19:27 maponly.000003.png
-rw------- 1 cfanprod cfanprod 3400 Nov 28 17:33 maponly_10.ncl
-rw------- 1 cfanprod cfanprod 1059 Nov 28 17:33 maponly_3.ncl
-rw------- 1 cfanprod cfanprod 1930 Nov 28 17:33 maponly_9.ncl
ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ncl-ncarg 6.4.0-9
ProcVersionSign
Uname: Linux 4.15.0-39-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
Date: Wed Dec 12 19:16:24 2018
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: ncl
UpgradeStatus: No upgrade log present (probably fresh install)
There are more problems with the 6.4.0 package from Ubuntu 18.04. The color maps have no color.
To reproduce, install ncl and then try one of the examples of maps that have colors:
wget https:/ /www.ncl. ucar.edu/ Applications/ Scripts/ maponly_ 6.ncl
ncl maponly_6.ncl
Take a look at the png file (it only has color in the lower section/bar, where it should have color in the map itself.
wget https:/ /www.ncl. ucar.edu/ Applications/ Scripts/ maponly_ 16.ncl
ncl maponly_16.ncl
Take a look at the three new maps, they do not have color.
Compare to the images at: /www.ncl. ucar.edu/ Applications/ maponly. shtml
https:/