Your message dated Mon, 25 Aug 2014 10:20:39 +0000
with message-id <[email protected]>
and subject line Bug#754408: fixed in sphinx 1.2.2+dfsg-3
has caused the Debian Bug report #754408,
regarding [python-sphinx] TODO extension not compatible with websupport
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
754408: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754408
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-sphinx
Version: 1.2.2+dfsg-2
Severity: normal

Hi,

by playing with the sphinx's websupport i go to problems with this
excpetion:

...
pickling environment... done
checking consistency... done
preparing documents... done
Traceback (most recent call last):                                              
                                                               
  File "websupport.py", line 34, in <module>
    support.build()
  File "/usr/lib/python2.7/dist-packages/sphinx/websupport/__init__.py", line 
127, in build
    app.build()
  File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 212, in 
build
    self.builder.build_update()
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 
214, in build_update
    'out of date' % len(to_build))
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 
276, in build
    self.write(docnames, list(updated_docnames), method)
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 
320, in write
    self._write_serial(sorted(docnames), warnings)
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 
333, in _write_serial
    self.write_doc(docname, doctree)
  File "/usr/lib/python2.7/dist-packages/sphinx/builders/websupport.py", line 
63, in write_doc
    self.docwriter.write(doctree, destination)
  File "/usr/lib/python2.7/dist-packages/docutils/writers/__init__.py", line 
80, in write
    self.translate()
  File "/usr/lib/python2.7/dist-packages/sphinx/writers/html.py", line 51, in 
translate
    self.document.walkabout(visitor)
  File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 174, in 
walkabout
    if child.walkabout(visitor):
  File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 174, in 
walkabout
    if child.walkabout(visitor):
  File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 174, in 
walkabout
    if child.walkabout(visitor):
  File "/usr/lib/python2.7/dist-packages/docutils/nodes.py", line 166, in 
walkabout
    visitor.dispatch_visit(self)
  File "/usr/lib/python2.7/dist-packages/sphinx/writers/websupport.py", line 
27, in dispatch_visit
    self.handle_visit_commentable(node)
  File "/usr/lib/python2.7/dist-packages/sphinx/writers/websupport.py", line 
34, in handle_visit_commentable
    self.add_db_node(node)
  File "/usr/lib/python2.7/dist-packages/sphinx/writers/websupport.py", line 
43, in add_db_node
    if not storage.has_node(node.uid):
AttributeError: 'paragraph' object has no attribute 'uid'


The websupport is implemented by very basic way:

from sphinx.websupport import WebSupport

support = WebSupport(srcdir="path to source dir",
                     builddir="path to build dir",
                     search="whoosh"
                    )
support.build()

After some investigation i find (and confirmed on new empty project),
that this is caused by the TODO extension, more precisely by the
"todolist" directive, but only if at least one "todo" directive exist.
Without any "todo" directive or without "todolist" directive or with the
"todo_include_todos = False" (the default one) all works as expected.

regards

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.14-1-amd64

Debian Release: jessie/sid
  500 testing         ftp.sk.debian.org 

--- Package information. ---
Depends                    (Version) | Installed
====================================-+-=================
python:any             (>= 2.7.5-5~) | 
python-docutils             (>= 0.7) | 0.11-3
python-pygments             (>= 1.2) | 1.6+dfsg-1
python-jinja2               (>= 2.3) | 2.7.3-1
python:any                  (<< 2.8) | 
sphinx-common       (= 1.2.2+dfsg-2) | 1.2.2+dfsg-2


Recommends             (Version) | Installed
================================-+-===========
python                 (>= 2.6)  | 2.7.6-2
 OR python-simplejson            | 3.5.3-1
python-pil                       | 2.4.0-2
sphinx-doc                       | 


Suggests                       (Version) | Installed
========================================-+-===========
jsmath                                   | 3.6e-1
libjs-mathjax                            | 2.4-1
dvipng                                   | 1.14-2
texlive-latex-recommended                | 2014.20140626-1
texlive-latex-extra                      | 2014.20140626-1
texlive-fonts-recommended                | 2014.20140626-1


-- 
Slavko
http://slavino.sk

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: sphinx
Source-Version: 1.2.2+dfsg-3

