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
@scottbisker encountered this when upgrading from v4.0.1 to v4.0.2
wordfence malware-scan --cache-directory /tmp --pre-compile-generic --pattern-database-path=/tmp/vectorscan-5.4.6-amd64-premium.1.db --match-engine vectorscan --license <any key> --no-check-for-update --accept-terms
Compiling 6021 pattern(s) to vectorscan database (this may take a substantial amount of time depending on system performance)...
Successfully compiled vectorscan database
Error: Can't mix bytes and non-bytes in path components.
Successfully compiled vectorscan database
Traceback (most recent call last):
File ".local/bin/wordfence", line 8, in<module>sys.exit(main())
File ".local/lib/python3.10/site-packages/wordfence/cli/cli.py", line 193, in main
exit_code = invoke_cli()
File ".local/lib/python3.10/site-packages/wordfence/cli/cli.py", line 187, in invoke_cli
return exception_handler.process_exception(exception)
File ".local/lib/python3.10/site-packages/wordfence/cli/cli.py", line 43, in process_exception
raise exception
File ".local/lib/python3.10/site-packages/wordfence/cli/cli.py", line 185, in invoke_cli
returncli.invoke()
File ".local/lib/python3.10/site-packages/wordfence/cli/cli.py", line 178, in invoke
returnsubcommand.invoke()
File ".local/lib/python3.10/site-packages/wordfence/cli/malwarescan/malwarescan.py", line 316, in invoke
database_source = self._get_database_source(
File ".local/lib/python3.10/site-packages/wordfence/cli/malwarescan/malwarescan.py", line 268, in _get_database_source
with tempfile.NamedTemporaryFile(
File "/usr/lib/python3.10/tempfile.py", line 696, in NamedTemporaryFile
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)
File "/usr/lib/python3.10/tempfile.py", line 255, in _sanitize_params
output_type = _infer_return_type(prefix, suffix, dir)
File "/usr/lib/python3.10/tempfile.py", line 236, in _infer_return_type
raise TypeError("Can't mix bytes and non-bytes in "
TypeError: Can't mix bytes and non-bytes in path components.
The text was updated successfully, but these errors were encountered:
@scottbisker encountered this when upgrading from
v4.0.1
tov4.0.2
The text was updated successfully, but these errors were encountered: