mono-profiler: mprof-heap-viewer.desktop contains Exec=heap-snapshot-viewer which doesnt exist

Bug #406909 reported by Niall Creech
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mono-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

desktop entry is broken, heap-snapshot-viewer doesn't exist

$less /usr/share/applications/mprof-heap-viewer.desktop

[Desktop Entry]
Type=Application
Name=Mono Heap Snapshot Viewer
Exec=heap-snapshot-viewer
Terminal=false
Icon=monodoc
Categories=Profiling;Development;

$ dpkg-query -L mono-profiler
/.
/usr
/usr/lib
/usr/lib/mono-tools
/usr/lib/mono-tools/mprof-decoder-library.dll
/usr/lib/mono-tools/mprof-decoder.exe
/usr/lib/mono-tools/mprof-heap-snapshot-explorer.dll
/usr/lib/mono-tools/mprof-heap-viewer.exe
/usr/bin
/usr/bin/mprof-decoder
/usr/bin/mprof-heap-viewer
/usr/share
/usr/share/applications
/usr/share/applications/mprof-heap-viewer.desktop
/usr/share/doc
/usr/share/doc/mono-profiler
/usr/share/doc/mono-profiler/changelog.gz
/usr/share/doc/mono-profiler/copyright
/usr/share/doc/mono-profiler/changelog.Debian.gz
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/mprof-decoder.1.gz
/usr/share/man/man1/mprof-heap-viewer.1.gz

$heap-snapshot-viewer
bash: heap-snapshot-viewer: command not found

Description: Ubuntu karmic (development branch)
Release: 9.10

mono-profiler:
  Installed: 2.4.2-1ubuntu1
  Candidate: 2.4.2-1ubuntu1
  Version table:
 *** 2.4.2-1ubuntu1 0
        500 http://gb.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

Related branches

Jo Shields (directhex)
Changed in mono-tools (Ubuntu):
status: New → Confirmed
Revision history for this message
Jo Shields (directhex) wrote :

Okay, I've had a look at this, and there's definitely no app named "heap-snapshot-viewer" - it really should be "mprof-heap-viewer" as you suggest

However, that tool can't be run from the GUI, as it needs to take a snapshot file as a command-line argument. So... just deleting this .desktop file seems the best course of action to me. Agreed?

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

dropping .desktop seems the sensible thing, as you say, it needs an argument, exactly as does mprof-decoder in the same package but only heap viewer has an errant .desktop file, seems accidental to me unless i'm missing something

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

mono-tools (2.4.2-1ubuntu3) karmic; urgency=low

  * debian/mono-profiler.install: Don't install .desktop file for mprof-
    heap-viewer. The binary name is incorrect and it requires an input file
    anyway and so must be run from the command line (closes LP: #406909)

Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :
Revision history for this message
Scott Kitterman (kitterman) wrote :

mono-tools is in Main, so switching to the correct sponsor team.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package mono-tools - 2.4.2-1ubuntu3

---------------
mono-tools (2.4.2-1ubuntu3) lucid; urgency=low

  * debian/mono-profiler.install: Don't install .desktop file for mprof-
    heap-viewer. The binary name is incorrect and it requires an input file
    anyway and so must be run from the command line (closes LP: #406909)
 -- SevenMachines <email address hidden> Mon, 26 Oct 2009 09:52:21 +0000

Changed in mono-tools (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Niall Creech (sevenmachines-deactivatedaccount) wrote :

It looks like 2.4.2-1ubuntu3 FTBFS now, looks like a missing build-dep but i'll delay fixing since theres a merge to 2.4.2-2 from debian in progress which is better.

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

Other bug subscribers

Remote bug watches

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