We believe that the bug you reported is fixed in the latest version of
sphinx, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <[email protected]> (supplier of updated sphinx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 25 Aug 2014 13:50:20 +0400
Source: sphinx
Binary: python-sphinx python3-sphinx sphinx-common sphinx-doc libjs-sphinxdoc
Architecture: source all
Version: 1.2.2+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team 
<[email protected]>
Changed-By: Dmitry Shachnev <[email protected]>
Description:
 libjs-sphinxdoc - JavaScript support for Sphinx documentation
 python-sphinx - documentation generator for Python projects (implemented in 
Pytho
 python3-sphinx - documentation generator for Python projects (implemented in 
Pytho
 sphinx-common - documentation generator for Python projects - common data
 sphinx-doc - documentation generator for Python projects - documentation
Closes: 754408
Changes:
 sphinx (1.2.2+dfsg-3) unstable; urgency=medium
 .
   * Remove obsolete Recommends: on python-simplejson and Suggests:
     on jsmath.
   * debian/patches/websupport_todo.diff: Make websupport work with
     todolist directives (closes: #754408).
Checksums-Sha1:
 c2c2bd6c75fd4da40730a4ee389c1ea306e48e09 2786 sphinx_1.2.2+dfsg-3.dsc
 1af89783f9c76d3ee9e102b17b41a2a94cc06020 26332 
sphinx_1.2.2+dfsg-3.debian.tar.xz
 81afdfeabb2d31d2e92d9ee9ebfc73e4e9cbf778 269320 
python-sphinx_1.2.2+dfsg-3_all.deb
 0d98bfad3ae0ca875872d37f2209e3c01072ae2f 268878 
python3-sphinx_1.2.2+dfsg-3_all.deb
 70b030b3cfd11f62fae37329c7252200af8f827d 390988 
sphinx-common_1.2.2+dfsg-3_all.deb
 5ed0476ca92ad84da50ee1bd323ee982624978d1 997212 sphinx-doc_1.2.2+dfsg-3_all.deb
 ce50f73f66f20e487b013ecd468224b3187ab5b1 39910 
libjs-sphinxdoc_1.2.2+dfsg-3_all.deb
Checksums-Sha256:
 a0037bb8c28d1159ef3877c2ea4a8f2ba6e6c2e8c2822c0d4abb01960e8cd908 2786 
sphinx_1.2.2+dfsg-3.dsc
 4bc41ab46a01ae3ca0fa896d63018c5c670d3949d28f6e3e1f2a0ec661f79e2f 26332 
sphinx_1.2.2+dfsg-3.debian.tar.xz
 bab37b27d5bba78cc73eb3b993efeeadf7837d63c6789b378b9149e57b83bc0e 269320 
python-sphinx_1.2.2+dfsg-3_all.deb
 fb8aca39ef777a3631fb651bebe8291d78ff11ee12d3caf90c7f8a9541112cfd 268878 
python3-sphinx_1.2.2+dfsg-3_all.deb
 eb109b7c7d4d0c21770d5bd24e8b1d09f68e9dc9c6c726b6d849d00d05277f04 390988 
sphinx-common_1.2.2+dfsg-3_all.deb
 e6729cbd61df7219c3c0f41fc86c96547580842a1ad504cd269d115d36a95326 997212 
sphinx-doc_1.2.2+dfsg-3_all.deb
 49f0da092819619a9bf9ed28ef47638fe82e018b08d64b2ad9136bde7ab4df2d 39910 
libjs-sphinxdoc_1.2.2+dfsg-3_all.deb
Files:
 76135b2465157431d0aa01869fe0c42c 269320 python optional 
python-sphinx_1.2.2+dfsg-3_all.deb
 eb387a51401a0c655eac14b1c304e5ff 268878 python optional 
python3-sphinx_1.2.2+dfsg-3_all.deb
 57a9e2176b7d41482fdce01ad68d222a 390988 python optional 
sphinx-common_1.2.2+dfsg-3_all.deb
 d0a69ff9ff7da65eba6c6682866ef6bb 997212 doc optional 
sphinx-doc_1.2.2+dfsg-3_all.deb
 cfe1d812b07ae4e34880d4fb72296c62 39910 web optional 
libjs-sphinxdoc_1.2.2+dfsg-3_all.deb
 d8851dec0b67c384e1ad594f930aeda3 2786 python optional sphinx_1.2.2+dfsg-3.dsc
 7a88cf7662d5082e70aeeb737c031891 26332 python optional 
sphinx_1.2.2+dfsg-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJT+w1hAAoJEGAmk20vHIrgyR0P/31cFx5IQ9K1nibUPVBWEeXv
hXs90zFI772rSX2LWzXbRmWqzU1F3oS31/RzQGzwy2RNgxt1+e7b67b35xcXb4sB
jr0Qy9zF0xaARc0Aj4qtCld1dPVCOsl+vaZKcfMJmJie5t+Optx9L6aOIZNC29H3
gzAyU1EP0dkDyGlU+x+VO3ZdOa0WuG8yq1rwR0hgviR37iAMaiCJ/5v2nBEwmB3T
Ao+Rv4r2odobt51+dCjzaKj/cRBIy4+br9AJyE4weDBTiQx69J8HEHCBRtCJ/y+E
DGfLwICMuWQIzO8Aa5asyuSRwEfb039WPHa5tBoY/hqaLQkIM1c64p9ylgK2AM4m
a5ysmz7iJktE3HKEsovkKRWP471E5MMv+xEbwEEynAdLzAD4wLYwr/vCL1gNf1YG
8eXj9ygdKuBK0VKZVe/QYv5A3f1ZpDf8rwLDuskG7YX0hM7IyTaagOelYNp3Nido
xzQ4qoywRcxvJHBvP8n9/+fCVtMmgEPgjYzKYHcVVNE74OquygSyaSSh9wnwKe4H
uEVkaVvS4bwRCVXIXn4zEGfv0rvLs85yMpKvFT99yWR4SHKAZhrQO9tMYC7boECl
bdCHvExDJCPikPRv4qAg34CeNfv62cykQsRsvX8un70H0lryr/dmy6ezoMs1kWe4
lTDcf1OT2CJ9oX09xf46
=51Tf
-----END PGP SIGNATURE-----

--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to