当前位置:   article > 正文

python1e2_python – UnicodeDecodeError:’utf-8’编解码器无法解码位置434852中的字节0xe2:无效的连续字节...

utf-8' codec can't decode byte 0xe2

我正在使用hfcca来计算c代码的圈复杂度. hfcca是一个简单的

python脚本(

https://code.google.com/p/headerfile-free-cyclomatic-complexity-analyzer/).当我尝试运行脚本以xml文件的形式生成输出时,我收到以下错误:

Traceback (most recent call last):

"./hfcca.py", line 802, in

main(sys.argv[1:])

File "./hfcca.py", line 798, in main

print(xml_output([f for f in r], options))

File "./hfcca.py", line 798, in

print(xml_output([f for f in r], options))

File "/x/home06/smanchukonda/PREFIX/lib/python3.3/multiprocessing/pool.py", line 652, in next

raise value

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe2 in position 434852: invalid continuation byte

请在这件事上给予我帮助..

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/羊村懒王/article/detail/539693
推荐阅读
相关标签
  

闽ICP备14008679号