Skip to content

Zenmap 7.96 on Windows crashes with UnicodeDecodeError when scan begins #3087

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

Closed
aj0ker opened this issue May 8, 2025 · 2 comments
Closed
Labels

Comments

@aj0ker
Copy link

aj0ker commented May 8, 2025

Version: 7.96
Traceback (most recent call last):
File "D:\Nmap\zenmap\lib\python3.12\site-packages\zenmapGUI\ScanInterface.py", line 539, in verify_execution
self.scan_result.refresh_nmap_output()
File "D:\Nmap\zenmap\lib\python3.12\site-packages\zenmapGUI\ScanInterface.py", line 909, in refresh_nmap_output
self.scan_result_notebook.nmap_output.nmap_output.refresh_output()
File "D:\Nmap\zenmap\lib\python3.12\site-packages\zenmapGUI\NmapOutputViewer.py", line 290, in refresh_output
new_output = self.command_execution.stdout_file.read()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "../lib/python3.12/tempfile.py", line 499, in func_wrapper
File "", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd6 in position 60: invalid continuation byte

@aj0ker aj0ker added the Zenmap label May 8, 2025
@dmiller-nmap dmiller-nmap changed the title zenmap crash report Zenmap 7.96 on Windows crashes with UnicodeDecodeError when scan begins May 8, 2025
@adsyandex
Copy link

У меня похожая проблема:
Version: 7.96
Traceback (most recent call last):
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.12\site-packages\zenmapGUI\ScanInterface.py", line 539, in verify_execution
self.scan_result.refresh_nmap_output()
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.12\site-packages\zenmapGUI\ScanInterface.py", line 909, in refresh_nmap_output
self.scan_result_notebook.nmap_output.nmap_output.refresh_output()
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.12\site-packages\zenmapGUI\NmapOutputViewer.py", line 290, in refresh_output
new_output = self.command_execution.stdout_file.read()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "../lib/python3.12/tempfile.py", line 499, in func_wrapper
File "", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe7 in position 259: invalid continuation byte

@dmiller-nmap
Copy link

This issue has been resolved in Zenmap 7.97, released today.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants