[Zope3-Users] Using z3c.extfile with ZEO

Jodok Batlogg jodok at lovelysystems.com
Sun Apr 20 13:08:59 EDT 2008


On 20.04.2008, at 17:24, Yuan HOng wrote:

> Hello,
>
> I am trying to use z3c.extfile on clients running ZEO. My zope.conf

z3c.extfile has nothing to do with blob storage. when using  
z3c.extfile you need to export the storage-directory e.g. via NFS to  
the zope clients. the README files of z3c.extfile show how to  
configure it.

jodok

>
> has the following configuration:
>
> <zodb>
>  <zeoclient>
>    server localhost:8101
>    storage 1
>    blob-dir var/blob
>    cache-size 20MB
>  </zeoclient>
> </zodb>
>
> Then I get the following error:
>
> 2008-04-20T23:13:54 ERROR ZODB.Connection Couldn't load state for  
> 0x0de14f
> Traceback (most recent call last):
>  File "/root/workspace/eggs/tmpZKaS-m/ZODB3-3.8.0-py2.5-linux- 
> i686.egg/ZODB/Connection.py",
> line 804, in setstate
>  File "/root/workspace/eggs/tmpZKaS-m/ZODB3-3.8.0-py2.5-linux- 
> i686.egg/ZODB/Connection.py",
> line 869, in _setstate
>  File "/root/workspace/eggs/ZODB3-3.8.0-py2.5-linux-i686.egg/ZEO/ 
> ClientStorage.py",
> line 1034, in loadBlob
>    self._server.sendBlob(oid, serial)
>  File "/root/workspace/eggs/tmpZKaS-m/ZODB3-3.8.0-py2.5-linux- 
> i686.egg/ZEO/ServerStub.py",
> line 289, in sendBlob
>  File "/root/workspace/eggs/tmpZKaS-m/ZODB3-3.8.0-py2.5-linux- 
> i686.egg/ZEO/zrpc/connection.py",
> line 679, in call
> AttributeError: 'FileStorage' object has no attribute 'loadBlob'
>
> Does that mean the FileStroage on the ZEO server doesn't support Blob?
> How should I correctly configure zeo to be able to use z3c.extfile?
>
> Thanks.
>
> -- 
> Hong Yuan
>
> 大管家网上建材超市
> 装修装潢建材一站式购物
> http://www.homemaster.cn
> _______________________________________________
> Zope3-users mailing list
> Zope3-users at zope.org
> http://mail.zope.org/mailman/listinfo/zope3-users

--
"Beautiful is better than ugly."
   -- The Zen of Python, by Tim Peters

Jodok Batlogg, Lovely Systems GmbH
Schmelzhütterstraße 26a, 6850 Dornbirn, Austria
mobile: +43 664 9636963, phone: +43 5572 908060



More information about the Zope3-users mailing list