Andrei_1 0 Newbie Poster

I'm using python3 on Windows, got a problem with ZEO , when i start a ZEO server
(python runzeo.py -a localhost:9000 -f database.fs) on server appears :

------
2014-01-15T16:24:17 INFO ZEO.runzeo (4080) opening storage '1' using FileStorage

------
2014-01-15T16:24:18 WARNING ZODB.FileStorage Ignoring index for C:\Documents and
 Settings\calarasanu\Desktop\Licenta\DBase\Test\zeo\database.fs
------
2014-01-15T16:24:18 INFO ZEO.StorageServer StorageServer created RW with storage
s: 1:RW:C:\Documents and Settings\calarasanu\Desktop\Licenta\DBase\Test\zeo\data
base.fs
------
2014-01-15T16:24:18 INFO ZEO.zrpc (4080) listening on ('localhost', 9000)

and when i run the client part :

from ZEO import ClientStorage
from ZODB import DB
import transaction

storage = ClientStorage.ClientStorage(('localhost', 9000), wait=False)
db = ZODB.DB(storage)

here i get this error message:

Traceback (most recent call last):
  File "C:\Documents and Settings\calarasanu\Desktop\Licenta\DBase\Test\runzeoserver.py", line 20, in <module>
    db = ZODB.DB(storage)
  File "C:\Python33\lib\site-packages\zodb-4.0.0-py3.3.egg\ZODB\DB.py", line 443, in __init__
    temp_storage.load(z64, '')
  File "C:\Python33\lib\site-packages\ZEO\ClientStorage.py", line 841, in load
    data, tid = self._server.loadEx(oid)
  File "C:\Python33\lib\site-packages\ZEO\ClientStorage.py", line 88, in __getattr__
    raise ClientDisconnected()
ZEO.Exceptions.ClientDisconnected

and in the server part didn't change anything , if i change wait=True, client part just freezes ...
on my Linux same code runs great ... do anyone have any sugestions ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.21 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.