I recently reinstalled QGIS 2.0 and 2.1 from the OSGeo4W advanced install. Now I get some ascii errors when importing some matplotlib modules. I have narrowed it down to the import of matplotlib.fontmanager:
*import matplotlib.font_managerTraceback (most recent call last): File "<input>", line 1, in <module> File "C:/OSGEO4~1/apps/qgis-dev/./python\qgis\utils.py", line 453, in _import mod = _builtin_import(name, globals, locals, fromlist, level) File "C:\OSGEO4~1\apps\Python27\lib\site-packages\matplotlib\font_manager.py", line 1356, in <module> _rebuild() File "C:\OSGEO4~1\apps\Python27\lib\site-packages\matplotlib\font_manager.py", line 1341, in _rebuild fontManager = FontManager() File "C:\OSGEO4~1\apps\Python27\lib\site-packages\matplotlib\font_manager.py", line 1004, in __init__ self.ttflist = createFontList(self.ttffiles) File "C:\OSGEO4~1\apps\Python27\lib\site-packages\matplotlib\font_manager.py", line 584, in createFontList prop = ttfFontProperty(font) File "C:\OSGEO4~1\apps\Python27\lib\site-packages\matplotlib\font_manager.py", line 398, in ttfFontProperty sfnt4 = sfnt4.decode('ascii').lower()UnicodeDecodeError: 'ascii' codec can't decode byte 0x8a in position 14: ordinal not in range(128)* I have tried to reinstall matplotlib (from OSGEo4w 64-bit). No difference. Any ideas? regards Josef
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer