On Aug 28, 2007, at 2:17 PM, Robert Ian Smit wrote:

File '.../Beaker-0.7.5-py2.4.egg/beaker/ext/database.py', line 94 in
__getitem__
  return cPickle.loads(str(rows[0]['value']))
ValueError: insecure string pickle

On other pages caching works as expected.

When I look at the contents of the value column, the cache entries for
troublesome pages are cut off halfway though the HTML contents of the
response.

After lots of attempts at changing the the to be pickled contents, I
modified the columntype of value to be longtext instead of blob.

This solved all caching problems.

That's rather odd, perhaps the MySQL connector is doing something funky with the formatting when its a blob that isn't done when its longtext. Did changing the column type also solve the cut off issue?

Cheers,
Ben

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to