Quoting Jason Michael Adams (julietmikeal...@gmail.com): > > On 10 Aug 2013, at 19:04, Christian PERRIER <bubu...@debian.org> wrote: > > > Quoting Jason Adams (julietmikeal...@gmail.com): > >> > >> > >> It would be interesting to see if, in the Python interpreter, an > >> 'import matplotlib' statement fails to execute. Perhaps there are > >> additional factors, like fonts or something environmental, that cause > >> matplotlib to fail? > > > > > > cperrier@mykerinos:~/travail/debian/debconf13 $ python > > Python 2.7.5+ (default, Aug 4 2013, 11:51:33) > > [GCC 4.8.1] on linux2 > > Type "help", "copyright", "credits" or "license" for more information. > >>>> import matplotlib > >>>> > > > > And this too? > > matplotlib.use('GTK') > from matplotlib.figure import Figure
*this* crashes: >>> from matplotlib.figure import Figure Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/pymodules/python2.7/matplotlib/figure.py", line 34, in <module> import matplotlib.colorbar as cbar File "/usr/lib/pymodules/python2.7/matplotlib/colorbar.py", line 29, in <module> import matplotlib.collections as collections File "/usr/lib/pymodules/python2.7/matplotlib/collections.py", line 23, in <module> import matplotlib.backend_bases as backend_bases File "/usr/lib/pymodules/python2.7/matplotlib/backend_bases.py", line 50, in <module> import matplotlib.textpath as textpath File "/usr/lib/pymodules/python2.7/matplotlib/textpath.py", line 11, in <module> import matplotlib.font_manager as font_manager File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 1356, in <module> _rebuild() File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 1341, in _rebuild fontManager = FontManager() File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 1004, in __init__ self.ttflist = createFontList(self.ttffiles) File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 584, in createFontList prop = ttfFontProperty(font) File "/usr/lib/pymodules/python2.7/matplotlib/font_manager.py", line 398, in ttfFontProperty sfnt4 = sfnt4.decode('ascii').lower() UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 0: ordinal not in range(128) ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Pytrainer-devel mailing list Pytrainer-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pytrainer-devel