-
Notifications
You must be signed in to change notification settings - Fork 232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
请教,直接运行sample.py报错。 #19
Comments
是不是因为没有把 BeautifulReport 这个 packages 放在 site-packages 路径下? |
@TesterlifeRaymond 在python的安装目录的site-packages路径下,有 BeautifulReport这个文件夹 |
ok 我先找到这个问题, 感谢你的反馈 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
主要报错信息:
File "G:\BeautifulReport\BeautifulReport.py", line 189, in complete_output
return self.outputBuffer.getvalue()
AttributeError: 'NoneType' object has no attribute 'getvalue'
即:
if self.sys_stdout:
sys.stdout = self.sys_stdout
sys.stderr = self.sys_stderr
self.sys_stdout = None
self.sys_stderr = None
return self.outputBuffer.getvalue()
self.sys_stdout为None,
self.outputBuffer也为None,请指教,谢谢!
The text was updated successfully, but these errors were encountered: