Michael Droettboom wrote:
> I think what's going on there is a syntax error in the clabel docstring
> that is truncating it.  I fixed this in SVN.  I think there's a cron job
> running, so this should update in due time.
> 
> In general, the documentation is built directly from the docstrings in
> SVN so they should correspond, but let us know if you find anything else
> like this.
> 

Thanks.  I think I would have found this, but unfortunately I couldn't
get the docs to build.  Right now, the stix_fonts_demo.py is failing on
my box:

(0, '$\\mathcircled{123} \\mathrm{\\mathcircled{123}}
\\mathbf{\\mathcircled{123}}$')
(1, '$\\mathsf{Sans \\Omega} \\mathrm{\\mathsf{Sans \\Omega}}
\\mathbf{\\mathsf{Sans \\Omega}}$')
(2, '$\\mathtt{Monospace}$')
(3, '$\\mathcal{CALLIGRAPHIC}$')
(4, '$\\mathbb{Blackboard \\pi}$')
(5, '$\\mathrm{\\mathbb{Blackboard \\pi}}$')
(6, '$\\mathbf{\\mathbb{Blackboard \\pi}}$')
(7, '$\\mathfrak{Fraktur} \\mathbf{\\mathfrak{Fraktur}}$')
(8, '$\\mathscr{Script}$')
(9, 'Direct Unicode: $\\u23ce \\mathrm{\\ue0f2 \\U0001d538}$')
python: CXX/cxx_extensions.cxx:1128: virtual
Py::PythonExtensionBase::~PythonExtensionBase(): Assertion `ob_refcnt ==
0' failed.
[1]    1709 abort (core dumped)  python

Here's the backtrace (though without debugging symbols):

#0  0x00007fa5c042c3c5 in raise () from /lib/libc.so.6
#1  0x00007fa5c042d73e in abort () from /lib/libc.so.6
#2  0x00007fa5c0425b1f in __assert_fail () from /lib/libc.so.6
#3  0x00007fa5b8f37e3e in Py::PythonExtensionBase::~PythonExtensionBase ()
   from
/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/ft2font.so
#4  0x00007fa5b8f30f43 in Py::PythonExtension<FT2Font>::~PythonExtension ()
   from
/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/ft2font.so
#5  0x00007fa5b8f20a35 in FT2Font::FT2Font ()
   from
/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/ft2font.so
#6  0x00007fa5b8f20bd1 in ft2font_module::new_ft2font ()
   from
/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/ft2font.so
#7  0x00007fa5b8f2dc5b in
Py::ExtensionModule<ft2font_module>::invoke_method_varargs ()
   from
/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/ft2font.so
#8  0x00007fa5b8f34b62 in method_varargs_call_handler ()
   from
/home/rmay/.local/lib64/python2.5/site-packages/matplotlib/ft2font.so

I'm not sure if you care about the failed assertion.  It could be a
reference leak, maybe not.  Obviously, being an assertion, it only does
this when debugging is enabled (though I can't seem to see where my
system package on Gentoo turns this off).

Ryan

-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to