I am still seeing the error below in matplotlib-1.1.0 - the bug occurs when the user installs our software to the directory "version1", uses that installation, then installs "version2" and removes "version1", which breaks matplotlib because (unlike any other Python module I've ever used) the absolute font paths are hardwired into the user's local configuration. I was told nearly a year ago that this was already fixed in SVN, but clearly this is not the case. Is there a workaround for this other than emailing every user who complains and telling him/her to rm -rf ~/.matplotlib?
thanks, Nat File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/backends/backend_wxagg.py", line 59, in draw FigureCanvasAgg.draw(self) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 401, in draw self.figure.draw(self.renderer) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/figure.py", line 884, in draw func(*args) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/axes.py", line 1983, in draw a.draw(renderer) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/artist.py", line 55, in draw_wrapper draw(artist, renderer, *args, **kwargs) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/axis.py", line 1037, in draw ticklabelBoxes, ticklabelBoxes2 = self._get_tick_bboxes(ticks_to_draw, renderer) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/axis.py", line 988, in _get_tick_bboxes extent = tick.label1.get_window_extent(renderer) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/text.py", line 747, in get_window_extent bbox, info = self._get_layout(self._renderer) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/text.py", line 300, in _get_layout ismath=False) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 183, in get_text_width_height_descent font = self._get_agg_font(prop) File "/Users/nat/version2/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 224, in _get_agg_font font = FT2Font(str(fname)) RuntimeError: Could not open facefile /Users/nat/version1/Python.framework/Versions/Current/lib/python2.7/site-packages/matplotlib/mpl-data/fonts/ttf/VeraMono.ttf; Cannot_Open_Resource ------------------------------------------------------------------------------ Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users