Traceback (most recent call last):


 "/usr/local/bin/checkov", line 5, in <module>

run()


 "/usr/local/lib/python3.8/site-packages/checkov/main.py", line 96, in run

scan_reports = runner_registry.run(external_checks_dir=external_checks_dir, files=args.file,


 "/usr/local/lib/python3.8/site-packages/checkov/common/runners/runner_registry.py", line 34, in run

scan_report = runner.run(root_folder, external_checks_dir=external_checks_dir, files=files,


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/plan_runner.py", line 65, in run

self.check_tf_definition(report, runner_filter)


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/plan_runner.py", line 79, in check_tf_definition

self.run_block(definition[block_type], full_file_path, report, scanned_file,


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/plan_runner.py", line 95, in run_block

results = registry.scan(scanned_file, entity, [], runner_filter)


 "/usr/local/lib/python3.8/site-packages/checkov/common/checks/base_check_registry.py", line 109, in scan

result = self.run_check(check, entity_configuration, entity_name, entity_type, scanned_file, skip_info)


 "/usr/local/lib/python3.8/site-packages/checkov/common/checks/base_check_registry.py", line 115, in run_check

result = check.run(scanned_file=scanned_file, entity_configuration=entity_configuration,


 "/usr/local/lib/python3.8/site-packages/checkov/common/checks/base_check.py", line 62, in run

raise e


 "/usr/local/lib/python3.8/site-packages/checkov/common/checks/base_check.py", line 42, in run

check_result['result'] = self.scan_entity_conf(entity_configuration, entity_type)


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/checks/resource/base_resource_check.py", line 17, in scan_entity_conf

return self.scan_resource_conf(conf, entity_type)


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/checks/resource/base_resource_check.py", line 33, in wrapper

return wrapped(self, conf)


 "/usr/local/lib/python3.8/site-packages/checkov/terraform/checks/resource/gcp/CloudStorageSelfLogging.py", line 17, in scan_resource_conf

if conf['logging'][0]['log_bucket']:
TypeError: list indices must be integers or slices, not str

Traceback (most recent call last):


 "test.py", line 9, in <module>

print(move,board.san(move))


 "/usr/local/lib/python3.6/site-packages/chess/__init__.py", line 2410, in san

return self._algebraic(move)


 "/usr/local/lib/python3.6/site-packages/chess/__init__.py", line 2458, in _algebraic

san = PIECE_SYMBOLS[piece].upper()
TypeError: list indices must be integers or slices, not NoneType
