Bug 746896

Summary: Can not open color files
Product: [Fedora] Fedora Reporter: Ken <kjh>
Component: zyGribAssignee: Pavel Zhukov <pavel>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: pavel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: zyGrib-5.0.6-4.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-20 23:57:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Ken 2011-10-18 06:54:59 UTC
Description of problem:

When I run zyGrib, I get a bunch of error messages on "standard out":

DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_wind_kts.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_temp_celcius.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_rain_mmh.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_snowdepth_m.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_clouds_white_pc.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_clouds_black_pc.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_cape_jkg.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_humidrel_pc.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_deltatemp_celcius.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_binary.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_waveheight_m.txt
DBG ColorScale.cpp: 110: readFile(): Error: can't open file colors/colors_whitecap_prb.txt

It looks like there are 2 problems:

1. the data files are not in the RPM
2. in src/utils/Utils.h , Util::pathColors returns "colors/", but it should return "/usr/share/zyGrib/colors/"

Version-Release number of selected component (if applicable): zyGrib-5.0.4-2.fc15.i686



How reproducible: very


Steps to Reproduce:
1. run zyGrib
2. notice error message on stdout and wrong colors in the GUI
3. sadness
  
Actual results:

wrong colors in GUI


Expected results:

right colors in GUI

Additional info:

Comment 1 Fedora Update System 2011-11-07 07:27:54 UTC
zyGrib-5.0.6-4.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/zyGrib-5.0.6-4.fc16

Comment 2 Fedora Update System 2011-11-07 07:52:47 UTC
zyGrib-5.0.6-4.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/zyGrib-5.0.6-4.fc15

Comment 3 Fedora Update System 2011-11-10 17:24:59 UTC
Package zyGrib-5.0.6-4.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing zyGrib-5.0.6-4.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-15566
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-11-20 23:57:58 UTC
zyGrib-5.0.6-4.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 5 Fedora Update System 2011-11-20 23:58:44 UTC
zyGrib-5.0.6-4.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.