You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I execute the command detect-secrets -v scan , I get an error
Checking file: doc/management/dependencies.md
Traceback (most recent call last):
File "/usr/local/bin/detect-secrets", line 11, in <module>
sys.exit(main())
File "/usr/local/lib/python2.7/dist-packages/detect_secrets/main.py", line 60, in main
word_list_hash,
File "/usr/local/lib/python2.7/dist-packages/detect_secrets/main.py", line 180, in _perform_scan
should_scan_all_files=args.all_files,
File "/usr/local/lib/python2.7/dist-packages/detect_secrets/core/baseline.py", line 83, in initialize
output.scan_file(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)
File "/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))
File "/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)
The content of the file doc/management/dependencies.md is
Uh oh!
There was an error while loading. Please reload this page.
environment info
detect-secrets --version
0.13.0
python -V
Python 2.7.6
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.2 LTS"
When I execute the command
detect-secrets -v scan
, I get an errorThe content of the file doc/management/dependencies.md is
The text was updated successfully, but these errors were encountered: