Hi, I'm building a pyramid application with ZODB and traversal. Images and Files in the Application should be stored in Blobs. On StackOverflow I Found the following code to do so.
from ZODB.blob import Blob
uid = Blob(imagebinary.read())
I stored the uid in an attribute of an object derived from Persistent.
When I create an Object of this type an add it to the tree I get the
following Error.
Unsupported: Storing Blobs in <ZODB.FileStorage.FileStorage.FileStorage
object at 0x80a361f10> is not supported.
How do i set the zodbconnection to use a Blobstorage.
Regards
Estartu
--
---------------------------------------------------------------------------
Gerhard Schmidt | http://www.augusta.de/~estartu |
Fischbachweg 3 | | PGP Public Key
86856 Hiltenfingen | JabberID: [email protected] | on request
Germany | |
signature.asc
Description: OpenPGP digital signature
