Hi again,
I have a small problem with todolists.
Basically, I can not add a .. todolist:: directive anywhere in the
code, because I always get this traceback:
# Sphinx version: 1.0.1
# Docutils version: 0.7 release
# Jinja2 version: 2.5.5
Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/sphinx/cmdline.py", line 173, in
main
app.build(force_all, filenames)
File "/usr/lib/pymodules/python2.7/sphinx/application.py", line 207,
in build
self.builder.build_update()
File "/usr/lib/pymodules/python2.7/sphinx/builders/__init__.py",
line 198, in build_update
'out of date' % len(to_build))
File "/usr/lib/pymodules/python2.7/sphinx/builders/__init__.py",
line 254, in build
self.write(docnames, list(updated_docnames), method)
File "/usr/lib/pymodules/python2.7/sphinx/builders/__init__.py",
line 292, in write
doctree = self.env.get_and_resolve_doctree(docname, self)
File "/usr/lib/pymodules/python2.7/sphinx/environment.py", line
1108, in get_and_resolve_doctree
self.resolve_references(doctree, docname, builder)
File "/usr/lib/pymodules/python2.7/sphinx/environment.py", line
1343, in resolve_references
builder.app.emit('doctree-resolved', doctree, fromdocname)
File "/usr/lib/pymodules/python2.7/sphinx/application.py", line 311,
in emit
results.append(callback(self, *args))
File "/usr/lib/pymodules/python2.7/sphinx/ext/todo.py", line 121, in
process_todo_nodes
newnode['refuri'] += '#' + todo_info['target']['refid']
File "/usr/lib/pymodules/python2.7/docutils/nodes.py", line 534, in
__getitem__
return self.attributes[key]
KeyError: 'refid'
*** end trace ***
Not sure if the problem is still present with 1.7 (Here I only have a
1.0.1 and can not upgrade), I will try it this evening at home. I have
also in conf.py: todo_include_todos = True and I use .. todo::
directives pretty extensively.
Any suggestion is appreciated!
Cheers,
Stefano
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" 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/sphinx-dev?hl=en.