Hi,
my guess is that you have a filename with non-ASCII letters in one of
the files
in conf.py. Try writing that name as unicode string, i.e. u"..."
instead of "...".
Does the html build run without errors?

Regards,
  Roland

On 14 Dez., 18:05, Tony Yet <7di...@gmail.com> wrote:
> i came upon this error message while using the "make epub" command, could
> anyone tell me what went wrong and how to fix it?
>
> thanks.
>
> here's the error message i got:
>
>   File
> "/usr/local/lib/python2.6/dist-packages/Sphinx-1.1-py2.6.egg/sphinx/environment.py",
> line 758, in read_doc
>     pub.set_source(None, src_path.encode(fs_encoding))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 30:
> ordinal not in range(128)
> The full traceback has been saved in /tmp/sphinx-err-OmFdtd.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: *** [epub] Error 1
>
> and here's the output of the log file:
>
> # Sphinx version: 1.1
> # Python version: 2.6.5
> # Docutils version: 0.8.1 release
> # Jinja2 version: 2.6
> Traceback (most recent call last):
>   File
> "/usr/local/lib/python2.6/dist-packages/Sphinx-1.1-py2.6.egg/sphinx/cmdline.py",
> line 189, in main
>     app.build(force_all, filenames)
>   File
> "/usr/local/lib/python2.6/dist-packages/Sphinx-1.1-py2.6.egg/sphinx/application.py",
> line 204, in build
>     self.builder.build_update()
>   File
> "/usr/local/lib/python2.6/dist-packages/Sphinx-1.1-py2.6.egg/sphinx/builders/__init__.py",
> line 196, in build_update
>     'out of date' % len(to_build))
>   File
> "/usr/local/lib/python2.6/dist-packages/Sphinx-1.1-py2.6.egg/sphinx/builders/__init__.py",
> line 216, in build
>     purple, length):
>   File
> "/usr/local/lib/python2.6/dist-packages/Sphinx-1.1-py2.6.egg/sphinx/builders/__init__.py",
> line 120, in status_iterator
>     for item in iterable:
>   File
> "/usr/local/lib/python2.6/dist-packages/Sphinx-1.1-py2.6.egg/sphinx/environment.py",
> line 613, in update_generator
>     self.read_doc(docname, app=app)
>   File
> "/usr/local/lib/python2.6/dist-packages/Sphinx-1.1-py2.6.egg/sphinx/environment.py",
> line 758, in read_doc
>     pub.set_source(None, src_path.encode(fs_encoding))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 30:
> 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.

Reply via email to