#15649: Doc buliding fails with: DjangoHTMLTranslator instance has no attribute
'_table_row_index'
-------------------------------+--------------------------------------
     Reporter:  bmihelac       |                    Owner:  nobody
         Type:  Bug            |                   Status:  closed
    Component:  Documentation  |                  Version:  1.3
     Severity:  Normal         |               Resolution:  wontfix
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by ramiro):

 * status:  reopened => closed
 * resolution:   => wontfix


Old description:

> When trying to make documentation with make html, following exception is
> raised:
>
> {{{
> Exception occurred:
>   File "/Users/bmihelac/dev/django/src/sphinx/sphinx/writers/html.py",
> line 523, in visit_row
>     self._table_row_index += 1
> AttributeError: DjangoHTMLTranslator instance has no attribute
> '_table_row_index'
> }}}
>
> # Sphinx version: 1.1pre/ce4bb37a1409
> # Python version: 2.6.6
> # Docutils version: 0.7 release
> # Jinja2 version: 2.5

New description:

 When trying to make documentation with make html, following exception is
 raised:

 {{{
 Exception occurred:
   File "/Users/bmihelac/dev/django/src/sphinx/sphinx/writers/html.py",
 line 523, in visit_row
     self._table_row_index += 1
 AttributeError: DjangoHTMLTranslator instance has no attribute
 '_table_row_index'
 }}}


  * Sphinx version: 1.1pre/ce4bb37a1409
  * Python version: 2.6.6
  * Docutils version: 0.7 release
  * Jinja2 version: 2.5

--

Comment:

 Please don't report different errors is the same ticket.

 There are two issues reported in this ticket:

 Fist, the

 {{{
 Exception occurred:
   File ".../sphinx/writers/html.py", line 522, in visit_row
     self._table_row_index += 1
 }}}

 error. It's triggered by a change between Sphinx 1.0.x and 1.1. We fixed
 (or rather worked around) it for our trunk docs in r16223 but we didn't
 backport it to the 1.3.x branch and now it's too late for us to change our
 custom HTML builder code in the 1.3.1 release tarball.

 Second, the
 {{{
 Exception occurred:
   File ".../sphinx/writers/html.py", line 120, in visit_desc_parameter
     self.body.append(self.param_separator)
 }}}

 error. This is a similar case: It also originates in a
 [https://bitbucket.org/birkenfeld/sphinx/changeset/5afc6092a568 change]
 introduced during the Sphinx 1.1 development cycle and in 1.0.8. We also
 had to workaround it (r16231) and didn't backport it to 1.3.x either.
 AFAICT is is a badly implemented change will try to open a ticket in
 Sphinx issue tracker so it is fixed for 1.1.x.

 In short: If you want to build the 1.3 or 1.3.1 Django docs use Sphinx
 1.0.7 or older.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/15649#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to