'ascii' codec can't decode byte 0xc4 in position 27: ordinal not in range(128)

This error happens when I try to run d:\linux\linuxkernel\android\内核\blog\BlogBackup(v1.1)source\html5lib-python-master\doc\make.bat. This may be because the chinese character or the path is too long. Then I try to run it as e:\1\html5lib-python-master\doc\make.bat, it works.


sphinx-err-ozgex2.log

# Sphinx version: 1.2.2
# Python version: 2.7.7
# Docutils version: 0.11 release
# Jinja2 version: 2.7.3
# Loaded extensions:
#   sphinx.ext.autodoc from F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\ext\autodoc.pyc
#   sphinx.ext.viewcode from F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\ext\viewcode.pyc
#   sphinx.ext.oldcmarkup from F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\ext\oldcmarkup.pyc
#   sphinx.ext.doctest from F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\ext\doctest.pyc
Traceback (most recent call last):
  File "F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\cmdline.py", line 254, in main
    app.build(force_all, filenames)
  File "F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\application.py", line 212, in build
    self.builder.build_update()
  File "F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\builders\__init__.py", line 214, in build_update
    'out of date' % len(to_build))
  File "F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\builders\__init__.py", line 234, in build
    purple, length):
  File "F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\builders\__init__.py", line 134, in status_iterator
    for item in iterable:
  File "F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\environment.py", line 477, in update_generator
    self.read_doc(docname, app=app)
  File "F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\environment.py", line 629, in read_doc
    self.process_dependencies(docname, doctree)
  File "F:\Python27\lib\site-packages\sphinx-1.2.2-py2.7.egg\sphinx\environment.py", line 768, in process_dependencies
    path.normpath(path.join(cwd, dep)))
  File "F:\Python27\lib\ntpath.py", line 84, in join
    result_path = result_path + p_path
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc4 in position 27: ordinal not in range(128)


你可能感兴趣的:('ascii' codec can't decode byte 0xc4 in position 27: ordinal not in range(128))