On Nov 29, 2007 1:24 PM, Oleg Broytmann <[EMAIL PROTECTED]> wrote:
> On Thu, Nov 29, 2007 at 05:22:18AM +0100, Bart wrote:
> > Argh, I just don't know what data format is supposed to be, unpickling
> > keeps choking on the data.
>
>    Can you write a short test script that demonstrate the problem?


Well, I don't know what it should do, that's the problem:)

When I store an empty dict with sqlobject, then look at the data via
sqlite2, I see u'\x02&bn/\x08,' and I don't know what that is.
pickle.dumps({},0), pickle.dumps({},1), and pickle.dumps({},2) don't
resemble it toomuch.

Also, storing u'\x02&bn/\x08,' or '\x02&bn/\x08,' via sqlite.Binary
(...so in a buffer...) causes sqlobject to give me the
cPickle.UnpicklingError: invalid load key error, so I really don't
know what my hack-around-sqlobject code should be doing.


Huh, I didn't see that that code you pasted before was SQLObejct
(pseudo)code and not a copy of the quoted page. You're saying 70MB
non-parametric data work in sqlite right now without BLOBs? That's
what *doesn't* work for me. (Is this new in a recent version, or am I
not paying enough attention again?)

--Bart

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to