Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9077 - nmap 4.52-1 broken after upgrade

Attached to Project: Arch Linux
Opened by Ben Morgan (uv.sound) - Wednesday, 02 January 2008, 10:33 GMT
Last edited by Aaron Griffin (phrakture) - Thursday, 03 January 2008, 14:59 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After upgrading nmap from 4.22 to 4.52-1, it would not start anymore,
giving an sqlite3/python-pysqlite error.
It needs one of those two packages to work.
Second, after installing sqlite3, it comes up with this error:
(using my own build, thus, the path is different)

A critical error occourried during Zenmap execution,
and it was not properly reported to our bug tracker. Please,
copy the error message bellow and report it on our bug tracker.

The following error message was NOT reported:
CRASH REPORTED:
SYS.PLATFORM: linux2
OS.NAME: posix
Zenmap Version: 4.52
--------------------------------------------------------------------------------
STDOUT


--------------------------------------------------------------------------------
STDERR


HOOK:
Type: <type 'exceptions.Exception'>
Value: File '/var/abs/local/nmap/pkg/usr/share/zenmap/misc/services.dmp' does not exist or could not be found!


Additional info:
* package version(s) = 4.52-1
* config and/or log files etc. = none necessary


Steps to reproduce:
Make the package, using 'makepkg -c' -- Zenmap looks for a configuration file in /var/abs/... whereever you compiled it.
This task depends upon

Closed by  Aaron Griffin (phrakture)
Thursday, 03 January 2008, 14:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 4.52-2
Comment by Ben Morgan (uv.sound) - Wednesday, 02 January 2008, 10:38 GMT
Another observation:
the file /usr/bin/zenmap is a python script file, which contains the line:

sys.path.append('/var/abs/local/nmap/pkg/usr/lib/python2.5/site-packages')

Changing it to:

sys.path.append('/usr/lib/python2.5/site-packages')

doesn't help however.
Comment by Ben Morgan (uv.sound) - Wednesday, 02 January 2008, 10:44 GMT
Editing the file /usr/lib/python-2.5/site-packages/zenmapCore/Paths.py

and changing the 5 or 6 offending config lines fixes the problem.
Is there a compile time option to fix this?
Comment by Ben Morgan (uv.sound) - Thursday, 03 January 2008, 11:29 GMT
With nmap-4.52-2 it looks like it is working now

Loading...