Bug 453548 - kdiff3 crashes fluxbox-xdg-menu
kdiff3 crashes fluxbox-xdg-menu
Product: Fedora
Classification: Fedora
Component: kdiff3 (Show other bugs)
All Linux
low Severity low
: ---
: ---
Assigned To: Neal Becker
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2008-07-01 05:43 EDT by Rob Lazzurs
Modified: 2008-07-01 10:50 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-07-01 10:50:49 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Rob Lazzurs 2008-07-01 05:43:40 EDT
Description of problem:

The .desktop file from kdiff3 causes fluxbox-xdg-menu to fail

This is due to the Exec being missing from the file. Adding in the line below
resolved the issue

< Exec=kdiff3

Version-Release number of selected component (if applicable):

How reproducible:


Steps to Reproduce:
1. Install kdiff3 and fluxbox
2. Run fluxbox-xdg-menu

Actual results:

Traceback (most recent call last):
  File "/usr/bin/fluxbox-xdg-menu", line 262, in <module>
  File "/usr/bin/fluxbox-xdg-menu", line 248, in main
  File "/usr/bin/fluxbox-xdg-menu", line 115, in parseMenu
  File "/usr/bin/fluxbox-xdg-menu", line 124, in parseMenu
    print "%s[exec] (%s) {%s} " % ( (depth*"\t"), appname,
entry.DesktopEntry.getExec().split()[0] )
IndexError: list index out of range

Expected results:

Menu generated

Additional info:
Comment 1 Rob Lazzurs 2008-07-01 05:44:20 EDT
I forgot to include the version, sorry.

Comment 2 Neal Becker 2008-07-01 07:10:16 EDT
Sorry, I don't understand.  

I have
rpm -q kdiff3

/usr/share/applications/fedora-kdiff3.desktop says:
Exec=kdiff3 %i %m -caption "%c"

You don't have this?
Comment 3 Rob Lazzurs 2008-07-01 07:32:39 EDT
I have that file and it is correct however the file fluxbox-xdg-menu is having
an issue with is /usr/share/applications/kde/kdiff3plugin.desktop
Comment 4 Neal Becker 2008-07-01 08:57:08 EDT
This doesn't seem to be the correct fix:

+ desktop-file-install --vendor= --dir /var/tmp/rpm/kdiff3-0.9.92-15.fc10-root-
present in group "Desktop Entry", but the type is "Service" while this key is
only valid for type "Application"
Error on file "/var/tmp/rpm/kdiff3-0.9.92-15.fc10-root-
created desktop file
error: Bad exit status from /var/tmp/rpm/rpm-tmp.24814 (%install)
Comment 5 Rob Lazzurs 2008-07-01 10:18:18 EDT

I would suggest then that maybe the fluxbox-xdg-menu should be excluding that
type of .desktop file however it is not.

Should this be a bug filled against that package, sorry but I am unaware of the
Fedora menu policy.

Just let me know what I have to do.

Thanks again.
Comment 6 Neal Becker 2008-07-01 10:50:49 EDT
Sorry, I'm no expert.  Could you please ask on fedora-devel list?  If you don't
have access, I could do it for you.

Note You need to log in before you can comment on or make changes to this bug.