Hello everybody.
I have documented a couple of files made in Python. My problem now is that
since today i get the exception below each time I run Sphinx. I executed an
"undo" of my last changes in the source code but the exception remains.
Can anybody help? The program runs on a Win7 Enterprise SP1 system
The complete error text is
Exception occurred:
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\docutils\nodes.py", line 567, in
__getitem__
return self.attributes[key]
KeyError: 'refid'
The full traceback has been saved in c:\temp\sphinx-err-iysw3g.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-users/>,
or report them in the tracker at
<http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
And here is the "full traceback":
# Sphinx version: 1.2b1
# Python version: 2.7.4
# Docutils version: 0.11 release
# Jinja2 version: 2.6
Traceback (most recent call last):
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\sphinx-1.2b1-py2.7.egg\sphinx\cmdline.py",
line 247, in main
app.build(force_all, filenames)
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\sphinx-1.2b1-py2.7.egg\sphinx\application.py",
line 211, in build
self.builder.build_update()
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\sphinx-1.2b1-py2.7.egg\sphinx\builders\__init__.py",
line 211, in build_update
'out of date' % len(to_build))
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\sphinx-1.2b1-py2.7.egg\sphinx\builders\__init__.py",
line 267, in build
self.write(docnames, list(updated_docnames), method)
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\sphinx-1.2b1-py2.7.egg\sphinx\builders\__init__.py",
line 310, in write
self._write_serial(sorted(docnames), warnings)
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\sphinx-1.2b1-py2.7.egg\sphinx\builders\__init__.py",
line 321, in _write_serial
doctree = self.env.get_and_resolve_doctree(docname, self)
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\sphinx-1.2b1-py2.7.egg\sphinx\environment.py",
line 1084, in get_and_resolve_doctree
self.resolve_references(doctree, docname, builder)
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\sphinx-1.2b1-py2.7.egg\sphinx\environment.py",
line 1361, in resolve_references
builder.app.emit('doctree-resolved', doctree, fromdocname)
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\sphinx-1.2b1-py2.7.egg\sphinx\application.py",
line 353, in emit
results.append(callback(self, *args))
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\sphinx-1.2b1-py2.7.egg\sphinx\ext\todo.py",
line 123, in process_todo_nodes
newnode['refuri'] += '#' + todo_info['target']['refid']
File "c:\Program Files
(x86)\MyTools\Python\lib\site-packages\docutils\nodes.py", line 567, in
__getitem__
return self.attributes[key]
KeyError: 'refid'
Best regards
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.