egg_desktop_entries_add_group: assertion failed: bad autostart.desktop file

Bug #49859 reported by Mark Lord
6
Affects Status Importance Assigned to Milestone
kcontrol-autostart (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: kcontrol-autostart

** (process:14704): CRITICAL **: egg_desktop_entries_add_group: assertion `egg_desktop_entries_lookup_group (entries, group_name) == NULL' failed

These messages appear in abundance during upgrades now.

The cause on my Dapper Kubuntu box is this file..

/usr/share/applications/kde/autostart.desktop

..which contains duplicate lines like this:

[Desktop Entry]
Encoding=UTF-8

If I remove the second (duplicate) pair, the problem goes away. Easy fix.

Changed in kcontrol-autostart:
status: Unconfirmed → Confirmed
status: Confirmed → Unconfirmed
Revision history for this message
x (xk2c-deactivatedaccount) wrote :

I had the same errors today with update of:
The following packages will be upgraded:
  kdenetwork-filesharing [4:3.5.2-0ubuntu6 -> 4:3.5.2-0ubuntu6.1]
  kdenetwork-kfile-plugins [4:3.5.2-0ubuntu6 -> 4:3.5.2-0ubuntu6.1]
  kdnssd [4:3.5.2-0ubuntu6 -> 4:3.5.2-0ubuntu6.1] kopete [4:3.5.2-0ubuntu6 -> 4:3.5.2-0ubuntu6.1]
  kpf [4:3.5.2-0ubuntu6 -> 4:3.5.2-0ubuntu6.1] kppp [4:3.5.2-0ubuntu6 -> 4:3.5.2-0ubuntu6.1]
  krdc [4:3.5.2-0ubuntu6 -> 4:3.5.2-0ubuntu6.1] krfb [4:3.5.2-0ubuntu6 -> 4:3.5.2-0ubuntu6.1]

on the first machine.

After changing the file as Mark Lord suggests on a second machine no errors appear anymore.
Both same hardware, up2date Dapper.

Changed in kcontrol-autostart:
status: Unconfirmed → Confirmed
Revision history for this message
x (xk2c-deactivatedaccount) wrote :

update

after changing this file on the first machine and reinstalling those packages all went smooth then.

Revision history for this message
Andrew Ash (ash211) wrote :

What's the status of this bug? Does it no longer occur in an up2date edgy or dapper?

Revision history for this message
x (xk2c-deactivatedaccount) wrote :

no it not fixed yet:

kcontrol-autostart_0.1-0ubuntu2_i386.deb

usr/share/applications/kde/autostart.desktop:
[Desktop Entry]
Encoding=UTF-8
Exec=kcmshell autostart
Icon=autostart
Type=Application

X-KDE-ModuleType=Library
X-KDE-Library=autostart
X-KDE-HasReadOnlyMode=false
X-KDE-ParentApp=kcontrol

[Desktop Entry]
Encoding=UTF-8
Comment=Autostart - a kcontrol module
Keywords=Autostart,autostart
Name=Autostart Applications

Categories=Qt;KDE;X-KDE-settings-components;

Revision history for this message
x (xk2c-deactivatedaccount) wrote :

kcontrol-autostart_0.1-0ubuntu2_i386.deb is the actual dapper version.

Revision history for this message
Andrew Ash (ash211) wrote :

Does this still occur in either Edgy or Feisty packages? Now would be the time to fix it.

Changed in kcontrol-autostart:
assignee: nobody → ash211
status: Confirmed → Needs Info
Revision history for this message
x (xk2c-deactivatedaccount) wrote :

yap still broken

i have just recheck it in feisty

usr/share/applications/kde/autostart.desktop

still contains:
<-------------------------
[Desktop Entry]
 Encoding=UTF-8
------------------------->

two times.

Revision history for this message
Andrew Ash (ash211) wrote :

I can confirm this on edgy too, having just downloaded the .deb and pulling out that file. The broken file is in kcontrol-autostart_0.1-0ubuntu2_i386.deb, located at /usr/share/applications/kde/autostart.desktop

Hopefully the next release of this package will have the fix in it.

Changed in kcontrol-autostart:
assignee: ash211 → nobody
importance: Undecided → Low
status: Needs Info → Confirmed
Revision history for this message
Breuil Cyril (cyrilb856) wrote :

Fix send with new upstream release

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Uploaded, thanks.
Please set as 'Fix Released' as soon as it hits the archive.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 20 May 2007 21:10:53 +0200
Source: kcontrol-autostart
Binary: kcontrol-autostart
Architecture: source
Version: 0.5-0ubuntu2
Distribution: gutsy
Urgency: low
Maintainer: Ubuntu MOTU Developers <email address hidden>
Changed-By: Breuil Cyril <email address hidden>
Description:
 kcontrol-autostart - autostart module for KDE control center
Launchpad-Bugs-Fixed: 49859
Changes:
 kcontrol-autostart (0.5-0ubuntu2) gutsy; urgency=low
 .
   * Add kubuntu_03_autostartdesktop.patch to remove duplicate lines in the
     desktop file. (LP: #49859)
Files:
 ad589ec4bdf9fa3cf45a348271a58762 722 kde optional kcontrol-autostart_0.5-0ubuntu2.dsc
 4a6ff5f2738fa4ac9c18fe951bf32f58 51195 kde optional kcontrol-autostart_0.5-0ubuntu2.diff.gz
Original-Maintainer: Raphael Pinson <email address hidden>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGUKGDRaA1e1F5WRARAlkOAJwJCMZRTLfdD7e5fJNR7ZfL9egh9QCg2+4K
N1mKrfdMvlH1JrOF5+y7yzE=
=Z4CO
-----END PGP SIGNATURE-----

Changed in kcontrol-autostart:
status: Confirmed → Fix Committed
Revision history for this message
Breuil Cyril (cyrilb856) wrote :

correct in gutsy.

Changed in kcontrol-autostart:
status: Fix Committed → Fix Released
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.