[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-19 Thread Siegfried Gevatter
** Changed in: zeitgeist Status: Fix Committed => Fix Released -- Error inserting a event with a byte array payload into zeitgeist https://bugs.launchpad.net/bugs/557708 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeis

[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-13 Thread Mikkel Kamstrup Erlandsen
** Changed in: zeitgeist Status: Confirmed => Fix Committed -- Error inserting a event with a byte array payload into zeitgeist https://bugs.launchpad.net/bugs/557708 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist F

[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-12 Thread Mikkel Kamstrup Erlandsen
** Branch linked: lp:~kamstrup/zeitgeist/payload-fix -- Error inserting a event with a byte array payload into zeitgeist https://bugs.launchpad.net/bugs/557708 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Sta

[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-12 Thread Mikkel Kamstrup Erlandsen
Looked a bit more on this... Handling binary data in Python <= 2.5 is just a mess... But it looks like the 'array' module should be able to help us out... Consider a table defined as: CREATE TABLE tab (s VARCHAR, b BLOB) Then the following works, but is Python >= 2.6 only: data = bytearray(

[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-12 Thread Mikkel Kamstrup Erlandsen
Nope sorry... I am spending the little spare time I have on the ontology branch -- Error inserting a event with a byte array payload into zeitgeist https://bugs.launchpad.net/bugs/557708 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed t

[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-12 Thread Siegfried Gevatter
Anything new on this? -- Error inserting a event with a byte array payload into zeitgeist https://bugs.launchpad.net/bugs/557708 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Status in Zeitgeist Framework: Con

[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-08 Thread Mikkel Kamstrup Erlandsen
As discussed on IRC this bug is not completely dead yet. We to do something like: a = dbus.Array ( [dbus.Byte(ord("z")), dbus.Byte(ord("g")) ]) b = bytearray() for q in a : b.append(q) buf = sqlite3.Binary(b) and then insert that buf in the sql call. Biggest problem is that 'bytearray' is Pytho

[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-08 Thread Siegfried Gevatter
** Changed in: zeitgeist Status: Confirmed => Fix Released ** Changed in: zeitgeist Milestone: None => 0.3.3 ** Changed in: zeitgeist Assignee: Mikkel Kamstrup Erlandsen (kamstrup) => Siegfried Gevatter (rainct) -- Error inserting a event with a byte array payload into zeitgeis

[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-08 Thread Launchpad Bug Tracker
** Branch linked: lp:zeitgeist -- Error inserting a event with a byte array payload into zeitgeist https://bugs.launchpad.net/bugs/557708 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Status in Zeitgeist Frame

Re: [Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-08 Thread tehk
Thanks, the payload really should work perfectly for Journal. I also want to note that the byte array will fail on ascii encoding too On Apr 8, 2010 1:55 AM, "Mikkel Kamstrup Erlandsen" < mikkel.kamst...@gmail.com> wrote: Thanks for the test case! I'll integrate it into our test suite. And let me

[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-07 Thread Mikkel Kamstrup Erlandsen
Thanks for the test case! I'll integrate it into our test suite. And let me state for the record that I Love You! This is exactly how I imagined event.payload would be used :-) (I can hint to you that some of the other ZG developers had their doubts about event.payload :-)) ** Changed in: zeitgeis

[Zeitgeist] [Bug 557708] Re: Error inserting a event with a byte array payload into zeitgeist

2010-04-07 Thread tehk
** Attachment added: "This script will insert an event which triggers this error in the daemon" http://launchpadlibrarian.net/43394745/payload_failure.py -- Error inserting a event with a byte array payload into zeitgeist https://bugs.launchpad.net/bugs/557708 You received this bug notificat