Il Ven 8 Giu 2018, 03:29 Etienne Robillard <tkad...@yandex.com
<mailto:tkad...@yandex.com>> ha scritto:
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$
<http://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
<http://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
<http://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
<http://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
--
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 zodb+unsubscr...@googlegroups.com
<mailto:zodb%2bunsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.
--
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 zodb+unsubscr...@googlegroups.com
<mailto:zodb+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.