|
cPickled Data submission in Pysqlite: msg#00034python.db.pysqlite.user
Hi, I have a pickled data that I want to submit into a column of my pysqlite. The column is of type BLOB (it could be anything). I can submit the pickled data without any problem, but when I retreive it, I get the following error: UnicodeDecodeError: 'utf8' codec can't decode bytes in position.... With certain pickled data I can submit it, but when I retrieve it, I don't get the complete pickled data that I submitted therefore I get this error: x = cPickle.loads(strr) EOFError: Can you please tell me the safe and correct way of submitting cpickled data. Help will be much appreciated. Thanks, Sajjad __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Database is locked error on 2nd conn: 00034, Gerhard Häring |
|---|---|
| Next by Date: | Re: cPickled Data submission in Pysqlite: 00034, Gerhard Häring |
| Previous by Thread: | Database is locked error on 2nd conni: 00034, David Pratt |
| Next by Thread: | Re: cPickled Data submission in Pysqlite: 00034, Gerhard Häring |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |