#13616: Sphinx error when building docs using Sphinx 1.0b1
------------------------------------+---------------------------------------
          Reporter:  hvdklauw       |         Owner:  nobody
            Status:  new            |     Milestone:        
         Component:  Documentation  |       Version:  SVN   
        Resolution:                 |      Keywords:        
             Stage:  Accepted       |     Has_patch:  0     
        Needs_docs:  0              |   Needs_tests:  0     
Needs_better_patch:  0              |  
------------------------------------+---------------------------------------
Changes (by Alex):

  * needs_better_patch:  => 0
  * stage:  Unreviewed => Accepted
  * needs_tests:  => 0
  * needs_docs:  => 0

Old description:

> When using the development version of Sphinx the docs no longer build.
>
> $ make html
> sphinx-build -b djangohtml -d _build/doctrees   . _build/html
> Running Sphinx v1.0b1
> loading pickled environment... not yet created
> building [djangohtml]: targets for 187 source files that are out of date
> updating environment: 187 added, 0 changed, 0 removed
> /Users/hvdklauw/.virtualenvs/djangodev/src/django/docs/_ext/djangodocs.py:91:
> DeprecationWarning: xfileref_role is deprecated, use XRefRole
>   xrefs = sphinx.roles.xfileref_role('ref', linktext, linktext, lineno,
> state)
>
> Exception occurred:
>   File
> "/Users/hvdklauw/.virtualenvs/djangodev/src/django/docs/_ext/djangodocs.py",
> line 103, in parse_version_directive
>     env.note_versionchange(node['type'], node['version'], node, lineno)
> AttributeError: BuildEnvironment instance has no attribute
> 'note_versionchange'
> The full traceback has been saved in
> /var/folders/+f/+fg+tkaAEP4s9WIWJaIwc++++TI/-Tmp-/sphinx-err-EcMj2N.log,
> if you want to report the issue to the developers.
> Please also report this if it was a user error, so that a better error
> message can be provided next time.
> Either send bugs to the mailing list at <http://groups.google.com/group
> /sphinx-dev/>,
> or report them in the tracker at
> <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
> make: *** [html] Error 1

New description:

 When using the development version of Sphinx the docs no longer build.
 {{{
 $ make html
 sphinx-build -b djangohtml -d _build/doctrees   . _build/html
 Running Sphinx v1.0b1
 loading pickled environment... not yet created
 building [djangohtml]: targets for 187 source files that are out of date
 updating environment: 187 added, 0 changed, 0 removed
 /Users/hvdklauw/.virtualenvs/djangodev/src/django/docs/_ext/djangodocs.py:91:
 DeprecationWarning: xfileref_role is deprecated, use XRefRole
   xrefs = sphinx.roles.xfileref_role('ref', linktext, linktext, lineno,
 state)

 Exception occurred:
   File
 "/Users/hvdklauw/.virtualenvs/djangodev/src/django/docs/_ext/djangodocs.py",
 line 103, in parse_version_directive
     env.note_versionchange(node['type'], node['version'], node, lineno)
 AttributeError: BuildEnvironment instance has no attribute
 'note_versionchange'
 The full traceback has been saved in
 /var/folders/+f/+fg+tkaAEP4s9WIWJaIwc++++TI/-Tmp-/sphinx-err-EcMj2N.log,
 if you want to report the issue to the developers.
 Please also report this if it was a user error, so that a better error
 message can be provided next time.
 Either send bugs to the mailing list at <http://groups.google.com/group
 /sphinx-dev/>,
 or report them in the tracker at
 <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
 make: *** [html] Error 1
 }}}

Comment:

 Cleaned up the formatting, please use preview in the future.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13616#comment:1>
Django <http://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