Nmap Development mailing list archives
Re: Crash Report
From: Daniel Miller <bonsaiviking () gmail com>
Date: Tue, 10 Oct 2017 11:41:49 -0500
Pia, Thanks for reporting this. The error is caused by a corrupted .pyc file somewhere in your Python installation. Deleting the file will solve the error, and importing the problem library as root will recompile it. Since we don't know which library is the problem, you could run this shell script as root, which will try each of them: #!/bin/sh rm /usr/lib/python2.7/difflib.pyc python -c 'import difflib' rm /usr/lib/python2.7/pdb.pyc python -c 'import pdb' rm /usr/lib/python2.7/tempfile.pyc python -c 'import tempfile' rm /usr/lib/python2.7/unittest/__init__.pyc python -c 'import unittest' Hope that helps! Dan On Wed, Oct 4, 2017 at 11:42 PM, Pia S. Sumalinog <piar () cpp edu> wrote:
Version: 7.60
Traceback (most recent call last):
File "/usr/bin/zenmap", line 195, in <module>
zenmapGUI.App.run()
File "/usr/lib/python2.7/dist-packages/zenmapGUI/App.py", line 358, in
run
window = new_window()
File "/usr/lib/python2.7/dist-packages/zenmapGUI/App.py", line 194, in
new_window
from zenmapGUI.MainWindow import ScanWindow
File "/usr/lib/python2.7/dist-packages/zenmapGUI/MainWindow.py", line
152, in <module>
from zenmapGUI.ScanInterface import ScanInterface
File "/usr/lib/python2.7/dist-packages/zenmapGUI/ScanInterface.py",
line 156, in <module>
from zenmapGUI.TopologyPage import TopologyPage
File "/usr/lib/python2.7/dist-packages/zenmapGUI/TopologyPage.py", line
132, in <module>
from zenmapCore.NetworkInventory import NetworkInventory
File "/usr/lib/python2.7/dist-packages/zenmapCore/NetworkInventory.py",
line 132, in <module>
import zenmapCore.NmapParser
File "/usr/lib/python2.7/dist-packages/zenmapCore/NmapParser.py", line
155, in <module>
from zenmapCore.NmapOptions import NmapOptions, split_quoted,
join_quoted
File "/usr/lib/python2.7/dist-packages/zenmapCore/NmapOptions.py", line
897, in <module>
import doctest
File "/usr/lib/python2.7/doctest.py", line 99, in <module>
import unittest, difflib, pdb, tempfile
ValueError: bad marshal data (unknown type code)
Pia Radaza-Sumalinog
California Polytechnic State University, Pomona
Business Administration: Computer Information Systems
pia.radazasumalinog () gmail com <hannahcdizon () gmail com>
Cell: (951) 203-5026
_______________________________________________
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:
- Crash Report Pia S. Sumalinog (Oct 09)
- Re: Crash Report Daniel Miller (Oct 10)
- <Possible follow-ups>
- Crash Report Ronald Belill (Oct 09)
- Re: Crash Report Daniel Miller (Oct 10)
- Re: Crash Report Ronald Belill (Oct 29)
- Re: Crash Report Daniel Miller (Oct 10)
- Crash Report Shahid Malik (Dec 01)
