Skip to content

Zenmap error when trying to open #3077

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
jaumjaum08 opened this issue Apr 9, 2025 · 1 comment
Closed

Zenmap error when trying to open #3077

jaumjaum08 opened this issue Apr 9, 2025 · 1 comment
Labels

Comments

@jaumjaum08
Copy link

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
@jaumjaum08 jaumjaum08 added the Nmap label Apr 9, 2025
@dmiller-nmap
Copy link

Fixed in Nmap 7.97 (c840e23)

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

2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy