Hi all, I was setting up scancode toolkit and got the following error while using the command: source configure.
Configuring ...
Building license index...
Traceback (most recent call last):
File "/Users/sushant/scancode-toolkit/etc/conf/base.py", line 59, in <module>
build_license_cache()
File "/Users/sushant/scancode-toolkit/etc/conf/base.py", line 56, in build_license_cache
cache.reindex()
File "/Users/sushant/scancode-toolkit/src/licensedcode/cache.py", line 145, in get_or_build_index_through_cache
rules_data_dir=_rules_data_dir)
File "/Users/sushant/scancode-toolkit/src/licensedcode/models.py", line 453, in get_rules
rules = list(load_rules(rules_data_dir=rules_data_dir))
File "/Users/sushant/scancode-toolkit/src/licensedcode/models.py", line 550, in load_rules
raise Exception(msg % locals())
Exception: Orphaned files in rule directory: '/Users/sushant/scancode-toolkit/src/licensedcode/data/rules'
/Users/sushant/scancode-toolkit/src/licensedcode/data/rules/.DS_Store
Failed to execute command:
/Users/sushant/scancode-toolkit/bin/python "/Users/sushant/scancode-toolkit/etc/conf/base.py". Aborting...
reported in Gitter by @susg
Hi all, I was setting up scancode toolkit and got the following error while using the command: source configure.