|
From: Sandro T. <mo...@de...> - 2009-09-22 05:28:17
Attachments:
mpl_doc_error_0.99.1.txt
|
Hi all, I'm a bit unsure if this is really a problem in the code or it's my machine that has problem (I didn't manage to test it in a clean chroot). When building the doc (after having built mpl with python setup.py build) I got the attached traceback. The strange fact is that 'formats' is indeed defined as a 2D list (At the bottom of plot_directive.py). Thanks for considering, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi |
|
From: Michael D. <md...@st...> - 2009-09-22 14:16:59
|
It's also an overridable parameter in conf.py. Of course, it works with the conf.py in SVN, but do you perhaps have any local changes to it? Mike Sandro Tosi wrote: > Hi all, > I'm a bit unsure if this is really a problem in the code or it's my > machine that has problem (I didn't manage to test it in a clean > chroot). > > When building the doc (after having built mpl with python setup.py > build) I got the attached traceback. > > The strange fact is that 'formats' is indeed defined as a 2D list (At > the bottom of plot_directive.py). > > Thanks for considering, > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: Michael D. <md...@st...> - 2009-09-22 14:21:56
|
On second look, I think it's the "--small" commandline option that breaks this. I hadn't tested my recent changes to the plot directive with that flag. The new version of make.py in SVN r7815 should fix this. Mike Sandro Tosi wrote: > Hi all, > I'm a bit unsure if this is really a problem in the code or it's my > machine that has problem (I didn't manage to test it in a clean > chroot). > > When building the doc (after having built mpl with python setup.py > build) I got the attached traceback. > > The strange fact is that 'formats' is indeed defined as a 2D list (At > the bottom of plot_directive.py). > > Thanks for considering, > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > ------------------------------------------------------------------------ > > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |
|
From: Sandro T. <mo...@de...> - 2009-09-23 14:09:57
|
On Tue, Sep 22, 2009 at 16:21, Michael Droettboom <md...@st...> wrote:
> On second look, I think it's the "--small" commandline option that breaks
> this. I hadn't tested my recent changes to the plot directive with that
> flag. The new version of make.py in SVN r7815 should fix this.
Thanks for your reply! I should have find it myself :)
Anyhow, from a clean checked-out trunk, doc doesn't build:
$ MATPLOTLIBDATA=../lib/matplotlib/mpl-data/
PYTHONPATH=../build/lib.linux-x86_64-2.5/ ./make.py --small all
Running Sphinx v0.6.2
Exception occurred while building, starting debugger:
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.5/sphinx/cmdline.py", line 171, in main
warningiserror, tags)
File "/usr/lib/pymodules/python2.5/sphinx/application.py", line 94,
in __init__
self.config = Config(confdir, CONFIG_FILENAME, confoverrides, self.tags)
File "/usr/lib/pymodules/python2.5/sphinx/config.py", line 120, in __init__
execfile(config['__file__'], config)
File "/home/morph/deb/tmp/matplotlib/doc/conf.py", line 23, in <module>
import ipython_console_highlighting
ImportError: No module named ipython_console_highlighting
> /home/morph/deb/tmp/matplotlib/doc/conf.py(23)<module>()
-> import ipython_console_highlighting
indeed
matplotlib/doc$ grep -ri ipython_console_highlighting *
conf.py:import ipython_console_highlighting
$
Is that module benn {re.}moved?
Regards,
--
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
|
|
From: Michael D. <md...@st...> - 2009-09-23 17:22:05
|
That file was moved. I think I had a lingering .pyc lying around which
is why it didn't fail on me. I have updated conf.py to import it from
the right place. Hopefully it's working now.
Cheers,
Mike
On 09/23/2009 10:09 AM, Sandro Tosi wrote:
> On Tue, Sep 22, 2009 at 16:21, Michael Droettboom<md...@st...> wrote:
>
>> On second look, I think it's the "--small" commandline option that breaks
>> this. I hadn't tested my recent changes to the plot directive with that
>> flag. The new version of make.py in SVN r7815 should fix this.
>>
> Thanks for your reply! I should have find it myself :)
>
> Anyhow, from a clean checked-out trunk, doc doesn't build:
>
> $ MATPLOTLIBDATA=../lib/matplotlib/mpl-data/
> PYTHONPATH=../build/lib.linux-x86_64-2.5/ ./make.py --small all
> Running Sphinx v0.6.2
> Exception occurred while building, starting debugger:
> Traceback (most recent call last):
> File "/usr/lib/pymodules/python2.5/sphinx/cmdline.py", line 171, in main
> warningiserror, tags)
> File "/usr/lib/pymodules/python2.5/sphinx/application.py", line 94,
> in __init__
> self.config = Config(confdir, CONFIG_FILENAME, confoverrides, self.tags)
> File "/usr/lib/pymodules/python2.5/sphinx/config.py", line 120, in __init__
> execfile(config['__file__'], config)
> File "/home/morph/deb/tmp/matplotlib/doc/conf.py", line 23, in<module>
> import ipython_console_highlighting
> ImportError: No module named ipython_console_highlighting
>
>> /home/morph/deb/tmp/matplotlib/doc/conf.py(23)<module>()
>>
> -> import ipython_console_highlighting
>
> indeed
>
> matplotlib/doc$ grep -ri ipython_console_highlighting *
> conf.py:import ipython_console_highlighting
> $
>
> Is that module benn {re.}moved?
>
> Regards,
>
|
|
From: Sandro T. <mo...@de...> - 2009-09-23 18:10:16
|
On Wed, Sep 23, 2009 at 19:21, Michael Droettboom <md...@st...> wrote: > That file was moved. I think I had a lingering .pyc lying around which is > why it didn't fail on me. yeah, here too: I saw it only after cleaning up the svn checkout. > I have updated conf.py to import it from the > right place. Hopefully it's working now. Yeah, it works fine: thanks for the fixes. Cheers, -- Sandro Tosi (aka morph, morpheus, matrixhasu) My website: http://matrixhasu.altervista.org/ Me at Debian: http://wiki.debian.org/SandroTosi |