sending payload from engine to client does not work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zeitgeist Framework |
Fix Released
|
High
|
Seif Lotfy |
Bug Description
I wrote a test case in the below diff where I insert an event with a payload and try to retrieve it again. This does not work on trunk guys -.-
---
=== modified file 'test/remote-
--- test/remote-test.py 2010-09-22 18:44:16 +0000
+++ test/remote-test.py 2010-12-20 15:42:22 +0000
@@ -321,6 +321,19 @@
registry = iface.get_
registry.
+ def testFindEventsW
+ mainloop = gobject.MainLoop()
+ payload = "Hello World"
+ def callback(ids):
+ def callback2(events):
+ mainloop.quit()
+ self.assertEqua
+ self.client.
+ events = [Event.
+ events[0].payload = payload
+ self.client.
+ mainloop.run()
+
class ZeitgeistRemote
def setUp(self):
----
Run "./test/
I get:
Error from Zeitgeist engine: org.freedesktop
File "/usr/lib/
_method_
File "/usr/lib/
reply.
TypeError: an integer is required
Related branches
- Siegfried Gevatter: Approve
- Mikkel Kamstrup Erlandsen: Needs Information
-
Diff: 98 lines (+54/-5)3 files modified_zeitgeist/engine/datamodel.py (+5/-2)
_zeitgeist/engine/sql.py (+8/-1)
test/remote-test.py (+41/-2)
description: | updated |
Changed in zeitgeist: | |
milestone: | none → 0.7.0 |
status: | New → In Progress |
assignee: | nobody → Seif Lotfy (seif) |
Changed in zeitgeist: | |
status: | In Progress → Fix Committed |
importance: | Undecided → High |
Changed in zeitgeist: | |
status: | Fix Committed → Fix Released |