Django-hotsauce/ZODB 5.4.0/PyPy nightly sprint!!

Yo people I'm doing a nightly hacking sprint for django-hotsauce on pypy and got some cool bugs I would like to share: Traceback (most recent call last): File "/usr/local/bin/schevo", line 11, in <module> load_entry_point('libschevo', 'console_scripts', 'schevo')() File "/home/erob/src/libschevo/lib/schevo/script/command.py", line 32, in __call__ return self.main(arg0, args) File "/home/erob/src/libschevo/lib/schevo/script/command.py", line 74, in main return command()(*args) File "/home/erob/src/libschevo/lib/schevo/script/command.py", line 32, in __call__ return self.main(arg0, args) File "/home/erob/src/libschevo/lib/schevo/script/command.py", line 74, in main return command()(*args) File "/home/erob/src/libschevo/lib/schevo/script/command.py", line 32, in __call__ return self.main(arg0, args) File "/home/erob/src/libschevo/lib/schevo/script/db_evolve.py", line 86, in main db = schevo.database.open(url) File "/home/erob/src/libschevo/lib/schevo/database.py", line 371, in open db = Database(backend) File "/home/erob/src/libschevo/lib/schevo/database2.py", line 95, in __init__ self._update_extent_maps_by_name() File "/home/erob/src/libschevo/lib/schevo/database2.py", line 1633, in _update_extent_maps_by_name for extent in self._extent_maps_by_id.itervalues(): File "/usr/local/lib/python2.7/dist-packages/ZODB/Connection.py", line 791, in setstate p, serial = self._storage.load(oid) File "/usr/local/lib/python2.7/dist-packages/ZODB/mvccadapter.py", line 143, in load r = self._storage.loadBefore(oid, self._start) File "/home/erob/work/ZEO-5.1.0/src/ZEO/ClientStorage.py", line 520, in loadBefore return self._server.load_before(oid, tid) File "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/client.py", line 783, in load_before return self.__call(self.client.load_before_threadsafe, oid, tid) File "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/client.py", line 748, in call return self.wait_for_result(result, self.timeout) File "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/client.py", line 756, in wait_for_result return future.result(timeout) File "/usr/local/lib/python2.7/dist-packages/futures-3.0.5-py2.7.egg/concurrent/futures/_base.py", line 405, in result return self.__get_result() File "/usr/local/lib/python2.7/dist-packages/futures-3.0.5-py2.7.egg/concurrent/futures/_base.py", line 357, in __get_result raise type(self._exception), self._exception, self._traceback ZEO.Exceptions.ClientDisconnected: connection lost erob@marina:/home/www/isotopesoftware.ca/trunk$ Not sure about this first one! :) The command I'm trying to run is: % schevo db evolve --app blogengine2 zodb://127.0.0.1:4545 31 The ZODB 5.4.0 server then produce the following traceback: 2018-06-07T21:14:55 INFO ZEO.asyncio.base Connected server protocol ------ 2018-06-07T21:14:55 INFO ZEO.asyncio.server received handshake 'Z5' ------ 2018-06-07T21:14:55 ERROR ZEO.asyncio.marshal can't decode message: '((ccopy_reg\n_reconstructor\n(czodbpickle\nbinary\nc__b...' ------ 2018-06-07T21:14:55 ERROR ZEO.asyncio.server Can't deserialize message Traceback (most recent call last): File "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/server.py", line 89, in message_received message_id, async, name, args = self.decode(message) File "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/marshal.py", line 114, in pickle_server_decode return unpickler.load() # msgid, flags, name, args File "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/marshal.py", line 164, in server_find_global raise ImportError("import error %s: %s" % (module, msg)) ImportError: import error copy_reg: ------ 2018-06-07T21:14:55 ERROR 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/server.py", line 94, in message_received if message_id == -1: UnboundLocalError: local variable 'message_id' referenced before assignment ------ 2018-06-07T21:14:55 INFO ZEO.StorageServer (127.0.0.1:4545) disconnected ------ 2018-06-07T21:14:55 INFO ZEO.asyncio.base Connected server protocol ------ 2018-06-07T21:14:55 INFO ZEO.asyncio.server received handshake 'Z5' ------ 2018-06-07T21:14:55 INFO ZEO.StorageServer (127.0.0.1:4545) disconnected Please hit me up if you know how to fix theses errors! :) I'm using PyPy 5.9 and 5.10 for dev and Python 2.7.13 for production with Cython bindings! Cheers, Etienne

seems to me really similar to https://github.com/zopefoundation/ZEO/pull/96 try to upgrade to ZEO 5.1.2 mauro. Il Ven 8 Giu 2018, 03:29 Etienne Robillard <tkadm30@yandex.com> ha scritto:

Le 2018-06-08 à 02:25, Mauro Amico a écrit :
Hey man! Thanks for the heads up! Looks like I messed up again... :) That error was caused because my zodb database file was out of sync with the schema definition. peace, Etienne
-- Etienne Robillard tkadm30@yandex.com https://www.isotopesoftware.ca/

Le 2018-06-08 à 02:25, Mauro Amico a écrit :
Hey man! Thanks for the heads up! Looks like I messed up again... :) That error was caused because my zodb database file was out of sync with the schema definition. peace, Etienne
-- Etienne Robillard tkadm30@yandex.com https://www.isotopesoftware.ca/

seems to me really similar to https://github.com/zopefoundation/ZEO/pull/96 try to upgrade to ZEO 5.1.2 mauro. Il Ven 8 Giu 2018, 03:29 Etienne Robillard <tkadm30@yandex.com> ha scritto:

Le 2018-06-08 à 02:25, Mauro Amico a écrit :
Hey man! Thanks for the heads up! Looks like I messed up again... :) That error was caused because my zodb database file was out of sync with the schema definition. peace, Etienne
-- Etienne Robillard tkadm30@yandex.com https://www.isotopesoftware.ca/

Le 2018-06-08 à 02:25, Mauro Amico a écrit :
Hey man! Thanks for the heads up! Looks like I messed up again... :) That error was caused because my zodb database file was out of sync with the schema definition. peace, Etienne
-- Etienne Robillard tkadm30@yandex.com https://www.isotopesoftware.ca/
participants (2)
-
Etienne Robillard
-
Mauro Amico