fuzzbench icon indicating copy to clipboard operation
fuzzbench copied to clipboard

AttributeError: 'NoneType' object has no attribute 'get' when running local experiment

Open SRZ225Z-110708 opened this issue 4 years ago • 0 comments

I have set up fuzzbench on my WSL. The make presubmit process executed successfully. However, after creating the configuration yaml file provided in the documents for running local experiments, when trying executing run_experiments.py, the process ended up with the error below:

Traceback (most recent call last):
  File "experiment/run_experiment.py", line 569, in <module>
    sys.exit(main())
  File "experiment/run_experiment.py", line 555, in main
    start_experiment(args.experiment_name,
  File "experiment/run_experiment.py", line 228, in start_experiment
    config = read_and_validate_experiment_config(config_filename)
  File "experiment/run_experiment.py", line 79, in read_and_validate_experiment_config
    local_experiment = config.get('local_experiment', False)
AttributeError: 'NoneType' object has no attribute 'get'

The verson of WSL is Ubuntu 20.04 LTS, and the python version is python3.8.10.

SRZ225Z-110708 avatar Sep 28 '21 05:09 SRZ225Z-110708