-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
Description
Describe the bug
When i open zenmap, it opens a windows with this error:
Version: 7.95
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\App.py", line 286, in run
window = new_window()
^^^^^^^^^^^^
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\App.py", line 129, in new_window
from zenmapGUI.MainWindow import ScanWindow
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapGUI\MainWindow.py", line 92, in <module>
from zenmapCore.RecentScans import recent_scans
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\RecentScans.py", line 110, in <module>
recent_scans = RecentScans()
^^^^^^^^^^^^^
File "C:\Program Files (x86)\Nmap\zenmap\lib\python3.11\site-packages\zenmapCore\RecentScans.py", line 81, in __init__
t for t in recent_file.read().split(";")
^^^^^^^^^^^^^^^^^^
File "../lib/python3.11/encodings/cp1252.py", line 23, in decode
UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 193: character maps to <undefined>
To Reproduce
Just try to open the software and popups a window with the error above.
Expected behavior
Correctly opening the zenmap window to start using it.
Version info (please complete the following information):
- OS: Windows 11 Pro x64
- Output of
nmap --version:
Nmap version 7.95 ( https://nmap.org )
Platform: i686-pc-windows-windows
Compiled with: nmap-liblua-5.4.6 openssl-3.0.13 nmap-libssh2-1.11.0 nmap-libz-1.3.1 nmap-libpcre2-10.43 Npcap-1.79 nmap-libdnet-1.12 ipv6
Compiled without:
Available nsock engines: iocp poll select
Reactions are currently unavailable