Bug 746896 - Can not open color files
Summary: Can not open color files
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: zyGrib
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Zhukov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-18 06:54 UTC by Ken
Modified: 2011-11-20 23:58 UTC (History)
1 user (show)

Fixed In Version: zyGrib-5.0.6-4.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-20 23:57:58 UTC
Type: ---


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.