Bug 73268

Summary: unnecessary warnings put in system log
Product: Zeitgeist Reporter: william.jon.mccann
Component: EngineAssignee: zeitgeist-bugs <zeitgeist-bugs>
Status: RESOLVED FIXED QA Contact: zeitgeist-bugs <zeitgeist-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: patch

Description william.jon.mccann 2014-01-03 21:22:10 UTC
My system journal log has a ton of zeitgeist errors in it. I don't think some of them really need to be cluttering up the log at all and really don't need to be warnings in any case.

Jan 02 19:19:58 Quoll gnome-session[4976]: ** (zeitgeist-datahub:5390): WARNING **: zeitgeist-datahub.vala:103: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.zeitgeist.Engine was not provided by any .service files
Jan 02 19:19:58 Quoll gnome-session[4976]: (zeitgeist-datahub:5390): GLib-GObject-WARNING **: invalid (NULL) pointer instance
Jan 02 19:19:58 Quoll gnome-session[4976]: (zeitgeist-datahub:5390): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
Jan 02 19:19:58 Quoll gnome-session[4976]: ** (zeitgeist-datahub:5390): WARNING **: zeitgeist-datahub.vala:153: GDBus

And tons of these:
Jan 03 15:31:12 Quoll gnome-session[4976]: ** (zeitgeist-datahub:5390): WARNING **: utils.vala:47: Couldn't get file contents /home/hendricks/.local/share/applications/epiphany-foursquare-fb75a35db897b926df6dd96a8b64d74b02f3af96.desktop: Error opening file: No such file or directory

That file is a broken link:
/home/hendricks/.local/share/applications/epiphany-foursquare-fb75a35db897b926df6dd96a8b64d74b02f3af96.desktop -> /home/hendricks/.config/epiphany/app-epiphany-foursquare-fb75a35db897b926df6dd96a8b64d74b02f3af96/epiphany-foursquare-fb75a35db897b926df6dd96a8b64d74b02f3af96.desktop

Probably doesn't need to be a warning.
Comment 1 william.jon.mccann 2014-01-03 21:34:10 UTC
Created attachment 91472 [details] [review]
patch
Comment 2 Seif Lotfy 2014-01-03 21:50:35 UTC
Good job! You beat me to it. Will push it in a bit (In reply to comment #1)
> Created attachment 91472 [details] [review] [review]
> patch
Comment 3 Seif Lotfy 2014-01-03 21:53:53 UTC
Fixed with c753eed33a0d5d7c7869cb9c75bfab0fccba51c5

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.