Servicemenu installation fails

Bug #667704 reported by Donatas Glodenis
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dolphin (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: dolphin

Installation of Service Menus via Dolphin settings fails. There are several reasons:

1. For the installation to work, a dependency, ruby, must be installed, or so I heard. And it is not installed by default (it is only in suggests list of apt), though it is in the main repository (maybe libkde4-ruby is also required, it is in the universe though). Therefore the servicemenus get downloaded to ~/.kde/share/apps/servicemenu-download/ but they even fail to uncompress.

2. Even with ruby installed, the servicemenus do get uncompressed but the message indicator reports that „service menu installation failed“, and nothing appears in ~/.kde/share/kde4/services/ServiceMenus/. An exception: installation works if it is only a plain text file servicemenu that is downloaded from kde-apps.org.

Now if you go to the uncompressed servicemenu package folder, for example,
~/.kde/share/apps/servicemenu-download/124416-DropboxServiceMenu-0.14.6.tar.gz-dir/DropboxServiceMenu-0.14.6/
and run
./install-it.sh

it installs nicely.

Tested on: Kubuntu Lucid and Maverick
KDE: 4.5.1 (on two different machines, one with Lucid and upgraded to Maverick, one with fresh Maverick install)
Binary Package: dolphin
Source package: kdebase

dg@JARRS:/var/cache/apt$ apt-cache policy dolphin
dolphin:
  Įdiegta: 4:4.5.1-0ubuntu4
  Kandidatas: 4:4.5.1-0ubuntu4
  Versijų lentelė:
 *** 4:4.5.1-0ubuntu4 0
        500 http://lt.archive.ubuntu.com/ubuntu/ maverick/main i386 Packages
        100 /var/lib/dpkg/status

Revision history for this message
Sam Rog (samrog131) wrote :

Confirming this bug with the Kubuntu 11.04 (natty narwhal) alpha1. KDE 4.6.0.

The /usr/bin/servicemenuinstallation script is dying with the error message: "service menu installation failed".

Changed in dolphin (Ubuntu):
status: New → Confirmed
Revision history for this message
Sam Rog (samrog131) wrote :

When testing with the servicemenuinstallation script:

servicemenuinstallation /path/to/124416-DropboxServiceMenu-0.15.2.tar.gz

I did notice that the only place where the ruby script can find the servicemenu installation scrip is the /media/sda6/...

If the servicemenu tar ball is in the:
/home/rog131/.kde/share/apps/servicemenu-download -> fail
/tmp/ -> fail
/media/sda5/ -> fail
/media/sdb3/ -> fail

The permissions of the directories seems to be same (?)

A workaround at here is to make a symlink from the ~/.kde/share/apps/ to the /media/sda6/

Now the "ls -l /home/rog131/.kde/share/apps/" tells:

lrwxrwxrwx 1 rog131 rog131 36 2011-01-28 13:12 servicemenu-download -> /media/sda6/tmp/servicemenu-download

After this the Dolphin "Dowmload New Services" is working. Strange ????

Revision history for this message
Donatas Glodenis (dgvirtual) wrote :

I think the other bug, bug #706900, should be marked as duplicate of this bug, if at all.

bug #706900 says that the fix is simple – install ruby. But in case of this bug, this is not the case, since ruby does not solve all the problems, as the description of the bug suggests and as Sam Rog says above (#2).

Perhaps this one shoud be redescribed as a problem when ruby IS installed, while the other one – as a simple dependency on a package in a different repository problem.

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.