CRITICAL **: egg_desktop_entries (ERRORS)
Robert Wallace
robert at siliconchaos.com
Fri Jun 23 02:17:58 UTC 2006
Thanks Adam,
I'll be off from work the next two week and I've been playing around
with Ruby so I thought I would write a little script to check and
clean up all files withing the /usr/share/applicaitons folder. Once
I've completed the script I'll post an update to the list and upload
the script to my site. Hopefully this will help everyone else how may
have this problem in the future (at least the users with little/no
shell experience).
Once I get the script out there I would really appreciate any Ruby
coders out there to tear it apart and give me some constructive
criticism... I've been coding way to much mainframe lately.
On 6/22/06, Adam D <emlists at gmail.com> wrote:
> Robert Wallace wrote:
> > w1z4rd,
> >
> > You need to use "sudo update-desktop-database -v" you need the -v in
> > order to get the detail as to which file is causing the problem.
> >
> > I've kinda cleaned up the instructions and posted them here
> >
> > http://blog.siliconchaos.net/articles/2006/06/20/my-desktop-got-eggd
>
> Nice work Robert
>
> > hope this helps....
> >
> > Robert
>
> Also,
>
> What I did after the sudo update-desktop-database was to edit each file the output showed it had caused the issue. Sadly for helping I don't have any examples to show right now because after doing the update I went in manually and deleted the duplicates or or other errors in the individual files and then re-ran the update... and ever since and after months of anoying CRITICAL **: egg_desktop_entries (ERRORS) 'This house is clean.' :D
>
> cd /usr/share/applications
>
> (edit files after the verbose shows are errored)
> update-desktop-database again and this time.. should see no errors :)
>
> -Adam
>
>
> > On 6/21/06, w1z4rd <ulist at gs1.ubuntuforums.org> wrote:
> >>
> >> w1z4rd Wrote:
> >> > I think I just made mine worse.... ive got this error everywhere now :(
> >> > This is what I did:
> >>
> >> >
> >>
> >> > >
> >> Code:
> >> --------------------
> >> > > w1z4rd at b0x:~/src/fluxbox-1.0rc$ cd /usr/share/applications
> >>
> >> > w1z4rd at b0x:/usr/share/applications$ sudo update-desktop-database
> >>
> >> > 'ould not parse file
> >> '/usr/share/applications/kde/kcheckgmail.desktop': desktop entry
> >> contain unknown encoding 'UTF-8
> >>
> >> >
> >>
> >> > ** (process:32046): CRITICAL **: egg_desktop_entries_add_group:
> >> assertion `egg_desktop_entries_lookup_group (entries, group_name) ==
> >> NULL' failed
> >>
>
> I had thought to del the .desktop file and or the actual package but that was totally unnecessary and sadly had to be edited by hand.
>
> >> > w1z4rd at b0x:/usr/share/applications$ sudo apt-get remove kcheckgmail
> >>
> >> > Reading package lists... Done
> >>
> >> > Building dependency tree... Done
> >>
> >> > The following packages will be REMOVED:
> >>
> >> > kcheckgmail
> >>
> >> > 0 upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
> >>
> >> > Need to get 0B of archives.
> >>
> >> > After unpacking 594kB disk space will be freed.
> >>
> >> > Do you want to continue [Y/n]? y
> >>
> >> > (Reading database ... 179554 files and directories currently
> >> installed.)
> >>
> >> > Removing kcheckgmail ...
> >>
> >> > w1z4rd at b0x:/usr/share/applications$ sudo update-desktop-database
> >>
> >> >
> >>
> >> > ** (process:32153): CRITICAL **: egg_desktop_entries_add_group:
> >> assertion `egg_desktop_entries_lookup_group (entries, group_name) ==
> >> NULL' failed
> >>
> >> > w1z4rd at b0x:/usr/share/applications$ sudo update-desktop-database
> >>
> >> >
> >>
> >> > ** (process:32372): CRITICAL **: egg_desktop_entries_add_group:
> >> assertion `egg_desktop_entries_lookup_group (entries, group_name) ==
> >> NULL' failed
> >>
> >> > w1z4rd at b0x:/usr/share/applications$ cat
> >> /usr/share/applications/kde/kcheckgmail.desktop
> >>
> >> > cat: /usr/share/applications/kde/kcheckgmail.desktop: No such file
> >> or directory
> >>
> >> > w1z4rd at b0x:/usr/share/applications$ sudo update-desktop-database
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
More information about the ubuntu-users
mailing list