Broken symlink in /usr/share/applications/ causes zeitgeist-datahub to fail

Bug #539234 reported by Jonathon Fernyhough
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Activity Journal
New
Undecided
Unassigned

Bug Description

zeitgeist:
  Installed: 0.3.2-1
zeitgeist-core:
  Installed: 0.3.2-1
zeitgeist-datahub:
  Installed: 0.3.2-1

(Lucid amd64, zeitgeist* from universe)

After installing OOo 3.2 from deb from the OOo website it left a broken symlink: /usr/share/applications/openoffice.org3-startcenter.desktop

This broken symlink caused zeitgeist-datahub to fail:

DEBUG:root:Updating database with new Recently Used Documents items
Traceback (most recent call last):
  File "/usr/bin/zeitgeist-datahub", line 110, in _update_db_async
    events = self._sources_queue[0].get_items()
  File "/usr/share/zeitgeist/_zeitgeist/loggers/zeitgeist_base.py", line 60, in get_items
    return self._get_items()
  File "/usr/share/zeitgeist/_zeitgeist/loggers/datasources/recent.py", line 260, in _get_items
    desktopfile = self._find_desktop_file_for_application(application)
  File "/usr/share/zeitgeist/_zeitgeist/loggers/datasources/recent.py", line 225, in _find_desktop_file_for_application
    for line in open(fullname):
IOError: [Errno 2] No such file or directory: '/usr/share/applications/openoffice.org3-startcenter.desktop'

Removing the symlink made everything shiny - I now even have entries in Activity Journal!

description: updated
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Thank you for your bug report. This particular problem will be fixed in the next Zeitgeist release.

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.