← Back to team overview

gnome-zeitgeist team mailing list archive

[Bug 539234] Re: Broken symlink in /usr/share/applications/ causes zeitgeist-datahub to fail

 

*** This bug is a duplicate of bug 523761 ***
    https://bugs.launchpad.net/bugs/523761

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

** This bug has been marked a duplicate of bug 523761
   RecentlyUsed data-source crashes trying to access a broken symlink

-- 
Broken symlink in /usr/share/applications/ causes zeitgeist-datahub to fail
https://bugs.launchpad.net/bugs/539234
You received this bug notification because you are a member of GNOME
Zeitgeist Team, which is the registrant for GNOME Activity Journal.

Status in GNOME Activity Journal: New

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!







References