New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Encoding issue with Dashboard on Prowler 4.1.0 - Aces High #3866
Comments
I had the same issue and the pr you linked to has fixed the issue for me. Thanks |
in My case still I am stuck after the suggested change. First Changes encoding_format = "windows-1252" Second Changes def load_csv_files(csv_files): Result Traceback (most recent call last): |
Hey! @mishradhananjai117 this can be happpening because you are still using an older version or the output folder has old files with incorrect format. To ensure everything is ok you can make these comprobations:
If after all the steps you are still getting errors, we will investigate furthermore. Thanks for using Prowler!! 🚀 |
Steps to Reproduce
After running the scan, there is an encoding error when trying to open the dashboard using
python prowler.py dashboard
The error is as below:
When attempting to change
encoding_format
in\prowler-4.1.0\dashboard\config.py
fromutf-8
towindows-1252
orISO-88659-1
we will get a new error as follows:Expected behavior
Dashboard should be running
Actual Result with Screenshots or Logs
First Error
Second Error
How did you install Prowler?
Cloning the repository from github.com (git clone)
Environment Resource
Running on workstation.
OS used
Windows 10
Kali Linux (attempting to parse output from windows 10 in Kali Linux gives the same error.)
Prowler version
4.1.0
Pip version
pip 24.0
Context
In an attempt for a quick fix, I have changed the following areas with some success.
Firstly, change
encoding_format
in\prowler-4.1.0\dashboard\config.py
fromutf-8
towindows-1252
orISO-88659-1
Initial:
Quick Fixed:
Next add
encoding='unicode_escape'
todf = pd.read_csv()
line in functiondef load_csv_files(csv_files)
in\prowler-4.1.0\dashboard\pages\overview.py
Initial :
Quick Fixed:
The text was updated successfully, but these errors were encountered: