Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1177052

Summary: Basemap cannot find data files
Product: [Fedora] Fedora Reporter: Elliott Sales de Andrade <quantum.analyst>
Component: python-basemapAssignee: Jef Spaleta <jspaleta>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 21CC: gwync, jan.zoerner, jspaleta, lnie
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-basemap-1.0.7-6.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-03 12:06:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Elliott Sales de Andrade 2014-12-24 00:25:33 UTC
Description of problem:
Importing basemap fails because it can't find its plotting data.

Version-Release number of selected component (if applicable):
python-basemap-1.0.7-4.fc21.x86_64
python-basemap-data-1.0.7-2.fc21.noarch


Actual results:

$ python -c 'from mpl_toolkits.basemap import Basemap'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python2.7/site-packages/mpl_toolkits/basemap/__init__.py", line 30, in <module>
    from mpl_toolkits.basemap import pyproj
  File "/usr/lib64/python2.7/site-packages/mpl_toolkits/basemap/pyproj.py", line 241, in <module>
    raise IOError(msg)
IOError: proj data directory not found. Expecting it at: /usr/lib64/python2.7/site-packages/mpl_toolkits/basemap/data

$ python3 -c 'from mpl_toolkits.basemap import Basemap'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib64/python3.4/site-packages/mpl_toolkits/basemap/__init__.py", line 30, in <module>
    from mpl_toolkits.basemap import pyproj
  File "/usr/lib64/python3.4/site-packages/mpl_toolkits/basemap/pyproj.py", line 241, in <module>
    raise IOError(msg)
OSError: proj data directory not found. Expecting it at: /usr/lib64/python3.4/site-packages/mpl_toolkits/basemap/data

Expected results:
Example commands run without error.

Comment 1 Fedora Update System 2015-01-15 15:59:43 UTC
python-basemap-1.0.7-6.fc21 has been submitted as an update for Fedora 21.
https://admin.fedoraproject.org/updates/python-basemap-1.0.7-6.fc21

Comment 2 Fedora Update System 2015-01-15 16:00:53 UTC
python-basemap-1.0.7-6.el7 has been submitted as an update for Fedora EPEL 7.
https://admin.fedoraproject.org/updates/python-basemap-1.0.7-6.el7

Comment 3 lnie 2015-01-16 08:43:03 UTC
python-basemap-1.0.7-6.fc21 works

Comment 4 Fedora Update System 2015-01-16 19:11:10 UTC
Package python-basemap-1.0.7-6.el7:
* should fix your issue,
* was pushed to the Fedora EPEL 7 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing python-basemap-1.0.7-6.el7'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2015-0320/python-basemap-1.0.7-6.el7
then log in and leave karma (feedback).

Comment 5 Elliott Sales de Andrade 2015-01-18 06:13:06 UTC
Works for me.

PS, don't forget to mark bug 1177903 as a dupe.

Comment 6 Fedora Update System 2015-02-03 12:06:27 UTC
python-basemap-1.0.7-6.fc21 has been pushed to the Fedora 21 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2015-02-03 19:31:14 UTC
python-basemap-1.0.7-6.el7 has been pushed to the Fedora EPEL 7 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Jos de Kloe 2015-03-20 10:45:47 UTC
*** Bug 1177319 has been marked as a duplicate of this bug. ***