On Thursday, 20 September 2012 19:38:55 UTC+1, Andrea wrote: > > thanks guys, but I am experiencing a problem with the bibtex package at > > http://sphinxcontrib-bibtex.readthedocs.org/ > > What I get is: > --------------------- > acortis02-d:doc acortis$ make html > sphinx-build -b html -d build/doctrees source build/html > Running Sphinx v1.0.7 > loading pickled environment... done > building [html]: targets for 0 source files that are out of date > updating environment: [extensions changed] 3 added, 0 changed, 0 removed > reading sources... [ 33%] index > Exception occurred: > File > "/Library/Frameworks/Python.framework/Versions/7.1/lib/python2.7/site-packages/sphinxcontrib_bibtex-0.2.4-py2.7.egg/sphinxcontrib/bibtex/directives.py", > > > line 103, in run > bibfile = os.path.normpath(env.relfn2path(bibfile.strip())[1]) > AttributeError: BuildEnvironment instance has no attribute 'relfn2path' > The full traceback has been saved in > /var/folders/w9/01c_hht14g31d8r_fjh0hxs400017v/T/sphinx-err-XAtCKk.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 > --------------------- > > Can you help me start figuring out what is this error message? > > Thanks > > Andrea > > Andrea,
It appears the function `relfn2path`, which is where it was failing, was only added at version 1.1 of Sphinx. You will need to upgrade to the latest version of Sphinx to get it to work -- 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/-/5m_uR-p9fyUJ. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.