Hi Nils. I think I fixed the issue causing the traceback with r6563. Can you please update and try again with text.usetex enabled?
My guess is that you don't have dvipng installed, which was causing the detection check to throw a traceback rather than return a value signifying undetected. So, enabling usetex should again trigger the check, but hopefully this time it will fail gracefully rather than crashing. -Andrew Nils Wagner wrote: > On Thu, 11 Dec 2008 09:13:02 +0100 > "Nils Wagner" <nwag...@iam.uni-stuttgart.de> wrote: >> On Wed, 10 Dec 2008 21:11:12 -0600 >> "John Hunter" <jdh2...@gmail.com> wrote: >>> On Wed, Dec 10, 2008 at 4:26 PM, John Hunter >>> <jdh2...@gmail.com> wrote: >>> >>>>> Is it planned to adapt the example wrt xlwt ? >>>>> >>>>> http://pypi.python.org/pypi/xlwt >>>>> >>>> >>>> True it is no longer maintained, but it does work. We >>>> are looking into >>>> xlwt (I wasn't aware of it until today when you >>>> forwarded the message) >>>> >>> I've added support for xlwt in svn r6560 -- give it a >>> whirl >>> >>> JDH >> Hi John, >> >> I have upgraded to r6561. >> >> python test.py --verbose-helpful >> $HOME=/data/home/nwagner >> CONFIGDIR=/data/home/nwagner/.matplotlib >> matplotlib data path >> /data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/mpl-data >> loaded rc file >> /data/home/nwagner/.matplotlib/matplotlibrc >> Traceback (most recent call last): >> File "test.py", line 1, in <module> >> import matplotlib.mlab as mlab >> File >> "/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/__init__.py", >> >> line 700, in <module> >> rcParams['text.usetex'] = >> checkdep_usetex(rcParams['text.usetex']) >> File >> "/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/__init__.py", >> >> line 367, in checkdep_usetex >> dvipng_v = checkdep_dvipng() >> File >> "/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/__init__.py", >> >> line 261, in checkdep_dvipng >> stderr=subprocess.PIPE) >> File >> "/data/home/nwagner/local/lib/python2.5/subprocess.py", >> line 593, in __init__ >> errread, errwrite) >> File >> "/data/home/nwagner/local/lib/python2.5/subprocess.py", >> line 1079, in _execute_child >> raise child_exception >> OSError: [Errno 2] No such file or directory >> >> >> Any idea ? >> >> Nils >> > > Works for me if I disable text.usetex in > ~/.matplotlib/matplotlibrc, but for what reason ? > > > ### LaTeX customizations. See > http://www.scipy.org/Wiki/Cookbook/Matplotlib/UsingTex > #text.usetex : True # use latex for all text > handling. The following fonts > > Nils > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel ------------------------------------------------------------------------------ SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. The future of the web can't happen without you. Join us at MIX09 to help pave the way to the Next Web now. Learn more and register at http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel