[Zeitgeist] [Bug 832092] Re: zeitgeist-daemon crashed with DBusException in call_blocking(): org.freedesktop.DBus.Error.Disconnected: Connection was disconnected before a reply was received

2012-02-20 Thread Didier Roche
the precise task is invalid now with the new zg rewrite in vala.

** Changed in: unity-distro-priority
   Status: Fix Committed = Invalid

** Changed in: zeitgeist (Ubuntu Precise)
   Status: Confirmed = Invalid

** Changed in: unity (Ubuntu Precise)
   Status: Confirmed = Invalid

** Changed in: unity
   Status: Confirmed = Invalid

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/832092

Title:
  zeitgeist-daemon crashed with DBusException in call_blocking():
  org.freedesktop.DBus.Error.Disconnected: Connection was disconnected
  before a reply was received

Status in Unity:
  Invalid
Status in Unity Distro Priority:
  Invalid
Status in Zeitgeist Framework:
  Confirmed
Status in “unity” package in Ubuntu:
  Invalid
Status in “zeitgeist” package in Ubuntu:
  Invalid
Status in “unity” source package in Oneiric:
  Confirmed
Status in “zeitgeist” source package in Oneiric:
  Confirmed
Status in “unity” source package in Precise:
  Invalid
Status in “zeitgeist” source package in Precise:
  Invalid

Bug description:
  I've just upgraded from natty to oneiric and this error appeared on
  restart.

  ProblemType: Crash
  DistroRelease: Ubuntu 11.10
  Package: zeitgeist-core 0.8.1.1-1
  ProcVersionSignature: Ubuntu 3.0.0-9.12-generic 3.0.3
  Uname: Linux 3.0.0-9-generic x86_64
  Architecture: amd64
  Date: Tue Aug 23 09:09:16 2011
  EcryptfsInUse: Yes
  ExecutablePath: /usr/bin/zeitgeist-daemon
  InstallationMedia: Ubuntu 11.04 Natty Narwhal - Release amd64 (20110427.1)
  InterpreterPath: /usr/bin/python2.7
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python /usr/bin/zeitgeist-daemon
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANGUAGE=eo:eo:en
   LANG=eo.UTF-8
  PythonArgs: ['/usr/bin/zeitgeist-daemon']
  SourcePackage: zeitgeist
  Title: zeitgeist-daemon crashed with DBusException in call_blocking(): 
org.freedesktop.DBus.Error.Disconnected: Connection was disconnected before a 
reply was received
  UpgradeStatus: Upgraded to oneiric on 2011-08-23 (0 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare tomcat6

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/832092/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 919111] Re: creating a file, opening it and then searching for it in unity doesn't work reliably

2012-02-20 Thread Didier Roche
** Changed in: unity-distro-priority
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.
https://bugs.launchpad.net/bugs/919111

Title:
  creating a file, opening it and then searching for it in unity doesn't
  work reliably

Status in Unity Distro Priority:
  Fix Released
Status in Zeitgeist Framework:
  Fix Released
Status in “zeitgeist” package in Ubuntu:
  Fix Released

Bug description:
  Test case:
  1. open a guest ubuntu session (clean profile)
  2. create a foo file
  3. open it with, ie gedit
  4. open the file lens - you will see it there
  5. type f to search for foo - nothing is shown.

  killing the zeitgeist daemon seems to reset it in a working state.

  Also (related when is in that state): there is no recent app
  category in unity file lens.

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity-distro-priority/+bug/919111/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Branch ~zeitgeist/zeitgeist/bluebird] Rev 407: Move logging code from zeitgeist-daemon to a new logging.vala and install

2012-02-20 Thread noreply
Merge authors:
  Siegfried Gevatter (rainct)

revno: 407 [merge]
committer: Siegfried-Angel Gevatter Pujals siegfr...@gevatter.com
branch nick: bluebird
timestamp: Sun 2012-02-19 21:47:38 +0100
message:
  Move logging code from zeitgeist-daemon to a new logging.vala and install
  a custom log handler (adding color and timestamps).
added:
  src/logging.vala
modified:
  src/Makefile.am
  src/zeitgeist-daemon.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to 
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'src/Makefile.am'
--- src/Makefile.am	2012-02-02 18:57:35 +
+++ src/Makefile.am	2012-02-15 19:55:59 +
@@ -37,6 +37,7 @@
 	extension.vala \
 	extension-collection.vala \
 	extension-store.vala \
+	logging.vala \
 	notify.vala \
 	sql.vala \
 	utils.vala \

=== added file 'src/logging.vala'
--- src/logging.vala	1970-01-01 00:00:00 +
+++ src/logging.vala	2012-02-19 20:47:38 +
@@ -0,0 +1,140 @@
+/* logging.vala
+ *
+ * Copyright © 2012 Canonical Ltd.
+ * By Siegfried-A. Gevatter siegfried.gevat...@collabora.co.uk
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation, either version 2.1 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program.  If not, see http://www.gnu.org/licenses/.
+ *
+ */
+
+namespace Zeitgeist
+{
+namespace Logging
+{
+
+private const string BLUE = \x1b[34m;
+private const string GREEN = \x1b[32m;
+private const string RED = \x1b[31m;
+private const string YELLOW = \x1b[33m;
+private const string RESET = \x1b[0m;
+
+private string get_log_level_string (LogLevelFlags log_levels,
+out string color)
+{
+string log_level;
+
+if ((log_levels  LogLevelFlags.LEVEL_ERROR) != 0)
+{
+log_level = ERROR;
+color = RED;
+}
+else if ((log_levels  LogLevelFlags.LEVEL_CRITICAL) != 0)
+{
+log_level = CRITICAL;
+color = RED;
+}
+else if ((log_levels  LogLevelFlags.LEVEL_WARNING) != 0)
+{
+log_level = WARNING;
+color = RED;
+}
+else if ((log_levels  LogLevelFlags.LEVEL_MESSAGE) != 0)
+{
+log_level = MESSAGE;
+color = BLUE;
+}
+else if ((log_levels  LogLevelFlags.LEVEL_INFO) != 0)
+{
+log_level = INFO;
+color = BLUE;
+}
+else if ((log_levels  LogLevelFlags.LEVEL_DEBUG) != 0)
+{
+log_level = DEBUG;
+color = GREEN;
+}
+else
+{
+log_level = UNKNOWN;
+color = BLUE;
+}
+
+return log_level;
+}
+
+private void log_handler (string? log_domain, LogLevelFlags log_levels,
+string message)
+{
+string color;
+string log_level = get_log_level_string (log_levels, out color);
+string timestamp = TimeVal ().to_iso8601 ().substring (11, 15);
+//string datestamp = new DateTime.now_local ().format (
+//%Y-%m-%d %H:%M:%S);
+// FIXME: get PID
+
+unowned FileStream output;
+if (log_levels = LogLevelFlags.LEVEL_MESSAGE)
+output = stdout; // MESSAGE, INFO or DEBUG
+else
+output = stderr;
+
+// Print to console
+output.printf (%s[%s %s]%s %s\n, color, timestamp,
+log_level, RESET, message);
+
+// Log to file
+// FIXME:
+//printf ([%s] - %s - %s\n, datestamp, log_level, message);
+}
+
+public void setup_logging (string? log_level)
+{
+LogLevelFlags discarded = LogLevelFlags.LEVEL_DEBUG;
+if (log_level != null)
+{
+var ld = LogLevelFlags.LEVEL_DEBUG;
+var li = LogLevelFlags.LEVEL_INFO;
+var lm = LogLevelFlags.LEVEL_MESSAGE;
+var lw = LogLevelFlags.LEVEL_WARNING;
+var lc = LogLevelFlags.LEVEL_CRITICAL;
+

[Zeitgeist] [Merge] lp:~rainct/zeitgeist/custom-log-handler into lp:zeitgeist

2012-02-20 Thread noreply
The proposal to merge lp:~rainct/zeitgeist/custom-log-handler into lp:zeitgeist 
has been updated.

Status: Approved = Merged

For more details, see:
https://code.launchpad.net/~rainct/zeitgeist/custom-log-handler/+merge/93289
-- 
https://code.launchpad.net/~rainct/zeitgeist/custom-log-handler/+merge/93289
Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


Re: [Zeitgeist] [Merge] lp:~ev/activity-log-manager/whoopsie into lp:activity-log-manager

2012-02-20 Thread Seif Lotfy
Can you please make sure that the makefile is complete... I can't compile it 
due to

make[3]: *** No rule to make target `diagnostics/whoopsie-generated.c', needed 
by `libactivity_log_manager_la_vala.stamp'.  Stop.
make[3]: Leaving directory `/home/seif/Projects/whoopsie/src'

-- 
https://code.launchpad.net/~ev/activity-log-manager/whoopsie/+merge/93899
Your team Activity Log Manager is requested to review the proposed merge of 
lp:~ev/activity-log-manager/whoopsie into lp:activity-log-manager.

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


Re: [Zeitgeist] [Merge] lp:~ev/activity-log-manager/whoopsie into lp:activity-log-manager

2012-02-20 Thread Evan Dandrea
On Mon, Feb 20, 2012 at 8:51 PM, Seif Lotfy s...@lotfy.com wrote:
 Can you please make sure that the makefile is complete... I can't compile it 
 due to

 make[3]: *** No rule to make target `diagnostics/whoopsie-generated.c', 
 needed by `libactivity_log_manager_la_vala.stamp'.  Stop.
 make[3]: Leaving directory `/home/seif/Projects/whoopsie/src'

Fixed in r85. This was due to the autogenerated vala targets pulling
in libactivity-log-manager even when --with-ccpanel was not set.  I've
worked around that by explicitly building against the C source
targets:

activity_log_manager_la_SOURCES = \
$(SOURCES:.vala=.c) alm-cc.c \
diagnostics-widget.c \
diagnostics/whoopsie-generated.c

-- 
https://code.launchpad.net/~ev/activity-log-manager/whoopsie/+merge/93899
Your team Activity Log Manager is requested to review the proposed merge of 
lp:~ev/activity-log-manager/whoopsie into lp:activity-log-manager.

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


Re: [Zeitgeist] [Merge] lp:~ev/activity-log-manager/whoopsie into lp:activity-log-manager

2012-02-20 Thread Seif Lotfy
Also I cant seem to see the panel anywhere...
Since this is being merged into an upstream project can you please make it so 
it is disabled by default..
It should be enabled upon configuring by passing a -enable-whoopsie parameter

-- 
https://code.launchpad.net/~ev/activity-log-manager/whoopsie/+merge/93899
Your team Activity Log Manager is requested to review the proposed merge of 
lp:~ev/activity-log-manager/whoopsie into lp:activity-log-manager.

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp


[Zeitgeist] [Bug 933042] Re: Integrate diagnostics application from whoopsie-daily

2012-02-20 Thread मनीष सिन्हा
** Changed in: activity-log-manager
 Assignee: Manish Sinha (मनीष सिन्हा) (manishsinha) = Evan Dandrea (ev)

** Branch linked: lp:~ev/activity-log-manager/whoopsie

-- 
You received this bug notification because you are a member of Activity
Log Manager, which is the registrant for Activity Log Manager.
https://bugs.launchpad.net/bugs/933042

Title:
  Integrate diagnostics application from whoopsie-daily

Status in Activity Log Manager for Zeitgeist:
  Confirmed

Bug description:
  Whoopsie daisy is crash database and reporting daemon for Ubuntu which
  comes with UI showing up in control center. This UI needs to be
  integrated within activity-log-manager

  https://launchpad.net/whoopsie-daisy

To manage notifications about this bug go to:
https://bugs.launchpad.net/activity-log-manager/+bug/933042/+subscriptions

___
Mailing list: https://launchpad.net/~zeitgeist
Post to : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp