On Wed, Jan 5, 2011 at 5:53 PM, Sandro Tosi <mo...@debian.org> wrote:
> On Wed, Jan 5, 2011 at 23:22, John Hunter <jdh2...@gmail.com> wrote:
>> OK, I found the problem.  Somehow my edit to sphinxext.plot_directive
>> to actually call the new function was not saved and committed.  I just
>> fixed this, so the branch *should* work.  The branch
>> matlpotlib/sphinxext/plot_directive.py should call rc_file_defaults
>> rather than rcdefaults.  After an svn up, confirm that this is so
>> before testing.
>
> $ grep -c rc_file_defaults lib/matplotlib/sphinxext/plot_directive.py
> 0
>
> so it's not there :(
>
> and the only file containing rc_file_defaults is lib/matplotlib/__init__.py
>
> of course, examples are stil stuck if no network to SF is available
>
> Oh i think I got it, lib/matplotlib/sphinxext/plot_directive.py  was
> updated on trunk instead of the v1.0 branch.

I swear there is a gremlin in my computer.  I checked and rechecked
this on my box because of all the confusion we were having, but
apparently managed to commit on the trunk (which doesn't even have the
function defined because I haven't merged) and not on the branch.  We
need to get the buildbot going again, because the doc buildbot would
have caught this.  I have fixed both the trunk and the branch: the
branch calls the new function and has the desired "no internet"
behavior.  The trunk calls the old function which restores rc internal
defaults rather than file defaults and so is broken in the way it has
always been broken, but will be fixed when we merge.

In the command below, mpl1 is my branch (1.0.1 release) directory:

  mpl1> grep rc_file lib/matplotlib/sphinxext/plot_directive.py

Surely I have it right now!

JDH

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to