#1945 hotfix: install python-basemap, fix python imports
Closed: Fixed None Opened 11 years ago by mdomsch.

= phenomenon =
MirrorManager has a script, generate-worldmap, which makes a nice map (shown at the bottom of http://fedoraproject.org/wiki/Infrastructure/Mirroring ) showing all the public mirrors on a global map.

bapp01 didn't have python-basemap, python-matplotlib, or python-basemap-data installed. It does now. The mirrormanager module should probably install those, though they're infrequently used.

= reason =
unforunately, due to https://bugzilla.redhat.com/show_bug.cgi?id=559087 the python-basemap code is unusable.

= recommendation =
For this hotfix, I created /usr/lib/python2.4/site-packages/matplotlib/toolkits/init.py{,c} containing:

from basemap import *

This allows the generate-worldmap script to work again (well almost; s/Agg2/Agg/ on one line due to a different upstream change; but that's done in my home directory only.)

The same init.py fix is now in place on log01 also.

Fixed in newer python-basemap and newer MM, now pushed to production.

Login to comment on this ticket.