Nmap Development mailing list archives

Fail to save scan


From: 矢島聡子 <sato.yaji0506 () gmail com>
Date: Sat, 8 Jul 2023 18:13:42 -0600

Hello,
I am using zenmap, and whenever I try to save the scan, I get this error
message.
Version: 7.94
Traceback (most recent call last):
  File "C:\Program Files
(x86)\Nmap\zenmap\lib\python3.10\site-packages\zenmapGUI\MainWindow.py",
line 628, in _save_scan_results_cb
    self._save(self.scan_interface, filename, selected, format)
  File "C:\Program Files
(x86)\Nmap\zenmap\lib\python3.10\site-packages\zenmapGUI\MainWindow.py",
line 728, in _save
    recent_scans.add_recent_scan(saved_filename)
  File "C:\Program Files
(x86)\Nmap\zenmap\lib\python3.10\site-packages\zenmapCore\RecentScans.py",
line 97, in add_recent_scan
    self.save()
  File "C:\Program Files
(x86)\Nmap\zenmap\lib\python3.10\site-packages\zenmapCore\RecentScans.py",
line 89, in save
    recent_file.write(";".join(self.temp_list))
  File "dist/zenmap-w64/mingw64/lib/python3.10/encodings/cp1252.py", line
19, in encode
UnicodeEncodeError: 'charmap' codec can't encode characters in position
24-29: character maps to <undefined>

How can I save a scan successfully?
Thank you
_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at https://seclists.org/nmap-dev/

Current thread: