I am trying to use the natbib module at
https://bitbucket.org/wnielson/sphinx-natbib/
and I get the following message,
-------------------------------------------------------------------
Running Sphinx v1.1.3
loading pickled environment... not yet created
building [html]: targets for 1 source files that are out of date
updating environment: 1 added, 0 changed, 0 removed
reading sources... [100%] index
Exception occurred:
File "/Users/acortis/local/lib/python2.7/site-packages/pybtex/utils.py",
line 138, in get
return self[self._keys[key.lower()]]
NameError: global name 'key' is not defined
The full traceback has been saved in
/var/folders/g8/gmdqdykn21x6cwtf3mjwchxw0000gn/T/sphinx-err-Q_50rt.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
---------------------------------
which apparently I need to report to this list (?!?!?!)... please correct
me if I am wrong thanks. The full log is below
Thanks for your kind assistance
Andrea
acortis-air:test acortis$ vi
/var/folders/g8/gmdqdykn21x6cwtf3mjwchxw0000gn/T/sphinx-err-Q_50rt.log
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 286, in nested_parse
node=node, match_titles=match_titles)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 199, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py",
line 239, in run
context, state, transitions)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py",
line 460, in check_line
return method(match, context, next_state)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 1222, in bullet
blank_finish=blank_finish)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 323, in nested_list_parse
node=node, match_titles=match_titles)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 199, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py",
line 239, in run
context, state, transitions)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py",
line 460, in check_line
return method(match, context, next_state)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 2459, in bullet
listitem, blank_finish = self.list_item(match.end())
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 1238, in list_item
node=listitem)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 286, in nested_parse
node=node, match_titles=match_titles)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 199, in run
results = StateMachineWS.run(self, input_lines, input_offset)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/statemachine.py",
line 245, in run
result = state.eof(context)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 2649, in eof
self.blank(None, context, None)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 2641, in blank
context, self.state_machine.abs_line_number() - 1)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 422, in paragraph
textnodes, messages = self.inline_text(text, lineno)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 431, in inline_text
return self.inliner.parse(text, lineno, self.memo, self.parent)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 517, in parse
lineno)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 779, in interpreted_or_phrase_ref
lineno)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/docutils/parsers/rst/states.py",
line 836, in interpreted
nodes, messages2 = role_fn(role, rawsource, text, lineno, self)
File
"/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sphinx/domains/__init__.py",
line 173, in role_adapter
inliner, options, content)
File "/Users/acortis/Data/test/./natbib/__init__.py", line 311, in
__call__
if citations.get(key) is None:
File "/Users/acortis/Data/test/./natbib/__init__.py", line 172, in get
return self.data.entries.get(key)
File "/Users/acortis/local/lib/python2.7/site-packages/pybtex/utils.py",
line 138, in get
return self[self._keys[key.lower()]]
NameError: global name 'key' is not defined
--
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sphinx-dev/-/q0SMr71QY9UJ.
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.