'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)


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值