osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ZODB] Problem with pickle in zodb


Yup, that is correct! Thanks. :-)

Etienne


Le 2018-06-03 ? 07:39, Jason Madden a ?crit?:
> You appear to have mismatched versions of ZEO on the client and server, 5.2 on one side and 5.1.0 on the other. Both need to be 5.2.
>
>> On Jun 3, 2018, at 06:35, Etienne Robillard <tkadm30 at yandex.com> wrote:
>>
>> Hi,
>>
>> Any ideas why this is happening ?
>>
>> erob at marina:/home/www/open-neurosecurity.org/trunk$ schevo editor zodb://127.0.0.1:4545
>> 07:32:16 environ              No en_CA translation found for domain kiwi
>> 07:32:16 environ              No en_CA translation found for domain gazpacho
>> libschevo 4.0.1 :: Database Navigator ()
>> ()
>>> /home/erob/src/libschevo/lib/schevo/gtk2/window.py(295)database_open()
>> -> self._db = schevo.database.open(db_alias)
>> (Pdb) n
>> zodb://127.0.0.1:4545
>> 127.0.0.1:4545
>> Found epoll library, good!
>> /home/erob/src/libschevo/lib/schevo/backends/zodb.py:7: RuntimeWarning: Patching more than once will result in the union of all True parameters being patched
>>    patch_all(thread=True)
>> 07:32:23 ZEO.asyncio.marshal  can't decode message: '\x80\x03(K\x01K\x00U\x06.replyU\x08\x03\xc7\xf6]\xe0\xd...'
>> 07:32:23 ZEO.asyncio.base     data_received 4 0 True
>> Traceback (most recent call last):
>>    File "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/base.py", line 128, in data_received
>>      self.message_received(collected)
>>    File "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/client.py", line 206, in message_received
>>      msgid, async, name, args = self.decode(data)
>>    File "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/marshal.py", line 91, in pickle_decode
>>      return unpickler.load() # msgid, flags, name, args
>> ValueError: unsupported pickle protocol: 3
>> 07:32:52 ZEO.asyncio.client   Registration or cache validation failed, Closed
>> Traceback (most recent call last):
>>    File "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/client.py", line 188, in finish_connect
>>      *credentials)
>> ClientDisconnected: Closed
>> ClientDisconnected: ClientDi...ection',)
>>
>>
>

-- 
Etienne Robillard
tkadm30 at yandex.com
https://www.isotopesoftware.ca/