Traceback (most recent call last):


 "/home/macinna/.local/bin/taskcat", line 58, in <module>

main()


 "/home/macinna/.local/bin/taskcat", line 46, in main

tcat_instance.validate_template(taskcat_cfg, test_list)


 "/home/macinna/.local/lib/python3.5/site-packages/taskcat/stacker.py", line 717, in validate_template

self.define_tests(taskcat_cfg, test)


 "/home/macinna/.local/lib/python3.5/site-packages/taskcat/stacker.py", line 1522, in define_tests

if self.check_json(cfntemplate, quite=True, strict=False):


 "/home/macinna/.local/lib/python3.5/site-packages/taskcat/stacker.py", line 1569, in check_json

parms = json.loads(jsonin)


 "/usr/lib/python3.5/json/__init__.py", line 312, in loads

s.__class__.__name__))
TypeError: the JSON object must be str, not 'bytes'

Traceback (most recent call last):


 "sublist3r.py", line 985, in <module>

interactive()


 "sublist3r.py", line 982, in interactive

res = main(domain, threads, savefile, ports, silent=False, verbose=verbose, enable_bruteforce=enable_bruteforce, engines=engines)


 "sublist3r.py", line 952, in main

write_file(savefile, subdomains)


 "sublist3r.py", line 107, in write_file

with open(str(filename), 'wt',encoding='utf-8') as f:
TypeError: 'encoding' is an invalid keyword argument for this function
