Thank you for the prompt response.
I cannot run matplotlib directly.  It crashes as I tried to import
matplotlib.pyplot:

sphinx/sampledoc> python
Python 2.6 (r26:66714, Dec  3 2008, 10:55:18)
[GCC 4.3.2 [gcc-4_3-branch revision 141291]] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib.pyplot as plt
Segmentation fault (core dumped)

What do you mean by the Agg backend?

I did run sphinx-build inside gdb as you suggested.
The attached file is the captured output.

Thanks!
Elizabeth

On Thu, Nov 4, 2010 at 5:53 AM, Michael Droettboom <md...@stsci.edu> wrote:

>  On 11/04/2010 01:46 AM, Elizabeth Yip Dembart wrote:
> > Hi
> >
> > I was going through the sampledoc tutorial in
> > http://matplotlib.sourceforge.net/sampledoc/.
> >
> > When I came to "Sphinx extensions for embedded plots ... ",
> > sphinx-build crashes when "matplotlib.sphinx.mathmpl" ... were added
> > to the extensions section of conf.py.
> >
> > I noticed a similar problem was reported on this mailing list March
> > 23, 2010.
> >
> > I am running OPENSUSE 11.1 on a x86-64 computer, and my python is
> > version 2.6.  I reinstalled  the latest matplotlib,
> > "python-matplotlib -1.0.0-5.1.x86_64.rpm" from the opensuse
> > repository:
> > http://download.opensuse.org/repositories/science/openSUSE_11.1/x86_64.
> > I also installed the latest sphinx with "easy-install -U Sphinx".
> >
> > When I run 'make html', here is what happened:
> > sphinx/sampledoc> make html
> > sphinx-build -b html -d _build/doctrees   . _build/html
> > Making output directory...
> > Running Sphinx v1.0.4
> > make: *** [html] Segmentation fault (core dumped)
> >
> > I attached my conf.py and I uploaded the coredump (core.bz2) at:
> > http://sites.google.com/site/mislwagroup/coredumps-1
> Are you able to generate matplotlib plots directly -- in particular
> using the Agg backend?
>
> Unfortunately, this coredump file isn't useful unless we have the exact
> same binaries as you.
>
> Can you instead run this inside of gdb and get a traceback?
>
> To get this, you will do something like (from the doc directory):
>
>  > gdb python
> (gdb) run /usr/bin/sphinx-build -b html -d _build/doctrees   . _build/html
> ... it runs for a while and then crashes ...
> (gdb) bt
>
> Mike
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

Attachment: debug_matplotlib_sphinx.out
Description: Binary data

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to