[Zeitgeist] [Bug 693094] Re: Zeitgeist engine tells that an event has been inserted even though it has been blocked by an extension

2010-12-21 Thread Manish Sinha
Yes. It is for debug information. Still it is good to have the exact
details when we want the exact details when debugging

** Branch linked: lp:~manishsinha/zeitgeist/reproduce-693094

-- 
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/693094

Title:
  Zeitgeist engine tells that an event has been inserted even though it has 
been blocked by an extension

Status in Zeitgeist Framework:
  New

Bug description:
  I was working on blacklist when I noticed that even though the event 
insertion has been blocked by an extension, the engine still reports that the 
event has been inserted

Here is the output at the daemon
[2010-12-21 22:24:21,122] - ERROR - zeitgeist.engine - error while inserting 
'Event([dbus.Array([9176, dbus.String(u'1292949791179'), dbus.String(u''), 
dbus.String(u''), dbus.String(u'application://foo.desktop')], 
signature=dbus.Signature('s')), [Subject([dbus.String(u''), dbus.String(u''), 
dbus.String(u''), dbus.String(u''), dbus.String(u''), dbus.String(u''), 
dbus.String(u'')])], dbus.Array([], signature=dbus.Signature('y'))])'
Traceback (most recent call last):
  File "/home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/main.py", 
line 484, in _insert_event_without_error
return self._insert_event(event, sender)
  File "/home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/main.py", 
line 503, in _insert_event
raise AssertionError("Inserting of event was blocked by an extension")
AssertionError: Inserting of event was blocked by an extension
[2010-12-21 22:24:21,126] - DEBUG - zeitgeist.engine - Inserted 1 events in 
0.001179s


The section in _zeitgeist/engine/main.py responsible for this is 
http://paste.ubuntu.com/546316/
The AssertionError is raised on line 29 which is caught at line 11, but at line 
3 and line 4, there is no way to check that the the event was actually inserted

I was recommend some way to track how many events have been inserted and how 
many have been blocked



___
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] [Bug 693094] [NEW] Zeitgeist engine tells that an event has been inserted even though it has been blocked by an extension

2010-12-21 Thread Siegfried Gevatter
Yup. Or rename the message so it's clear the the query was inserting X
events but not all of them may have been successful (eg "Requested
insertion of X events" or "Processed X events").

This message is just there for the timing information and users aren't
supposed to care about it.

-- 
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/693094

Title:
  Zeitgeist engine tells that an event has been inserted even though it has 
been blocked by an extension

Status in Zeitgeist Framework:
  New

Bug description:
  I was working on blacklist when I noticed that even though the event 
insertion has been blocked by an extension, the engine still reports that the 
event has been inserted

Here is the output at the daemon
[2010-12-21 22:24:21,122] - ERROR - zeitgeist.engine - error while inserting 
'Event([dbus.Array([9176, dbus.String(u'1292949791179'), dbus.String(u''), 
dbus.String(u''), dbus.String(u'application://foo.desktop')], 
signature=dbus.Signature('s')), [Subject([dbus.String(u''), dbus.String(u''), 
dbus.String(u''), dbus.String(u''), dbus.String(u''), dbus.String(u''), 
dbus.String(u'')])], dbus.Array([], signature=dbus.Signature('y'))])'
Traceback (most recent call last):
  File "/home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/main.py", 
line 484, in _insert_event_without_error
return self._insert_event(event, sender)
  File "/home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/main.py", 
line 503, in _insert_event
raise AssertionError("Inserting of event was blocked by an extension")
AssertionError: Inserting of event was blocked by an extension
[2010-12-21 22:24:21,126] - DEBUG - zeitgeist.engine - Inserted 1 events in 
0.001179s


The section in _zeitgeist/engine/main.py responsible for this is 
http://paste.ubuntu.com/546316/
The AssertionError is raised on line 29 which is caught at line 11, but at line 
3 and line 4, there is no way to check that the the event was actually inserted

I was recommend some way to track how many events have been inserted and how 
many have been blocked



___
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 693094] [NEW] Zeitgeist engine tells that an event has been inserted even though it has been blocked by an extension

2010-12-21 Thread Manish Sinha
Public bug reported:

I was working on blacklist when I noticed that even though the event
insertion has been blocked by an extension, the engine still reports
that the event has been inserted

Here is the output at the daemon
[2010-12-21 22:24:21,122] - ERROR - zeitgeist.engine - error while inserting 
'Event([dbus.Array([9176, dbus.String(u'1292949791179'), dbus.String(u''), 
dbus.String(u''), dbus.String(u'application://foo.desktop')], 
signature=dbus.Signature('s')), [Subject([dbus.String(u''), dbus.String(u''), 
dbus.String(u''), dbus.String(u''), dbus.String(u''), dbus.String(u''), 
dbus.String(u'')])], dbus.Array([], signature=dbus.Signature('y'))])'
Traceback (most recent call last):
  File "/home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/main.py", 
line 484, in _insert_event_without_error
return self._insert_event(event, sender)
  File "/home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/main.py", 
line 503, in _insert_event
raise AssertionError("Inserting of event was blocked by an extension")
AssertionError: Inserting of event was blocked by an extension
[2010-12-21 22:24:21,126] - DEBUG - zeitgeist.engine - Inserted 1 events in 
0.001179s


The section in _zeitgeist/engine/main.py responsible for this is 
http://paste.ubuntu.com/546316/
The AssertionError is raised on line 29 which is caught at line 11, but at line 
3 and line 4, there is no way to check that the the event was actually inserted

I was recommend some way to track how many events have been inserted and
how many have been blocked

** Affects: zeitgeist
 Importance: Undecided
 Status: New


** Tags: blacklist block extension

-- 
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/693094

Title:
  Zeitgeist engine tells that an event has been inserted even though it has 
been blocked by an extension

Status in Zeitgeist Framework:
  New

Bug description:
  I was working on blacklist when I noticed that even though the event 
insertion has been blocked by an extension, the engine still reports that the 
event has been inserted

Here is the output at the daemon
[2010-12-21 22:24:21,122] - ERROR - zeitgeist.engine - error while inserting 
'Event([dbus.Array([9176, dbus.String(u'1292949791179'), dbus.String(u''), 
dbus.String(u''), dbus.String(u'application://foo.desktop')], 
signature=dbus.Signature('s')), [Subject([dbus.String(u''), dbus.String(u''), 
dbus.String(u''), dbus.String(u''), dbus.String(u''), dbus.String(u''), 
dbus.String(u'')])], dbus.Array([], signature=dbus.Signature('y'))])'
Traceback (most recent call last):
  File "/home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/main.py", 
line 484, in _insert_event_without_error
return self._insert_event(event, sender)
  File "/home/manish/code/zeitgeist/zeitgeist/../_zeitgeist/engine/main.py", 
line 503, in _insert_event
raise AssertionError("Inserting of event was blocked by an extension")
AssertionError: Inserting of event was blocked by an extension
[2010-12-21 22:24:21,126] - DEBUG - zeitgeist.engine - Inserted 1 events in 
0.001179s


The section in _zeitgeist/engine/main.py responsible for this is 
http://paste.ubuntu.com/546316/
The AssertionError is raised on line 29 which is caught at line 11, but at line 
3 and line 4, there is no way to check that the the event was actually inserted

I was recommend some way to track how many events have been inserted and how 
many have been blocked



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


[Gnome-zeitgeist] youen-peron joined gnome-zeitgeist-users

2010-12-21 Thread Friends of GNOME Zeitgeist
Hello GNOME Zeitgeist Team,

Youen (youen-peron) has been added as a member of Friends of GNOME
Zeitgeist (gnome-zeitgeist-users) by Youen (youen-peron). Follow the
link below for more details.

https://launchpad.net/~gnome-zeitgeist-users/+member/youen-peron

-- 
You received this email because you are an admin of the Friends of GNOME 
Zeitgeist team
via the GNOME Zeitgeist Team team.

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


[Zeitgeist] youen-peron joined gnome-zeitgeist-users

2010-12-21 Thread Friends of GNOME Zeitgeist
Hello Zeitgeist Framework Team,

Youen (youen-peron) has been added as a member of Friends of GNOME
Zeitgeist (gnome-zeitgeist-users) by Youen (youen-peron). Follow the
link below for more details.

https://launchpad.net/~gnome-zeitgeist-users/+member/youen-peron

-- 
You received this email because you are an admin of the Friends of GNOME 
Zeitgeist team
via the Zeitgeist Framework Team team.

___
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 689080] Re: Vim datasource results in error when editing files remotely

2010-12-21 Thread Carlos Moffat
Stefano,

You're right, of course. Thanks for finding the right home for the bug!

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

Title:
  Vim datasource results in error when editing files remotely

Status in GNOME Activity Journal:
  Invalid
Status in Zeitgeist Data-Sources:
  New

Bug description:
  Hi,

With zeitgeist-datasource-vim installed, vim returns the following errors if I 
try to open vim in a SSH session:

Error detected while processing /usr/share/vim/vim72/plugin/zeitgeist.vim:
line   54:
Traceback (most recent call last):
  File "", line 9, in 
  File "/usr/lib/pymodules/python2.6/zeitgeist/client.py", line 310, in __init__
self._iface = ZeitgeistDBusInterface()
  File "/usr/lib/pymodules/python2.6/zeitgeist/client.py", line 175, in __init__
proxy = dbus.SessionBus().get_object(self.BUS_NAME,
  File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 219, in __new__
mainloop=mainloop)
  File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 108, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 125, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: 
/bin/dbus-launch terminated abnormally with the following error: Autolaunch 
error: X11 initialization failed.


All the best.



___
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:~manishsinha/zeitgeist/fix-691167 into lp:zeitgeist

2010-12-21 Thread Manish Sinha
Mikkel, then wanted to know whether we should just cast dbus.Array of type byte 
to plain python byte and out it. Dbus's byte implementation in python is by 
subclassing int
-- 
https://code.launchpad.net/~manishsinha/zeitgeist/fix-691167/+merge/43948
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~manishsinha/zeitgeist/fix-691167 into 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:~manishsinha/zeitgeist/fix-691167 into lp:zeitgeist

2010-12-21 Thread Manish Sinha
Mikkel, then wanted to know whether we should just cast dbus.Array of type byte 
to plain python byte and out it. Dbus's byte implementation in python is by 
subclassing int
-- 
https://code.launchpad.net/~manishsinha/zeitgeist/fix-691167/+merge/43948
Your team Zeitgeist Framework Team is requested to review the proposed merge of 
lp:~manishsinha/zeitgeist/fix-691167 into 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


[Zeitgeist] [Bug 689080] Re: Vim datasource results in error when editing files remotely

2010-12-21 Thread Stefano Candori
I've added Zeitgeist data-sources in affected projects..

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

Title:
  Vim datasource results in error when editing files remotely

Status in GNOME Activity Journal:
  Invalid
Status in Zeitgeist Data-Sources:
  New

Bug description:
  Hi,

With zeitgeist-datasource-vim installed, vim returns the following errors if I 
try to open vim in a SSH session:

Error detected while processing /usr/share/vim/vim72/plugin/zeitgeist.vim:
line   54:
Traceback (most recent call last):
  File "", line 9, in 
  File "/usr/lib/pymodules/python2.6/zeitgeist/client.py", line 310, in __init__
self._iface = ZeitgeistDBusInterface()
  File "/usr/lib/pymodules/python2.6/zeitgeist/client.py", line 175, in __init__
proxy = dbus.SessionBus().get_object(self.BUS_NAME,
  File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 219, in __new__
mainloop=mainloop)
  File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 108, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 125, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: 
/bin/dbus-launch terminated abnormally with the following error: Autolaunch 
error: X11 initialization failed.


All the best.



___
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 689080] Re: Vim datasource results in error when editing files remotely

2010-12-21 Thread Stefano Candori
Hi Carlos, thanks for your bug report...However this is not a gnome-
activity-journal bug but a zeitgeist-daemon / data-providers one.


** Also affects: zeitgeist-dataproviders
   Importance: Undecided
   Status: New

** Changed in: gnome-activity-journal
   Status: New => Invalid

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

Title:
  Vim datasource results in error when editing files remotely

Status in GNOME Activity Journal:
  Invalid
Status in Zeitgeist Data-Sources:
  New

Bug description:
  Hi,

With zeitgeist-datasource-vim installed, vim returns the following errors if I 
try to open vim in a SSH session:

Error detected while processing /usr/share/vim/vim72/plugin/zeitgeist.vim:
line   54:
Traceback (most recent call last):
  File "", line 9, in 
  File "/usr/lib/pymodules/python2.6/zeitgeist/client.py", line 310, in __init__
self._iface = ZeitgeistDBusInterface()
  File "/usr/lib/pymodules/python2.6/zeitgeist/client.py", line 175, in __init__
proxy = dbus.SessionBus().get_object(self.BUS_NAME,
  File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 219, in __new__
mainloop=mainloop)
  File "/usr/lib/pymodules/python2.6/dbus/_dbus.py", line 108, in __new__
bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/pymodules/python2.6/dbus/bus.py", line 125, in __new__
bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ExecFailed: 
/bin/dbus-launch terminated abnormally with the following error: Autolaunch 
error: X11 initialization failed.


All the best.



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