MLBazaar / AutoBazaar

AutoBazaar: An AutoML System from the Machine Learning Bazaar
https://mlbazaar.github.io/AutoBazaar/
MIT License
32 stars 12 forks source link

abz list fails on macOS #5

Closed micahjsmith closed 4 years ago

micahjsmith commented 5 years ago

Running abz list on macOS fails due to downstream mit_d3m error.

See also https://github.com/HDI-Project/mit-d3m/issues/7

Example traceback:

$ abz list
Using TensorFlow backend.
du: -h: No such file or directory
WARNING: Logging before flag parsing goes to stderr.
E0826 17:24:25.868743 4586653120 stats.py:96] Exception in dataset LL0_1026_grub_damage
Traceback (most recent call last):
  File "/usr/local/miniconda3/envs/autobazaar/lib/python3.6/site-packages/mit_d3m/stats.py", line 94, in get_stats
    stats = get_dataset_stats(dataset, path, problem)
  File "/usr/local/miniconda3/envs/autobazaar/lib/python3.6/site-packages/mit_d3m/stats.py", line 34, in get_dataset_stats
    size_human = disk_usage(os.path.join(path, dataset, dataset + '_dataset'), True)
  File "/usr/local/miniconda3/envs/autobazaar/lib/python3.6/site-packages/mit_d3m/utils.py", line 32, in disk_usage
    return subprocess.check_output(command).split()[0].decode('utf-8')
  File "/usr/local/miniconda3/envs/autobazaar/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/local/miniconda3/envs/autobazaar/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['du', '-s', '/Users/micahsmith/workspace/AutoBazaar/data/LL0_1026_grub_damage/LL0_1026_grub_damage_dataset', '-h']' returned non-zero exit status 1.
2019-08-26 17:24:25,868 - 12404 - ERROR - stats - Exception in dataset LL0_1026_grub_damage
Traceback (most recent call last):
  File "/usr/local/miniconda3/envs/autobazaar/lib/python3.6/site-packages/mit_d3m/stats.py", line 94, in get_stats
    stats = get_dataset_stats(dataset, path, problem)
  File "/usr/local/miniconda3/envs/autobazaar/lib/python3.6/site-packages/mit_d3m/stats.py", line 34, in get_dataset_stats
    size_human = disk_usage(os.path.join(path, dataset, dataset + '_dataset'), True)
  File "/usr/local/miniconda3/envs/autobazaar/lib/python3.6/site-packages/mit_d3m/utils.py", line 32, in disk_usage
    return subprocess.check_output(command).split()[0].decode('utf-8')
  File "/usr/local/miniconda3/envs/autobazaar/lib/python3.6/subprocess.py", line 356, in check_output
    **kwargs).stdout
  File "/usr/local/miniconda3/envs/autobazaar/lib/python3.6/subprocess.py", line 438, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['du', '-s', '/Users/micahsmith/workspace/AutoBazaar/data/LL0_1026_grub_damage/LL0_1026_grub_damage_dataset', '-h']' returned non-zero exit status 1.
No matching datasets found