Nmap Development mailing list archives
Problem running Zenmap on OS X 10.10
From: John Doe <genericname009 () gmail com>
Date: Mon, 8 Jun 2015 10:49:12 -0400
Hey guys, Not sure if this is the proper channel to reach out on for potential bugs, but figured I could give it a shot. Please disregard and accept my apologies if this is not the right forum. I'm trying to get up and running with the Zenmap GUI on Mac OS X 10.10 but am receiving a weird error on startup. ------- Jacob@Jacobs-MBP-5:~$ ./Applications/Zenmap.app/Contents/MacOS/Zenmap Jun 8 10:01:27 Jacobs-MBP-5.fios-router.home zenmap_wrapper.py[38832] <Notice>: Traceback (most recent call last): Jun 8 10:01:27 Jacobs-MBP-5.fios-router.home zenmap_wrapper.py[38832] <Notice>: File "/Users/david/macports-10.8/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/py2app/apptemplate/lib/site.py", line 22, in <module> Jun 8 10:01:27 Jacobs-MBP-5.fios-router.home zenmap_wrapper.py[38832] <Notice>: zipimport.ZipImportError: can't decompress data; zlib not available ---------- After a little bit of sleuthing I think that the problem might be stemming from the Info.plist file configuration of the bundled Python version. ---------- Jacob@Jacobs-MBP-5:/Applications/Zenmap.app/Contents$ pwd /Applications/Zenmap.app/Contents Jacob@Jacobs-MBP-5:/Applications/Zenmap.app/Contents$ ls Frameworks Info.plist MacOS PkgInfo Resources LINE 85ish of Info.plist <key>PythonExecutable</key> 85 <string> /Users/david/macports-10.8/Library/Frameworks/Python.framewo rk/Versions/2.7/Resources/Python.app/Contents/MacOS/Python</string> 86 <key>PythonLongVersion</key> 87 <string>2.7.10 (default, May 27 2015, 20:19:16) 88 [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.56)]</string> 89 <key>PythonShortVersion</key> 90 <string>2.7</string> ---- I tried to change line 85 to read "<string>@executable_path/../Frameworks/Python.framework/Versions/2.7/Python <string> and also <key>PythonExecutable</key> <string>/Users/Jacob/anaconda/bin/python<string> But that did not seem to fix the issue -- still no GUI launch. Any help would be greatly appreciated. Thanks, Jacob
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- Problem running Zenmap on OS X 10.10 John Doe (Jun 08)
- Re: Problem running Zenmap on OS X 10.10 Daniel Miller (Jun 15)
- <Possible follow-ups>
- Re: Problem running Zenmap on OS X 10.10 Robert Strom (Jun 15)
- Re: Problem running Zenmap on OS X 10.10 Daniel Miller (Jun 15)
- Re: Problem running Zenmap on OS X 10.10 Daniel Miller (Jun 16)
- Re: Problem running Zenmap on OS X 10.10 Robert Strom (Jun 16)
- Re: Problem running Zenmap on OS X 10.10 Daniel Miller (Jun 17)
- Re: Problem running Zenmap on OS X 10.10 Robert Strom (Jun 17)
- Re: Problem running Zenmap on OS X 10.10 Daniel Miller (Jun 15)
- Re: Problem running Zenmap on OS X 10.10 Jacob Roberts (Jun 16)