|
From: Nils W. <nw...@ia...> - 2008-12-10 21:28:18
|
Hi all, The example loadrec.py illustrates the usage of PyExcelerator. However it seems PyExcelerator is no longer maintained Is it planned to adapt the example wrt xlwt ? http://pypi.python.org/pypi/xlwt Cheers, Nils |
|
From: John H. <jd...@gm...> - 2008-12-10 22:30:24
|
On Wed, Dec 10, 2008 at 3:28 PM, Nils Wagner <nw...@ia...>wrote: > Hi all, > > The example loadrec.py illustrates the usage of > PyExcelerator. > > However it seems PyExcelerator is no longer maintained > > 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) JDH |
|
From: John H. <jd...@gm...> - 2008-12-11 03:11:24
|
On Wed, Dec 10, 2008 at 4:26 PM, John Hunter <jd...@gm...> 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 |
|
From: Nils W. <nw...@ia...> - 2008-12-11 08:13:08
|
On Wed, 10 Dec 2008 21:11:12 -0600 "John Hunter" <jd...@gm...> wrote: > On Wed, Dec 10, 2008 at 4:26 PM, John Hunter ><jd...@gm...> 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 |
|
From: Nils W. <nw...@ia...> - 2008-12-11 09:01:20
|
On Thu, 11 Dec 2008 09:13:02 +0100 "Nils Wagner" <nw...@ia...> wrote: > On Wed, 10 Dec 2008 21:11:12 -0600 > "John Hunter" <jd...@gm...> wrote: >> On Wed, Dec 10, 2008 at 4:26 PM, John Hunter >><jd...@gm...> 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 |
|
From: Andrew S. <str...@as...> - 2008-12-11 18:33:31
|
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" <nw...@ia...> wrote: >> On Wed, 10 Dec 2008 21:11:12 -0600 >> "John Hunter" <jd...@gm...> wrote: >>> On Wed, Dec 10, 2008 at 4:26 PM, John Hunter >>> <jd...@gm...> 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 > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |
|
From: Nils W. <nw...@ia...> - 2008-12-12 07:18:24
|
On Thu, 11 Dec 2008 10:33:20 -0800
Andrew Straw <str...@as...> wrote:
> 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
Hi Andrew,
Thank you very much !
Works for me.
>>> import matplotlib.mlab as mlab
/data/home/nwagner/local/lib/python2.5/site-packages/matplotlib/__init__.py:371:
UserWarning: matplotlibrc text.usetex can not be used with
*Agg backend unless dvipng-1.5 or later is installed on
your system
warnings.warn( 'matplotlibrc text.usetex can not be
used with *Agg '
Cheers,
Nils
|