エラーが発生します
'NoneType' object has no attribute 'startswith'
gcovr (テストのカバレッジを見積もるツール) で html レポートを作成しようとした場合
どのように修正すればよいですか?情報については、Ubuntu 14.04 を使用しています。以下の詳細なエラー メッセージを参照してください。
parallels:try_gcovr$ gcovr -r . --html
Traceback (most recent call last):
File "/usr/local/bin/gcovr", line 1970, in <module>
print_html_report(covdata, options.html_details)
File "/usr/local/bin/gcovr", line 1373, in print_html_report
ttmp = os.path.abspath(options.output).split('.')
File "/usr/lib/python2.7/posixpath.py", line 367, in abspath
if not isabs(path):
File "/usr/lib/python2.7/posixpath.py", line 61, in isabs
return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'