Skip to content

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

Description

@sedorf

└─$ 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'

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions