| Summary: | No maps data in zyGrib 5.0.2 GUI | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ken <kjh> |
| Component: | zyGrib | Assignee: | Pavel Zhukov <pavel> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | pavel |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | zyGrib-5.0.4-2.fc15 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-09-09 17:01:30 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Thank you for your report.
zyGrib uses "hardcoded paths" (or relative path).
I cannot simply add ln -s /usr/share/zyGrib/ $HOME/data to spec file. It's incorrect. So I have to remove all relative paths (or change current dir to %{datadir}/%{name}.
Yeah, just changing the relative paths in src/util/Utils.h would be easiest. The 2nd problem is the missing data files in data/colors and data/gis . Should I file a separate bug for that? zyGrib-5.0.4-2.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/zyGrib-5.0.4-2.fc15 zyGrib-5.0.4-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/zyGrib-5.0.4-2.fc14 zyGrib-5.0.4-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/zyGrib-5.0.4-2.fc16 Package zyGrib-5.0.4-2.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.4-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/zyGrib-5.0.4-2.fc16 then log in and leave karma (feedback). zyGrib-5.0.4-2.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. zyGrib-5.0.4-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. zyGrib-5.0.4-2.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: No maps data in zyGrib 5.0.2 GUI Version-Release number of selected component (if applicable): 5.0.2 How reproducible: Very Steps to Reproduce: 1. Run zyGrib 5.0.2 2. Observe error message (from "strace"): stat64("/home/kjh/data/maps/gshhs/", 0xa0c86d4) = -1 ENOENT (No such file or directory) lstat64("/home/kjh/data/maps/gshhs/", 0xbfce0960) = -1 ENOENT (No such file or directory) open("data/maps/gshhs//rangs_3.cat", O_RDONLY) = -1 ENOENT (No such file or directory) open("data/maps/gshhs//rangs_3.cel", O_RDONLY) = -1 ENOENT (No such file or directory) ...etc... Also, on "stdout": DBG ColorScale.cpp: 110: readFile(): Error: can't open file data/colors/colors_wind_kts.txt DBG ColorScale.cpp: 110: readFile(): Error: can't open file data/colors/colors_temp_celcius.txt DBG ColorScale.cpp: 110: readFile(): Error: can't open file data/colors/colors_rain_mmh.txt ...etc... 3. Actual results: GUI w/o maps Expected results: GUI w/ maps Additional info: Work around : ln -s /usr/share/zyGrib/ $HOME/data Thanks for packaging zyGrib 5 ... just in time for Hurricane Irene