lanmap svg output does not find the shapefiles

Bug #123265 reported by Zenigata
18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
lanmap (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: lanmap

When using lanmap with "-T svg" option, it does not find the files "/usr/share/lanmap//graph/img/{cloud|bridge|desktop}.svg" even thought theses files exist and are correct svg files.

The resulting map is then without any single graphic.

Revision history for this message
Christoph Langner (chrissss) wrote :

I can confirm this, staring lanmap with svg as output shows a lot of warnings

$ sudo lanmap -i eth0 -r 30 -T svg -o /tmp/
Warning: "/usr/share/lanmap//graph/img/cloud.svg" was not found as a file or as a shape library member
Warning: No or improper shapefile="/usr/share/lanmap//graph/img/cloud.svg" for node "Outside"
Warning: "/usr/share/lanmap//graph/img/bridge.svg" was not found as a file or as a shape library member
Warning: No or improper shapefile="/usr/share/lanmap//graph/img/bridge.svg" for node "134810864"
...

When you look at the .svg file lanmap creates, all the pictures are missing. Using lanmap out of the gutsy repos here.

$dpkg -l lanmap
...
ii lanmap 0.1+svn2006022 Network discovery tool that produces nice 2d

Changed in lanmap:
status: New → Confirmed
Revision history for this message
Christoph Langner (chrissss) wrote :

It looks like that these files are missing, a

$ locate cloud.svg

doesn't show a result.

Revision history for this message
fmo (fmo) wrote :

I can confirm the same problem on Intrepid dist-upgraded to 23/10

Error message is the same:
Warning: No or improper shapefile="/usr/share/lanmap//graph/img/desktop.svg" for node "134831952"

I can confirm that the file is at the mentioned location, the error just seems to be with the double "/" between "lanmap" and "graph" in the path to the svg file.

Works fine with png output.

Output of "ls /usr/share/lanmap/graph/img/"

bridge.gif bridge.svg cloud.png desktop.gif desktop.svg printer.png router.gif router.svg server.png switch.gif
bridge.png cloud.gif cloud.svg desktop.png printer.gif printer.svg router.png server.gif server.svg switch.png

Revision history for this message
Peter Hansen (peterih) wrote :

This bug might originate from the debian package:

http://packages.debian.org/source/sid/lanmap

The mistake is made in line 3867 of this file:
http://ftp.de.debian.org/debian/pool/main/l/lanmap/lanmap_0.1+svn20060307-5.diff.gz

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.