Boost logo

Boost :

Subject: Re: [boost] [mpl][doc]setup.py not installing docutils.core?
From: Larry Evans (cppljevans_at_[hidden])
Date: 2009-04-06 17:02:56


On 04/06/09 10:49, Aleksey Gurtovoy wrote:
> On Mon, 06 Apr 2009 09:56:01 -0500, Larry Evans
> <cppljevans_at_[hidden]> wrote:
>
>> On 04/05/09 23:35, Aleksey Gurtovoy wrote:
>>> On Mon, 16 Mar 2009 16:05:38 -0500, Larry Evans
>>> <cppljevans_at_[hidden]> wrote:
>>>> Should have read the error closer, in particular the part
>>>> about docutils.core. Should setup.py be installing that?
>>> Yes and no. Not 'setup.py' from step 3, but 'setup.py' for the docutils
>>> snapshot that (I assume) you've downloaded. I guess step 1,
>>> 1. Install prerequisites.
>>> could have been clearer. Does this version work better for you:
>>> https://svn.boost.org/trac/boost/changeset/52206
>>> ?
>>>
>>
>> Thanks, Aleksey, but that says:
>>
>> 25 - To install HTML/frames writer, go to Sandbox's
>> ``agurtovoy/html_frames``
>> 26 directory and run ``python setup.py install``
>>
>> However:
>>
>> https://svn.boost.org/trac/boost/browser/sandbox
>>
>> has no agurtovoy directory. Is there another sandbox
>> I should be looking at?
>
> Yes, the one from the Prerequisites:
>
> * Docutils `HTML/frames writer`_ from Docutils Sandbox. Download it as
> a part of daily `Sandbox snapshot`_ at or get it from the `Docutils'
> Subversion repository`_.
>
> .. _HTML/frames writer:
> http://docutils.sourceforge.net/sandbox/agurtovoy/html_frames/
> .. _Sandbox snapshot:
> http://docutils.sourceforge.net/docutils-sandbox-snapshot.tgz
> .. _Docutils' Subversion repository:
> http://docutils.sourceforge.net/docs/dev/repository.html
>
> Sorry for the confusion.
>

No problem.

I did get the agurtovoy/html_frames and then followed all 4 steps in:

https://svn.boost.org/trac/boost/browser/trunk/libs/mpl/doc/src/README.txt?rev=52206#L12

However, the last step gave error messages:
-{--build.py errors--

~/prog_dev/boost-svn/ro/boost-trunk/libs/mpl/doc/src $ python build.py
at.rst:3207: (ERROR/3) Undefined substitution referenced: "overloaded name".
clear.rst:3950: (ERROR/3) Undefined substitution referenced:
"concept-identical".
insert.rst:4189: (ERROR/3) Undefined substitution referenced:
"overloaded name".
refmanual.gen:4248: (ERROR/3) Undefined substitution referenced:
"concept-identical".
refmanual.gen:4282: (ERROR/3) Undefined substitution referenced:
"concept-identical".
refmanual.gen:4438: (ERROR/3) Undefined substitution referenced:
"concept-identical".
refmanual.gen:5289: (ERROR/3) Undefined substitution referenced:
"concept-identical".
refmanual.gen:5728: (ERROR/3) Undefined substitution referenced:
"concept-identical".
transform.rst:9874: (ERROR/3) Undefined substitution referenced:
"overloaded name".
reverse_transform.rst:11435: (ERROR/3) Undefined substitution
referenced: "overloaded name".
refmanual.gen:14647: (ERROR/3) Undefined substitution referenced: "bind
expression".
protect.rst:15007: (ERROR/3) Undefined substitution referenced: "bind
expression".
refmanual.gen:15043: (ERROR/3) Undefined substitution referenced: "bind
expression".
Traceback (most recent call last):
   File "/usr/bin/rst2htmlrefdoc.py", line 22, in <module>
     publish_cmdline(writer_name='html4_refdoc', description=description)
   File "/usr/lib/python2.5/site-packages/docutils/core.py", line 336,
in publish_cmdline
     config_section=config_section, enable_exit_status=enable_exit_status)
   File "/usr/lib/python2.5/site-packages/docutils/core.py", line 205,
in publish
     output = self.writer.write(self.document, self.destination)
   File
"/usr/lib/python2.5/site-packages/docutils/writers/html4_frames/__init__.py",
line 108, in write
     (index_text, pages) = self.translate(document, index_file,
page_files_dir, extension)
   File
"/usr/lib/python2.5/site-packages/docutils/writers/html4_frames/__init__.py",
line 72, in translate
     document.walkabout(visitor)
   File "/usr/lib/python2.5/site-packages/docutils/nodes.py", line 173,
in walkabout
     if child.walkabout(visitor):
   File "/usr/lib/python2.5/site-packages/docutils/nodes.py", line 165,
in walkabout
     visitor.dispatch_visit(self)
   File "/usr/lib/python2.5/site-packages/docutils/nodes.py", line 1597,
in dispatch_visit
     return method(node)
   File
"/usr/lib/python2.5/site-packages/docutils/writers/html4_frames/__init__.py",
line 210, in visit_section
     section_id = _node_id(node)
   File
"/usr/lib/python2.5/site-packages/docutils/writers/html4_frames/__init__.py",
line 617, in _node_id
     return node['ids'][0]
IndexError: list index out of range

-}--build.py errors--

What might I be doing wrong?

Thanks,

Larry


Boost list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk