Nmap Development mailing list archives

Zenmap installation issue


From: R3alFr3e <yakle1218 () gmail com>
Date: Fri, 9 May 2014 04:43:15 -0400

I was trying to fix some bugs for zenmap so I copied the source from the repository and built it.

python setup.py build and then install but it threw me an error:

running install

running build

running build_py

running build_scripts

running install_lib

running install_scripts

copying build/scripts-2.7/zenmap -> /usr/local/bin

changing mode of /usr/local/bin/zenmap to 755

running install_data

running install_egg_info

Removing /Library/Python/2.7/site-packages/zenmap-6.46-py2.7.egg-info

Writing /Library/Python/2.7/site-packages/zenmap-6.46-py2.7.egg-info

Traceback (most recent call last):

  File "setup.py", line 638, in <module>

    setup(**setup_args)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup

    dist.run_commands()

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in 
run_commands

    self.run_command(cmd)

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in 
run_command

    cmd_obj.run()

  File "setup.py", line 247, in run

    self.fix_paths()

  File "setup.py", line 399, in fix_paths

    "CONFIG_DIR": os.path.join(self.saved_prefix, config_dir),

  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/posixpath.py", line 77, in join

    elif path == '' or path.endswith('/'):

AttributeError: 'NoneType' object has no attribute 'endswith'

Any ideas?

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

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

Current thread: