Misleading error message on missing packages

Bug #219729 reported by Fredrik Mellbin
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktop-effects-kde (Ubuntu)
Fix Released
Undecided
Roderick B. Greening

Bug Description

Binary package hint: desktop-effects-kde

If kdesudo is not installed the following lines in DesktopEffectsCommon.py will erroneously conclude that adept_batch isn't installed, creating great confusion for the user (me).

try:
''' Installs the Compiz package. Not very nice as it is distribution dependent. '''
subprocess.call(['kdesudo', '-c' 'adept_batch install compiz-kde compiz-fusion-plugins-main compiz-fusion-plugins-extra'])
except:
subprocess.call(['kdialog', '--sorry', 'Adept Batch is not installed on this system'])

Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

desktop-effects-kde should depend on kdesudo.

That will fix the underlying issue.

Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

sent to dev.

Changed in desktop-effects-kde:
assignee: nobody → roderick-greening
status: New → Fix Committed
Revision history for this message
Roderick B. Greening (roderick-greening) wrote :

attaching diff

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

This bug was fixed in the package desktop-effects-kde - 0.4.3

---------------
desktop-effects-kde (0.4.3) intrepid; urgency=low

  * Add dep on kdesudo as the program requires kdesudo to perform install with admin rights.
    (LP: #219729)

 -- <email address hidden> (Roderick B. Greening) Sun, 28 Sep 2008 02:57:21 -0230

Changed in desktop-effects-kde:
status: Fix Committed → Fix Released
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.