Hi Christian,
> I suspect this is not a pyTrainer bug but more something in a Python
> library. Any idea?
>
> Traceback (most recent call last):
> File "/usr/bin/pytr", line 96, in <module>
> from pytrainer.main import pyTrainer
> File "/usr/lib/pymodules/python2.7/pytrainer/main.py", line 50, in <module>
> from gui.windowmain import Main
> File "/usr/lib/pymodules/python2.7/pytrainer/gui/windowmain.py", line 42,
> in <module>
> from pytrainer.recordgraph import RecordGraph
> File "/usr/lib/pymodules/python2.7/pytrainer/recordgraph.py", line 20, in
> <module>
> from gui.drawArea import DrawArea
> File "/usr/lib/pymodules/python2.7/pytrainer/gui/drawArea.py", line 21, in
> <module>
> from matplotlib.figure import Figure
> 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)
>
>
> matplotlib was recently updated from 1.2.0 to 1.3.0 in Debian, so
> either there's a bug in that library....or there a bug in pyTrainer
> with that version of the library.
I run Fedora 19 (matplotlib 1.2.0 and python 2.7.5) and no issues
(yet). Maybe matplotlib's new version (quickly checked
http://matplotlib.org/users/whats_new.html#new-in-matplotlib-1-3 but
nothing got my attention regarding current issue) brings out something
pytrainer is not doing as expected...
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/pytrainer-devel