Traceback (most recent call last):


 "/usr/local/bin/detect-secrets", line 11, in <module>

sys.exit(main())


 "/usr/local/lib/python2.7/dist-packages/detect_secrets/main.py", line 60, in main

word_list_hash,


 "/usr/local/lib/python2.7/dist-packages/detect_secrets/main.py", line 180, in _perform_scan

should_scan_all_files=args.all_files,


 "/usr/local/lib/python2.7/dist-packages/detect_secrets/core/baseline.py", line 83, in initialize

output.scan_file(file)


 "/usr/local/lib/python2.7/dist-packages/detect_secrets/core/secrets_collection.py", line 234, in scan_file

self._extract_secrets_from_file(f, filename_key)


 "/usr/local/lib/python2.7/dist-packages/detect_secrets/core/secrets_collection.py", line 340, in _extract_secrets_from_file

results.update(plugin.analyze(f, filename))


 "/usr/local/lib/python2.7/dist-packages/detect_secrets/plugins/base.py", line 129, in analyze

is_verified = self.verify(result.secret_value, content=str(snippet))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 17-20: ordinal not in range(128)

Traceback (most recent call last):


 "/usr/local/lib/python2.7/dist-packages/patroni-1.4.3-py2.7.egg/patroni/async_executor.py", line 97, in run

wakeup = func(*args) if args else func()


 "/usr/local/lib/python2.7/dist-packages/patroni-1.4.3-py2.7.egg/patroni/postgresql.py", line 1561, in bootstrap

return do_initialize(config) and self.write_pg_hba(pg_hba) and self.save_configuration_files() \


 "/usr/local/lib/python2.7/dist-packages/patroni-1.4.3-py2.7.egg/patroni/postgresql.py", line 546, in _initdb

os.write(fd, self._superuser['password'].encode('utf-8'))
AttributeError: 'int' object has no attribute 'encode'
