1. foobaron
  2. bibcite
  3. Issues
Issue #1 new

AttributeError: TextTranslator instance has no attribute 'builder'

Tobias Mueller
created an issue


$ make text sphinx-build -b text -d _build/doctrees . _build/text Making output directory... Running Sphinx v1.0.7 loading pickled environment... done building [text]: targets for 8 source files that are out of date updating environment: 0 added, 0 changed, 0 removed looking for now-outdated files... none found preparing documents... done writing output... [ 37%] index
Exception occurred: File "/home/muelli/hg/bibcite/bibcite.py", line 29, in visit_node if translator.builder.name == 'latex': AttributeError: TextTranslator instance has no attribute 'builder' The full traceback has been saved in /tmp/sphinx-err-QQ7viy.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: *** [text] Error 1


Comments (2)

  1. foobaron repo owner

    hmm, a couple things: - the lines that you are referring to were not written by me but contained in the original author's repository. Perhaps we should submit the bug report to him rather to my fork of his repo? - it's not at all clear to me what you would want the output the output to be from "text" builder that you're using. Should it just copy the citation tag verbatim? Just leave it out of the text output? I've never used the text builder, and am not sure what you would want from it.

  2. Tobias Mueller reporter

    Hm. Sure. I don't remember why I didn't file it over there. Maybe I thought that development takes place here now, because you were the last to commit.

    As for the Text Builder: No idea for now. The cheap way out might be to leave a footnote with the citation.

  3. Log in to comment