Hi there, I'm writing from the abjad users community - we use python to make musical notations. As requested in the sphinx error message, I'm forwarding this error to the dev list; also, maybe someone could help me fix the problem. I'm using sphinx to build our latex docs and get the following ascii encoding range error -
(the full traceback from the error log:) # Sphinx version: 1.0.7 # Python version: 2.6.6 # Docutils version: 0.7 release # Jinja2 version: 2.5.5 Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/Sphinx-1.0.7-py2.6.egg/sphinx/cmdline.py", line 188, in main app.build(force_all, filenames) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/Sphinx-1.0.7-py2.6.egg/sphinx/application.py", line 207, in build self.builder.build_update() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/Sphinx-1.0.7-py2.6.egg/sphinx/builders/ __init__.py", line 193, in build_update self.build(['__all__'], to_build) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/Sphinx-1.0.7-py2.6.egg/sphinx/builders/ __init__.py", line 254, in build self.write(docnames, list(updated_docnames), method) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/Sphinx-1.0.7-py2.6.egg/sphinx/builders/ latex.py", line 104, in write docwriter.write(doctree, destination) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/docutils-0.7-py2.6.egg/docutils/writers/ __init__.py", line 76, in write self.translate() File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/Sphinx-1.0.7-py2.6.egg/sphinx/writers/ latex.py", line 92, in translate self.document.walkabout(visitor) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/docutils-0.7-py2.6.egg/docutils/nodes.py", line 186, in walkabout visitor.dispatch_departure(self) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/docutils-0.7-py2.6.egg/docutils/nodes.py", line 1614, in dispatch_departure return method(node) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/Sphinx-1.0.7-py2.6.egg/sphinx/writers/ latex.py", line 346, in depart_document withdoc=False) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/Sphinx-1.0.7-py2.6.egg/sphinx/writers/ latex.py", line 266, in hypertarget '\\label{%s}' % self.idescape(id) File "/Library/Frameworks/Python.framework/Versions/2.6/lib/ python2.6/site-packages/Sphinx-1.0.7-py2.6.egg/sphinx/writers/ latex.py", line 275, in idescape return str(unicode(id).translate(tex_replace_map)) UnicodeEncodeError: 'ascii' codec can't encode character u'\xe1' in position 41: ordinal not in range(128) -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. 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.