Re: Crash Report

Daniel Miller <[email protected]>
Newsgroups gmane.comp.security.nmap.devel
Message-ID <CABmvJnOfMbDAVPnyb4oQVXRPXZO3R95n073Tz4fQVLxxV9OYyQ@mail.gmail.com>
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 <[email protected]> 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
>
> [email protected] <[email protected]>
> 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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.