I'm not sure these two issues are related.

Before I look deeper, have you updated from SVN today?  I fixed a bug 
earlier today related to using the STIX fonts (which appears to be where 
this is crashing) on narrow Unicode Python interpreters (which I believe 
Win32 Python is).

Occasionally I get these ob_refcnt assertions when distutils didn't 
decide to rebuild enough things.  Try doing a clean rebuild (if you 
haven't already).

Cheers,
Mike

Jörgen Stenarson wrote:
> Hi,
>
> I have tried to build the docs of current trunk on windows using 
> python2.5. But I get a crash with an Assertion failed: ob_refcnt == 0, 
> file CXX\cxx_extensions.cxx, line 1128
>
> There are also some warnings caused by the use of the link mpl_data. Is 
> it possible to get this link to work on win32?
>
> versions:
> sphinx: 0.3 $Revision: 64324 $
> docutils: 0.5
> matplotlib: 0.98.0 r5583
> numpy: '1.1.0.dev5176'
>
> /Jörgen
>
>
>
> C:\python\external\matplotlib-trunk\doc>make.py
> Sphinx v0.3, building html
> trying to load pickled env... not found
> building [html]: targets for 42 source files that are out of date
> updating environment: 42 added, 0 changed, 0 removed
> reading... api/artist_api api/axes_api api/axis_api 
> api/backend_bases_api api/ba
> ckend_gtkagg_api api/backend_qt4agg_api api/backend_wxagg_api 
> api/cbook_api api/
> cm_api api/collections_api api/colorbar_api api/index 
> api/index_backend_api api/
> matplotlib_configuration_api api/pyplot_api devel/add_new_projection 
> devel/codin
> g_guide devel/documenting_mpl devel/index devel/outline 
> devel/transformations fa
> q/environment_variables_faq faq/howto_faq faq/index faq/installing_faq 
> faq/troub
> leshooting_faq glossary/index index users/annotations     already have 
> pyplots\a
> nnotation_basic.py
>      already have pyplots\annotation_polar.py
> users/arraydata users/artists     already have 
> pyplots\fig_axes_labels_simple.py
>
>      already have pyplots\fig_x.py
>      already have pyplots\fig_axes_customize_simple.py
>      already have pyplots\dollar_ticks.py
> users/customizing users/event_handling users/index users/index_text 
> users/intro
> users/mathtext     already have pyplots\pyplot_mathtext.py
> users/navigation_toolbar users/pyplot_tutorial     already have 
> pyplots\pyplot_s
> imple.py
>      already have pyplots\pyplot_formatstr.py
>      already have pyplots\pyplot_three.py
>      already have pyplots\pyplot_two_subplots.py
>      already have pyplots\pyplot_text.py
>      already have pyplots\pyplot_annotate.py
> users/text_intro     already have pyplots\text_commands.py
> users/text_props     already have pyplots\text_layout.py
> users/usetex     already have pyplots\tex_demo.py
>      already have pyplots\tex_unicode_demo.py
>
> WARNING: 
> C:\python\external\matplotlib-trunk\doc\api\backend_qt4agg_api.rst:5: (
> WARNING/2) autodoc can't import/find module 
> 'matplotlib.backends.backend_qt4agg'
> , check your spelling and sys.path
> WARNING: 
> C:\python\external\matplotlib-trunk\doc\api\backend_wxagg_api.rst:5: (W
> ARNING/2) autodoc can't import/find module 
> 'matplotlib.backends.backend_wxagg',
> check your spelling and sys.path
> WARNING: C:\python\external\matplotlib-trunk\doc\api\cbook_api.rst:9: 
> (WARNING/2
> ) error while formatting signature for matplotlib.cbook.Xlator: arg is 
> not a Pyt
> hon function
> WARNING: 
> C:\python\external\matplotlib-trunk\doc\users\customizing.rst:66: (WARN
> ING/2) Include file u'../mpl_data/matplotlibrc' not found or reading it 
> failed
> WARNING: 
> C:\python\external\matplotlib-trunk\doc\users\navigation_toolbar.rst:13
> : Image file not readable: mpl_data\images\home.png
> WARNING: 
> C:\python\external\matplotlib-trunk\doc\users\navigation_toolbar.rst:15
> : Image file not readable: mpl_data\images\back.png
> WARNING: 
> C:\python\external\matplotlib-trunk\doc\users\navigation_toolbar.rst:17
> : Image file not readable: mpl_data\images\forward.png
> WARNING: 
> C:\python\external\matplotlib-trunk\doc\users\navigation_toolbar.rst:30
> : Image file not readable: mpl_data\images\move.png
> WARNING: 
> C:\python\external\matplotlib-trunk\doc\users\navigation_toolbar.rst:54
> : Image file not readable: mpl_data\images\zoom_to_rect.png
> WARNING: 
> C:\python\external\matplotlib-trunk\doc\users\navigation_toolbar.rst:65
> : Image file not readable: mpl_data\images\subplots.png
> WARNING: 
> C:\python\external\matplotlib-trunk\doc\users\navigation_toolbar.rst:72
> : Image file not readable: mpl_data\images\filesave.png
> pickling the env... done
> checking consistency...
> WARNING: C:\python\external\matplotlib-trunk\doc\users\arraydata.rst:: 
> document
> isn't included in any toctree
> writing output... api/artist_api api/axes_api api/axis_api 
> api/backend_bases_api
>   api/backend_gtkagg_api api/backend_qt4agg_api api/backend_wxagg_api 
> api/cbook_a
> pi api/cm_api api/collections_api api/colorbar_api api/index 
> api/index_backend_a
> pi api/matplotlib_configuration_api api/pyplot_api 
> devel/add_new_projection deve
> l/coding_guide devel/documenting_mpl devel/index devel/outline 
> devel/transformat
> ions faq/environment_variables_faq faq/howto_faq faq/index 
> faq/installing_faq fa
> q/troubleshooting_faq glossary/index index users/annotations 
> users/arraydata use
> rs/artists users/customizing users/event_handling users/index 
> users/index_text u
> sers/intro users/mathtext $\circledR$
> Assertion failed: ob_refcnt == 0, file CXX\cxx_extensions.cxx, line 1128
>
> This application has requested the Runtime to terminate it in an unusual 
> way.
> Please contact the application's support team for more information.
> Building HTML failed.
>
> C:\python\external\matplotlib-trunk\doc>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>   

-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to