From: Charles M. <cw...@gm...> - 2008-06-20 02:27:44
|
Just jumped into the new docs to take a look and immediately having problems building. I am hoping someone can make a quick fix so I don't have to debug. quaternion:doc cmoad$ ./make.py html Sphinx v0.3, building html trying to load pickled env... not found building [html]: targets for 45 source files that are out of date updating environment: 45 added, 0 changed, 0 removed reading... api/artist_api Exception occurred: File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ inheritance_diagram.py", line 78, in _import_class_or_module "Invalid class '%s' specified for inheritance diagram" % name) ValueError: Invalid class 'matplotlib.patches' specified for inheritance diagram Thanks, Charlie |
From: Michael D. <md...@st...> - 2008-06-20 03:15:04
|
What version of Python are you running? All I can think from looking at the code is that something in the regex is behaving differently for you than me (on Python 2.5). If you just want the docs to build (minus the inheritance diagrams), you can put a "return []" at the top of "inheritance_diagram_directive_run" in inheritance_diagram.py Cheers, Mike Charles Moad wrote: > Just jumped into the new docs to take a look and immediately having > problems building. I am hoping someone can make a quick fix so I > don't have to debug. > > quaternion:doc cmoad$ ./make.py html > Sphinx v0.3, building html > trying to load pickled env... not found > building [html]: targets for 45 source files that are out of date > updating environment: 45 added, 0 changed, 0 removed > reading... api/artist_api Exception occurred: > File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ > inheritance_diagram.py", line 78, in _import_class_or_module > "Invalid class '%s' specified for inheritance diagram" % name) > ValueError: Invalid class 'matplotlib.patches' specified for > inheritance diagram > > Thanks, > Charlie > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > |
From: Charlie M. <cw...@gm...> - 2008-06-20 13:23:08
|
Python2.5 on OSX.5 On Thu, Jun 19, 2008 at 11:14 PM, Michael Droettboom <md...@st...> wrote: > What version of Python are you running? All I can think from looking at > the code is that something in the regex is behaving differently for you than > me (on Python 2.5). > > If you just want the docs to build (minus the inheritance diagrams), you > can put a "return []" at the top of "inheritance_diagram_directive_run" in > inheritance_diagram.py > > Cheers, > Mike > > Charles Moad wrote: > >> Just jumped into the new docs to take a look and immediately having >> problems building. I am hoping someone can make a quick fix so I don't >> have to debug. >> >> quaternion:doc cmoad$ ./make.py html >> Sphinx v0.3, building html >> trying to load pickled env... not found >> building [html]: targets for 45 source files that are out of date >> updating environment: 45 added, 0 changed, 0 removed >> reading... api/artist_api Exception occurred: >> File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ >> inheritance_diagram.py", line 78, in _import_class_or_module >> "Invalid class '%s' specified for inheritance diagram" % name) >> ValueError: Invalid class 'matplotlib.patches' specified for inheritance >> diagram >> >> Thanks, >> Charlie >> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> Matplotlib-devel mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel >> >> > > |
From: Michael D. <md...@st...> - 2008-06-20 13:25:50
|
Have you updated Sphinx from SVN lately? I have r64374. Sphinx should have dumped a full traceback into a tmp file (and told you where it is, which I don't see in your log output). Can you send that? Cheers, Mike Charlie Moad wrote: > Python2.5 on OSX.5 > > On Thu, Jun 19, 2008 at 11:14 PM, Michael Droettboom <md...@st... > <mailto:md...@st...>> wrote: > > What version of Python are you running? All I can think from > looking at the code is that something in the regex is behaving > differently for you than me (on Python 2.5). > > If you just want the docs to build (minus the inheritance > diagrams), you can put a "return []" at the top of > "inheritance_diagram_directive_run" in inheritance_diagram.py > > Cheers, > Mike > > Charles Moad wrote: > > Just jumped into the new docs to take a look and immediately > having problems building. I am hoping someone can make a > quick fix so I don't have to debug. > > quaternion:doc cmoad$ ./make.py html > Sphinx v0.3, building html > trying to load pickled env... not found > building [html]: targets for 45 source files that are out of date > updating environment: 45 added, 0 changed, 0 removed > reading... api/artist_api Exception occurred: > File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ > inheritance_diagram.py", line 78, in _import_class_or_module > "Invalid class '%s' specified for inheritance diagram" % name) > ValueError: Invalid class 'matplotlib.patches' specified for > inheritance diagram > > Thanks, > Charlie > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > <mailto: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...> - 2008-06-21 21:48:25
|
Sorry, I'm stumped. Mike Charlie Moad wrote: > Here's that file. > > Thanks, > Charlie > > On Fri, Jun 20, 2008 at 9:25 AM, Michael Droettboom <md...@st... > <mailto:md...@st...>> wrote: > > Have you updated Sphinx from SVN lately? I have r64374. > > Sphinx should have dumped a full traceback into a tmp file (and > told you where it is, which I don't see in your log output). Can > you send that? > > Cheers, > Mike > > Charlie Moad wrote: > > Python2.5 on OSX.5 > > On Thu, Jun 19, 2008 at 11:14 PM, Michael Droettboom > <md...@st... <mailto:md...@st...> > <mailto:md...@st... <mailto:md...@st...>>> wrote: > > What version of Python are you running? All I can think from > looking at the code is that something in the regex is behaving > differently for you than me (on Python 2.5). > > If you just want the docs to build (minus the inheritance > diagrams), you can put a "return []" at the top of > "inheritance_diagram_directive_run" in inheritance_diagram.py > > Cheers, > Mike > > Charles Moad wrote: > > Just jumped into the new docs to take a look and > immediately > having problems building. I am hoping someone can make a > quick fix so I don't have to debug. > > quaternion:doc cmoad$ ./make.py html > Sphinx v0.3, building html > trying to load pickled env... not found > building [html]: targets for 45 source files that are > out of date > updating environment: 45 added, 0 changed, 0 removed > reading... api/artist_api Exception occurred: > File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ > inheritance_diagram.py", line 78, in > _import_class_or_module > "Invalid class '%s' specified for inheritance > diagram" % name) > ValueError: Invalid class 'matplotlib.patches' > specified for > inheritance diagram > > Thanks, > Charlie > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > <mailto:Mat...@li...> > <mailto:Mat...@li... > <mailto: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: Darren D. <dsd...@gm...> - 2008-06-23 15:00:37
|
I see this same error using python-2.5 on Kubuntu-8.04. I'm looking into it. Darren On Saturday 21 June 2008 17:11:05 Michael Droettboom wrote: > Sorry, I'm stumped. > > Mike > > Charlie Moad wrote: > > Here's that file. > > > > Thanks, > > Charlie > > > > On Fri, Jun 20, 2008 at 9:25 AM, Michael Droettboom <md...@st... > > <mailto:md...@st...>> wrote: > > > > Have you updated Sphinx from SVN lately? I have r64374. > > > > Sphinx should have dumped a full traceback into a tmp file (and > > told you where it is, which I don't see in your log output). Can > > you send that? > > > > Cheers, > > Mike > > > > Charlie Moad wrote: > > > > Python2.5 on OSX.5 > > > > On Thu, Jun 19, 2008 at 11:14 PM, Michael Droettboom > > <md...@st... <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...>>> wrote: > > > > What version of Python are you running? All I can think from > > looking at the code is that something in the regex is behaving > > differently for you than me (on Python 2.5). > > > > If you just want the docs to build (minus the inheritance > > diagrams), you can put a "return []" at the top of > > "inheritance_diagram_directive_run" in inheritance_diagram.py > > > > Cheers, > > Mike > > > > Charles Moad wrote: > > > > Just jumped into the new docs to take a look and > > immediately > > having problems building. I am hoping someone can make a > > quick fix so I don't have to debug. > > > > quaternion:doc cmoad$ ./make.py html > > Sphinx v0.3, building html > > trying to load pickled env... not found > > building [html]: targets for 45 source files that are > > out of date > > updating environment: 45 added, 0 changed, 0 removed > > reading... api/artist_api Exception occurred: > > File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ > > inheritance_diagram.py", line 78, in > > _import_class_or_module > > "Invalid class '%s' specified for inheritance > > diagram" % name) > > ValueError: Invalid class 'matplotlib.patches' > > specified for > > inheritance diagram > > > > Thanks, > > Charlie > > > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Matplotlib-devel mailing list > > Mat...@li... > > <mailto:Mat...@li...> > > <mailto:Mat...@li... > > <mailto: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 > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |
From: Darren D. <dsd...@gm...> - 2008-06-23 15:16:01
|
I think I see whats going on. On my machine, py_sig_re.match(name).groups() returns: (u'matplotlib.', u'patches', None, None) but inheritance_diagram.py is trying to unpack this length=4 result into a length=3 tuple. Here is the definition of py_sig_re from sphinx: py_sig_re = re.compile( r'''^ ([\w.]*\.)? # class name(s) (\w+) \s* # thing name (?: \((.*)\) # optional arguments (\s* -> \s* .*)? )? $ # optional return annotation ''', re.VERBOSE) On Saturday 21 June 2008 17:11:05 Michael Droettboom wrote: > Sorry, I'm stumped. > > Mike > > Charlie Moad wrote: > > Here's that file. > > > > Thanks, > > Charlie > > > > On Fri, Jun 20, 2008 at 9:25 AM, Michael Droettboom <md...@st... > > <mailto:md...@st...>> wrote: > > > > Have you updated Sphinx from SVN lately? I have r64374. > > > > Sphinx should have dumped a full traceback into a tmp file (and > > told you where it is, which I don't see in your log output). Can > > you send that? > > > > Cheers, > > Mike > > > > Charlie Moad wrote: > > > > Python2.5 on OSX.5 > > > > On Thu, Jun 19, 2008 at 11:14 PM, Michael Droettboom > > <md...@st... <mailto:md...@st...> > > <mailto:md...@st... <mailto:md...@st...>>> wrote: > > > > What version of Python are you running? All I can think from > > looking at the code is that something in the regex is behaving > > differently for you than me (on Python 2.5). > > > > If you just want the docs to build (minus the inheritance > > diagrams), you can put a "return []" at the top of > > "inheritance_diagram_directive_run" in inheritance_diagram.py > > > > Cheers, > > Mike > > > > Charles Moad wrote: > > > > Just jumped into the new docs to take a look and > > immediately > > having problems building. I am hoping someone can make a > > quick fix so I don't have to debug. > > > > quaternion:doc cmoad$ ./make.py html > > Sphinx v0.3, building html > > trying to load pickled env... not found > > building [html]: targets for 45 source files that are > > out of date > > updating environment: 45 added, 0 changed, 0 removed > > reading... api/artist_api Exception occurred: > > File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ > > inheritance_diagram.py", line 78, in > > _import_class_or_module > > "Invalid class '%s' specified for inheritance > > diagram" % name) > > ValueError: Invalid class 'matplotlib.patches' > > specified for > > inheritance diagram > > > > Thanks, > > Charlie > > > > > > > > ------------------------------------------------------------------------- > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Matplotlib-devel mailing list > > Mat...@li... > > <mailto:Mat...@li...> > > <mailto:Mat...@li... > > <mailto: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 > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel |
From: Michael D. <md...@st...> - 2008-06-23 15:19:10
|
Ah. Something changed in Sphinx SVN. I think the best long term fix is to probably not "borrow" this regex from Sphinx, but include our own version in inheritance_diagram.py. I'll fix this. Cheers, Mike Darren Dale wrote: > I think I see whats going on. On my machine, py_sig_re.match(name).groups() > returns: > > (u'matplotlib.', u'patches', None, None) > > but inheritance_diagram.py is trying to unpack this length=4 result into a > length=3 tuple. > > Here is the definition of py_sig_re from sphinx: > > py_sig_re = re.compile( > r'''^ ([\w.]*\.)? # class name(s) > (\w+) \s* # thing name > (?: \((.*)\) # optional arguments > (\s* -> \s* .*)? )? $ # optional return annotation > ''', re.VERBOSE) > > On Saturday 21 June 2008 17:11:05 Michael Droettboom wrote: > >> Sorry, I'm stumped. >> >> Mike >> >> Charlie Moad wrote: >> >>> Here's that file. >>> >>> Thanks, >>> Charlie >>> >>> On Fri, Jun 20, 2008 at 9:25 AM, Michael Droettboom <md...@st... >>> <mailto:md...@st...>> wrote: >>> >>> Have you updated Sphinx from SVN lately? I have r64374. >>> >>> Sphinx should have dumped a full traceback into a tmp file (and >>> told you where it is, which I don't see in your log output). Can >>> you send that? >>> >>> Cheers, >>> Mike >>> >>> Charlie Moad wrote: >>> >>> Python2.5 on OSX.5 >>> >>> On Thu, Jun 19, 2008 at 11:14 PM, Michael Droettboom >>> <md...@st... <mailto:md...@st...> >>> <mailto:md...@st... <mailto:md...@st...>>> wrote: >>> >>> What version of Python are you running? All I can think from >>> looking at the code is that something in the regex is behaving >>> differently for you than me (on Python 2.5). >>> >>> If you just want the docs to build (minus the inheritance >>> diagrams), you can put a "return []" at the top of >>> "inheritance_diagram_directive_run" in inheritance_diagram.py >>> >>> Cheers, >>> Mike >>> >>> Charles Moad wrote: >>> >>> Just jumped into the new docs to take a look and >>> immediately >>> having problems building. I am hoping someone can make a >>> quick fix so I don't have to debug. >>> >>> quaternion:doc cmoad$ ./make.py html >>> Sphinx v0.3, building html >>> trying to load pickled env... not found >>> building [html]: targets for 45 source files that are >>> out of date >>> updating environment: 45 added, 0 changed, 0 removed >>> reading... api/artist_api Exception occurred: >>> File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ >>> inheritance_diagram.py", line 78, in >>> _import_class_or_module >>> "Invalid class '%s' specified for inheritance >>> diagram" % name) >>> ValueError: Invalid class 'matplotlib.patches' >>> specified for >>> inheritance diagram >>> >>> Thanks, >>> Charlie >>> >>> >>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> _______________________________________________ >>> Matplotlib-devel mailing list >>> Mat...@li... >>> <mailto:Mat...@li...> >>> <mailto:Mat...@li... >>> <mailto: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 >>> >> ------------------------------------------------------------------------- >> Check out the new SourceForge.net Marketplace. >> It's the best place to buy or sell services for >> just about anything Open Source. >> http://sourceforge.net/services/buy/index.php >> _______________________________________________ >> 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: Charlie M. <cw...@gm...> - 2008-06-23 16:55:41
|
Looks like sphinx==0.4 was just released. Could we agree to target this instead of svn? - Charlie On Mon, Jun 23, 2008 at 11:18 AM, Michael Droettboom <md...@st...> wrote: > Ah. Something changed in Sphinx SVN. I think the best long term fix is to > probably not "borrow" this regex from Sphinx, but include our own version in > inheritance_diagram.py. I'll fix this. > > Cheers, > Mike > > > Darren Dale wrote: > >> I think I see whats going on. On my machine, >> py_sig_re.match(name).groups() returns: >> >> (u'matplotlib.', u'patches', None, None) >> >> but inheritance_diagram.py is trying to unpack this length=4 result into >> a length=3 tuple. >> >> Here is the definition of py_sig_re from sphinx: >> >> py_sig_re = re.compile( >> r'''^ ([\w.]*\.)? # class name(s) >> (\w+) \s* # thing name >> (?: \((.*)\) # optional arguments >> (\s* -> \s* .*)? )? $ # optional return annotation >> ''', re.VERBOSE) >> >> On Saturday 21 June 2008 17:11:05 Michael Droettboom wrote: >> >> >>> Sorry, I'm stumped. >>> >>> Mike >>> >>> Charlie Moad wrote: >>> >>> >>>> Here's that file. >>>> >>>> Thanks, >>>> Charlie >>>> >>>> On Fri, Jun 20, 2008 at 9:25 AM, Michael Droettboom <md...@st... >>>> <mailto:md...@st...>> wrote: >>>> >>>> Have you updated Sphinx from SVN lately? I have r64374. >>>> >>>> Sphinx should have dumped a full traceback into a tmp file (and >>>> told you where it is, which I don't see in your log output). Can >>>> you send that? >>>> >>>> Cheers, >>>> Mike >>>> >>>> Charlie Moad wrote: >>>> >>>> Python2.5 on OSX.5 >>>> >>>> On Thu, Jun 19, 2008 at 11:14 PM, Michael Droettboom >>>> <md...@st... <mailto:md...@st...> >>>> <mailto:md...@st... <mailto:md...@st...>>> wrote: >>>> >>>> What version of Python are you running? All I can think from >>>> looking at the code is that something in the regex is behaving >>>> differently for you than me (on Python 2.5). >>>> >>>> If you just want the docs to build (minus the inheritance >>>> diagrams), you can put a "return []" at the top of >>>> "inheritance_diagram_directive_run" in inheritance_diagram.py >>>> >>>> Cheers, >>>> Mike >>>> >>>> Charles Moad wrote: >>>> >>>> Just jumped into the new docs to take a look and >>>> immediately >>>> having problems building. I am hoping someone can make a >>>> quick fix so I don't have to debug. >>>> >>>> quaternion:doc cmoad$ ./make.py html >>>> Sphinx v0.3, building html >>>> trying to load pickled env... not found >>>> building [html]: targets for 45 source files that are >>>> out of date >>>> updating environment: 45 added, 0 changed, 0 removed >>>> reading... api/artist_api Exception occurred: >>>> File "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ >>>> inheritance_diagram.py", line 78, in >>>> _import_class_or_module >>>> "Invalid class '%s' specified for inheritance >>>> diagram" % name) >>>> ValueError: Invalid class 'matplotlib.patches' >>>> specified for >>>> inheritance diagram >>>> >>>> Thanks, >>>> Charlie >>>> >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> Check out the new SourceForge.net Marketplace. >>>> It's the best place to buy or sell services for >>>> just about anything Open Source. >>>> http://sourceforge.net/services/buy/index.php >>>> _______________________________________________ >>>> Matplotlib-devel mailing list >>>> Mat...@li... >>>> <mailto:Mat...@li...> >>>> <mailto:Mat...@li... >>>> <mailto: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 >>>> >>>> >>> ------------------------------------------------------------------------- >>> Check out the new SourceForge.net Marketplace. >>> It's the best place to buy or sell services for >>> just about anything Open Source. >>> http://sourceforge.net/services/buy/index.php >>> _______________________________________________ >>> 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...> - 2008-06-23 17:03:13
|
That version seems to work for me. I agree it's nice to stick to a released version, and we can do that for now. However, we seem to be pretty good at requiring new features and bugfixes out of Sphinx so far, so I don't know, realistically, how long that will last. Sphinx doesn't feel quite at that level of maturity yet. Cheers, Mike Charlie Moad wrote: > Looks like sphinx==0.4 was just released. Could we agree to target > this instead of svn? > > - Charlie > > On Mon, Jun 23, 2008 at 11:18 AM, Michael Droettboom <md...@st... > <mailto:md...@st...>> wrote: > > Ah. Something changed in Sphinx SVN. I think the best long term > fix is to probably not "borrow" this regex from Sphinx, but > include our own version in inheritance_diagram.py. I'll fix this. > > Cheers, > Mike > > > Darren Dale wrote: > > I think I see whats going on. On my machine, > py_sig_re.match(name).groups() returns: > > (u'matplotlib.', u'patches', None, None) > > but inheritance_diagram.py is trying to unpack this length=4 > result into a length=3 tuple. > > Here is the definition of py_sig_re from sphinx: > > py_sig_re = re.compile( > r'''^ ([\w.]*\.)? # class name(s) > (\w+) \s* # thing name > (?: \((.*)\) # optional arguments > (\s* -> \s* .*)? )? $ # optional return annotation > ''', re.VERBOSE) > > On Saturday 21 June 2008 17:11:05 Michael Droettboom wrote: > > > Sorry, I'm stumped. > > Mike > > Charlie Moad wrote: > > > Here's that file. > > Thanks, > Charlie > > On Fri, Jun 20, 2008 at 9:25 AM, Michael Droettboom > <md...@st... <mailto:md...@st...> > <mailto:md...@st... <mailto:md...@st...>>> wrote: > > Have you updated Sphinx from SVN lately? I have > r64374. > > Sphinx should have dumped a full traceback into a > tmp file (and > told you where it is, which I don't see in your log > output). Can > you send that? > > Cheers, > Mike > > Charlie Moad wrote: > > Python2.5 on OSX.5 > > On Thu, Jun 19, 2008 at 11:14 PM, Michael > Droettboom > <md...@st... <mailto:md...@st...> > <mailto:md...@st... <mailto:md...@st...>> > <mailto:md...@st... > <mailto:md...@st...> <mailto:md...@st... > <mailto:md...@st...>>>> wrote: > > What version of Python are you running? All > I can think from > looking at the code is that something in the > regex is behaving > differently for you than me (on Python 2.5). > > If you just want the docs to build (minus > the inheritance > diagrams), you can put a "return []" at the > top of > "inheritance_diagram_directive_run" in > inheritance_diagram.py > > Cheers, > Mike > > Charles Moad wrote: > > Just jumped into the new docs to take a > look and > immediately > having problems building. I am hoping > someone can make a > quick fix so I don't have to debug. > > quaternion:doc cmoad$ ./make.py html > Sphinx v0.3, building html > trying to load pickled env... not found > building [html]: targets for 45 source > files that are > out of date > updating environment: 45 added, 0 > changed, 0 removed > reading... api/artist_api Exception > occurred: > File > "/Users/cmoad/workspace/matplotlib/doc/sphinxext/ > inheritance_diagram.py", line 78, in > _import_class_or_module > "Invalid class '%s' specified for > inheritance > diagram" % name) > ValueError: Invalid class > 'matplotlib.patches' > specified for > inheritance diagram > > Thanks, > Charlie > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell > services for > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > <mailto:Mat...@li...> > <mailto:Mat...@li... > <mailto:Mat...@li...>> > > <mailto:Mat...@li... > <mailto:Mat...@li...> > <mailto:Mat...@li... > <mailto: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 > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Matplotlib-devel mailing list > Mat...@li... > <mailto: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 > > -- Michael Droettboom Science Software Branch Operations and Engineering Division Space Telescope Science Institute Operated by AURA for NASA |