Re: blobs and ClientStorage

Sanjay Rao <[email protected]>
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
If I use ZEO with blob then 

Does ZEO clients need direct access of blob_dir directory ?
or
blob_dir directory remains accessible to ZEO server and ZEO server serves 
it ?


On Friday, 19 August 2016 10:47:07 UTC+5:30, Sanjay Rao wrote:
>
> How to get rid of this problem ?
> my zeo.conf
>
> <blobstorage 1>
>   blob-dir $BLOBDIR
>   <filestorage blobfilestore>
>   path $DBFILEPATH  
>   </filestorage>
> </blobstorage>
>
> my zope.conf
>
> <zeoclient> 
> server     localhost:8670 
> storage 1 
> cache-size    20MB 
> </zeoclient> 
> </zodb>
>
> How can i correct my configurations ? Thanks a lot in advance.
>
>
> On Monday, 26 October 2015 04:52:31 UTC+5:30, Jim Fulton wrote:
>>
>> On Sun, Oct 25, 2015 at 4:09 PM, Bill Janssen <[email protected]> 
>> wrote: 
>> > I seem to be mishandling ClientStorage: 
>> > 
>> >   File "/Library/Python/2.7/site-packages/ZODB/Connection.py", line 
>> 572, in 
>> > commit 
>> >     self._commit(transaction) 
>> >   File "/Library/Python/2.7/site-packages/ZODB/Connection.py", line 
>> 628, in 
>> > _commit 
>> >     self._store_objects(ObjectWriter(obj), transaction) 
>> >   File "/Library/Python/2.7/site-packages/ZODB/Connection.py", line 
>> 680, in 
>> > _store_objects 
>> >     '', transaction) 
>> >   File "/Library/Python/2.7/site-packages/ZEO/ClientStorage.py", line 
>> 964, 
>> > in storeBlob 
>> >     self.fshelper.getPathForOID(oid, create=True) 
>> > AttributeError: 'NoneType' object has no attribute 'getPathForOID' 
>> > 
>> > 
>> > I'm just using ClientStorage.ClientStorage(('127.0.0.1', 20110)) to 
>> create 
>> > the ClientStorage.  Do I need to specify a blob_dir, as well? 
>>
>> Yup. 
>>
>> Jim 
>>
>> -- 
>> Jim Fulton 
>> http://jimfulton.info 
>>
>

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.