Nmap Development mailing list archives
An unexpected error has crashed Zenmap.
From: bob <gillb4 () telusplanet net>
Date: Mon, 25 Jan 2016 19:33:12 -0700
Hello. The crash report asked me to send this. Note that I am using lua-5.3.2. LUA was built as:
# build LUA banner LUA sleep 1 cd $SCRIPTDIRLUA=`ls lua* | grep tar | sort -V | tail -1 | sed 's,lua-,,' | sed 's,.tar.gz,,'`
echo lua-$LUAls lua* | grep : | sed 's,:,,' | while read ALLFILES; do rm -rf ./"$ALLFILES"; done
tar -xzpvf lua-$LUA.tar.gz
cd $SCRIPTDIR/lua-$LUA
make linux -j 16
make install
RC=$?
if [ $RC -ne 0 ]
then
echo "LUA build/install failed"
exit
fi
cd /usr/lib
SHAREDLIB=`find $SCRIPTDIR/lua-$LUA -name "*.so"`
SHAREFILE=`basename $SHAREDLIB`
if [ $SHAREDLIB == "" ]
then
echo "Error, lua shared library not found"
else
rm ./$SHAREFILE
ln -s $SHAREDLIB $SHAREFILE
fi
-----------------------------------------------------------
I built zenmap as:
#!/bin/bash
SRCDIR=`pwd`
# svn co --username guest --password "" svn://svn.insecure.org/nmap/.
VERSION=7.01
tar -xjpvf nmap-$VERSION.bz2
cd nmap-$VERSION
# cd nmap
# ./configure changed it yelps about lua without this...
./configure --with-liblua=included
make -j 16
make check
sudo make install
echo "Nmap and zenmap built, nmap is the command line tool,"
echo "zenmap (or if you prefer) nmapfe is the front end tool."
Version: 7.01
Traceback (most recent call last):
File "/usr/local/bin/zenmap", line 188, in <module>
zenmapGUI.App.run()
File "/usr/local/lib/python2.7/dist-packages/zenmapGUI/App.py", line
330, in run
window = new_window()
File "/usr/local/lib/python2.7/dist-packages/zenmapGUI/App.py", line
187, in new_window
w = ScanWindow()
File
"/usr/local/lib/python2.7/dist-packages/zenmapGUI/MainWindow.py", line
200, in __init__
self.scan_interface = ScanInterface()
File
"/usr/local/lib/python2.7/dist-packages/zenmapGUI/ScanInterface.py",
line 203, in __init__
self.__create_toolbar()
File
"/usr/local/lib/python2.7/dist-packages/zenmapGUI/ScanInterface.py",
line 329, in __create_toolbar
self.toolbar = ScanToolbar()
File
"/usr/local/lib/python2.7/dist-packages/zenmapGUI/ScanToolbar.py", line
171, in __init__
self._create_profile()
File
"/usr/local/lib/python2.7/dist-packages/zenmapGUI/ScanToolbar.py", line
205, in _create_profile
self.profile_entry = ProfileCombo()
File
"/usr/local/lib/python2.7/dist-packages/zenmapGUI/ProfileCombo.py", line
137, in __init__
self.update()
File
"/usr/local/lib/python2.7/dist-packages/zenmapGUI/ProfileCombo.py", line
149, in update
profile = CommandProfile()
File "/usr/local/lib/python2.7/dist-packages/zenmapCore/UmitConf.py",
line 313, in __init__
Profile.__init__(self, user_profile)
File "/usr/local/lib/python2.7/dist-packages/zenmapCore/UmitConf.py",
line 257, in __init__
user_profile = Path.scan_profile
File "/usr/local/lib/python2.7/dist-packages/zenmapCore/Paths.py",
line 224, in __getattr__
join(self.user_config_dir, base_paths[name]))
File "/usr/local/lib/python2.7/dist-packages/zenmapCore/Paths.py",
line 282, in return_if_exists
raise Exception("File '%s' does not exist or could not be found!" %
path)
Exception: File '/root/.zenmap/scan_profile.usp' does not exist or could
not be found!
_______________________________________________ Sent through the dev mailing list https://nmap.org/mailman/listinfo/dev Archived at http://seclists.org/nmap-dev/
Current thread:
- An unexpected error has crashed Zenmap. bob (Jan 27)
- Re: An unexpected error has crashed Zenmap. Daniel Miller (Feb 11)
