John Hunter wrote:
"Carl" == Carl Dr Kleffner <cmkleffner@...380...> writes:
> This is not a mystery error. This error pops up on some bad
> fonts when the FontManager creates the dictionary of TTF
> based fonts. An example is the CSD Font that installs with
> jgrasp (jgrasp.org).
That is very helpful -- if one of you can send me a problematic font
file offlist I will try and replicate and fix this bug. By running in
--verbose-debug, you should be able to ascertain which file is causing
the grief.
Here's the verbose-debug output.
C:\proj\compclust\win32\compclustshell>C:\Python23\python.exe matplotlibtest.py
--verbose-debug
matplotlib data path C:\Python23\share\matplotlib
$HOME=C:\Documents and Settings\King
CONFIGDIR=C:\Documents and Settings\King\.matplotlib
loaded rc file C:\Python23\share\matplotlib\matplotlibrc
matplotlib version 0.83.1
verbose.level debug
interactive is False
platform is win32
loaded modules: ['pylab', '__future__', 'copy_reg', 'sre_compile', 'distutils',
'locale', '_sre', '__main__', 'site', '__builtin__', 'datetime', 'matplotlib.tem
pfile', 'encodings', 'os.path', 'encodings.encodings', 'sre_constants', 'distuti
ls.string', 'dateutil', 'matplotlib.datetime', 'strop', '_random', 'tempfile', '
errno', 'matplotlib.warnings', 'encodings.codecs', 'matplotlib.sys', 're', 'ntpa
th', 'pytz.sys', 'UserDict', 'distutils.sysconfig', 'encodings.exceptions', 'nt'
, 'pytz.sets', 'math', 'stat', 'zipimport', 'string', 'warnings', 'encodings.typ
es', '_codecs', 'sets', 'distutils.os', 'matplotlib', 'encodings.cp1252', 'sys',
'pytz.tzinfo', 'pytz', 'pytz.datetime', 'matplotlib.__future__', 'codecs', 'dis
tutils.re', 'matplotlib.pytz', 'types', 'matplotlib.dateutil', '_locale', 'matpl
otlib.os', 'thread', 'sre', 'bisect', 'matplotlib.distutils', 'signal', 'distuti
ls.errors', 'random', 'linecache', 'itertools', 'time', 'exceptions', 'sre_parse
', 'pytz.bisect', 'distutils.sys', 'os']
numerix Numeric 23.8
font search path ['C:\\Python23\\share\\matplotlib']
trying fontname C:\Python23\share\matplotlib\cmex10.ttf
trying fontname C:\Python23\share\matplotlib\cmmi10.ttf
trying fontname C:\Python23\share\matplotlib\cmr10.ttf
trying fontname C:\Python23\share\matplotlib\VeraMono.ttf
trying fontname C:\Python23\share\matplotlib\cmsy10.ttf
trying fontname C:\Python23\share\matplotlib\VeraSeBd.ttf
trying fontname C:\Python23\share\matplotlib\cmtt10.ttf
trying fontname C:\Python23\share\matplotlib\Vera.ttf
Assertion failed: ob_refcnt == 0, file CXX\cxx_extensions.cxx, line 1031
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
-Brandon King
P.S. Thanks guys for helping with this!