Nmap Development mailing list archives

Re: Problem running Zenmap on OS X 10.10


From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 16 Jun 2015 00:16:13 -0500

Robert,

Thanks, this was really helpful in identifying the problem.

It turns out that we switched from building on i386 to x86_64 architecture,
so there was a mismatch between the executable that py2app builds (x86_64)
and the Python libraries (including zlib, needed for zipimport) that were
bundled. Adding the --arch=i386 option to the py2app command fixes this
issue.

I'm still dealing with yet another libiconv dependency that needs to be
hunted down and killed, but otherwise I expect Zenmap will be functional
soon.

Dan

On Mon, Jun 15, 2015 at 12:53 PM, Robert Strom <robert.strom () gmail com>
wrote:

I am having the same issue as described by Jacob in his post titled (not
sure if this will append to the thread or not).

Roberts-MacBook-Pro:MacOS rstrom$ ./Zenmap
Jun 15 10:35:48 Roberts-MacBook-Pro.local zenmap_wrapper.py[60893]
<Notice>: Traceback (most recent call last):
Jun 15 10:35:48 Roberts-MacBook-Pro.local zenmap_wrapper.py[60893]
<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 15 10:35:48 Roberts-MacBook-Pro.local zenmap_wrapper.py[60893]
<Notice>: zipimport.ZipImportError: can't decompress data; zlib not
available
Roberts-MacBook-Pro:MacOS rstrom$

Here are my results to the commands that Dan asked be run

Roberts-MacBook-Pro:MacOS rstrom$ which python

/usr/bin/python


Roberts-MacBook-Pro:MacOS rstrom$ python -c 'import zlib; print
zlib.__version__'

1.0


Thanks,

Robert

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

_______________________________________________
Sent through the dev mailing list
https://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: