Nmap Development mailing list archives
Re: nmap error
From: Vladimir Mitrovic <snipe714 () gmail com>
Date: Tue, 20 May 2008 16:09:22 +0200
Hello Tekk Tribe, Thanks for reporting the bug. After googling a bit, it seems this issue was around for some time. The problem is with py2exe's handling of stdout when a process is created as a windows process (as opposed to a console process). From http://www.py2exe.org/index.cgi/Py2ExeSubprocessInteractions : "Suppose you want to launch a child process that is a py2exe program. If you want to communicate with the child process via pipes attached to stdin or stdout, then you must make it a console process. If you make it a windows process, then sys.stdout is replaced with a Blackhole object that throws an exception when written to." I'm guessing this happened on Windows, when starting the Zenmap executable, right? Cheers, Vladimir Tekk Tribe wrote:
File "zenmap", line 156, in <module> File "zenmapGUI\App.pyo", line 96, in run File "zenmapGUI\App.pyo", line 124, in __run_gui File "zenmapGUI\App.pyo", line 53, in __create_show_main_window File "zenmapGUI\MainWindow.pyo", line 45, in <module> File "zenmapGUI\SearchWindow.pyo", line 24, in <module> File "zenmapGUI\SearchGUI.pyo", line 40, in <module> File "zenmapCore\SearchResult.pyo", line 31, in <module> File "zenmapCore\UmitDB.pyo", line 64, in <module> Error in sys.excepthook: Traceback (most recent call last): File "zenmap", line 84, in excepthook AttributeError: 'Blackhole' object has no attribute 'close' Original exception was: Traceback (most recent call last): File "zenmap", line 156, in <module> File "zenmapGUI\App.pyo", line 96, in run File "zenmapGUI\App.pyo", line 124, in __run_gui File "zenmapGUI\App.pyo", line 53, in __create_show_main_window File "zenmapGUI\MainWindow.pyo", line 45, in <module> File "zenmapGUI\SearchWindow.pyo", line 24, in <module> File "zenmapGUI\SearchGUI.pyo", line 40, in <module> File "zenmapCore\SearchResult.pyo", line 31, in <module> File "zenmapCore\UmitDB.pyo", line 64, in <module> sqlite3.OperationalError: unable to open database file _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
_______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://SecLists.Org
Current thread:
- nmap error Tekk Tribe (May 20)
- Re: nmap error Vladimir Mitrovic (May 20)