Sitadel icon indicating copy to clipboard operation
Sitadel copied to clipboard

AttributeError: module 'collections' has no attribute 'Hashable'

Open sedorf opened this issue 2 years ago • 2 comments

└─$ python sitadel.py https://site.com


| || || | / |) _ | | | | | | ( ( _ | | _____ | || | | _ | ___ | (_ |___ |/ _ | ___ | | | || | _____) ) | | |/ ___ ( (| | | | | | (/|| __)|_|___)_) 1.0.1

~/# Sitadel - Web Application Security Scanner #~ ~/# Shenril (@shenril) #~ ~/# https://github.com/shenril/Sitadel #~

Traceback (most recent call last): File "/home/pc/Desktop/Sitadel/sitadel.py", line 174, in Sitadel().main() File "/home/pc/Desktop/Sitadel/sitadel.py", line 99, in main settings.from_yaml(args.config) File "/home/pc/Desktop/Sitadel/lib/config/settings.py", line 48, in from_yaml config = yaml.load(yamlfile, Loader=yaml.SafeLoader) File "/usr/local/lib/python3.10/dist-packages/yaml/init.py", line 72, in load return loader.get_single_data() File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 37, in get_single_data return self.construct_document(node) File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 46, in construct_document for dummy in generator: File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 398, in construct_yaml_map value = self.construct_mapping(node) File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 204, in construct_mapping return super().construct_mapping(node, deep=deep) File "/usr/local/lib/python3.10/dist-packages/yaml/constructor.py", line 126, in construct_mapping if not isinstance(key, collections.Hashable): AttributeError: module 'collections' has no attribute 'Hashable'

sedorf avatar Dec 23 '22 13:12 sedorf

Hello to you too

Could you tell me your environment/ python version ?

shenril avatar Dec 23 '22 13:12 shenril

hello @shenril ,

i use kali linux , Python 3.10.7

sedorf avatar Dec 23 '22 18:12 sedorf