1、找到home/zhangxiaolin/.pyenv/versions/3.7.4/lib/python3.7/site-packages/allure_commons/logger.py
2、attached_file.write(body.encode('utf-8'))方法改为 attached_file.write(body.encode('utf-8',errors='surrogatepass'))
1、找到home/zhangxiaolin/.pyenv/versions/3.7.4/lib/python3.7/site-packages/allure_commons/logger.py
2、attached_file.write(body.encode('utf-8'))方法改为 attached_file.write(body.encode('utf-8',errors='surrogatepass'))