<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 2018-06-08 à 02:25, Mauro Amico a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CALH=kcjAK_Lf0pgS4U9V=jfj7FVJthBTEiRk6Haz_hwgVEVh4g@mail.gmail.com">
      <div dir="auto">
        <div>seems to me really similar to <a
            href="https://github.com/zopefoundation/ZEO/pull/96"
            moz-do-not-send="true">https://github.com/zopefoundation/ZEO/pull/96</a>
          try to upgrade to ZEO 5.1.2</div>
        <div dir="auto"><br>
        </div>
        <div dir="auto">mauro.<br>
        </div>
      </div>
    </blockquote>
    <br>
    Hey man!<br>
    <br>
    Thanks for the heads up! <br>
    <br>
    Looks like I messed up again... :)<br>
    <br>
    That error was caused because my zodb database file was out of sync
    with the schema definition.  <br>
    <br>
    peace,<br>
    <br>
    Etienne<br>
    <br>
    <blockquote type="cite"
cite="mid:CALH=kcjAK_Lf0pgS4U9V=jfj7FVJthBTEiRk6Haz_hwgVEVh4g@mail.gmail.com">
      <div dir="auto">
        <div dir="auto"><br>
          <div class="gmail_quote" dir="auto">
            <div dir="ltr">Il Ven 8 Giu 2018, 03:29 Etienne Robillard
              <<a href="mailto:tkadm30@yandex.com"
                moz-do-not-send="true">tkadm30@yandex.com</a>> ha
              scritto:<br>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">Yo
              people I'm doing a nightly hacking sprint for
              django-hotsauce on pypy <br>
              and got some cool bugs I would like to share:<br>
              <br>
              Traceback (most recent call last):<br>
                 File "/usr/local/bin/schevo", line 11, in
              <module><br>
                   load_entry_point('libschevo', 'console_scripts',
              'schevo')()<br>
                 File
              "/home/erob/src/libschevo/lib/schevo/script/command.py",
              line <br>
              32, in __call__<br>
                   return self.main(arg0, args)<br>
                 File
              "/home/erob/src/libschevo/lib/schevo/script/command.py",
              line <br>
              74, in main<br>
                   return command()(*args)<br>
                 File
              "/home/erob/src/libschevo/lib/schevo/script/command.py",
              line <br>
              32, in __call__<br>
                   return self.main(arg0, args)<br>
                 File
              "/home/erob/src/libschevo/lib/schevo/script/command.py",
              line <br>
              74, in main<br>
                   return command()(*args)<br>
                 File
              "/home/erob/src/libschevo/lib/schevo/script/command.py",
              line <br>
              32, in __call__<br>
                   return self.main(arg0, args)<br>
                 File
              "/home/erob/src/libschevo/lib/schevo/script/db_evolve.py",
              line <br>
              86, in main<br>
                   db = schevo.database.open(url)<br>
                 File "/home/erob/src/libschevo/lib/schevo/database.py",
              line 371, in open<br>
                   db = Database(backend)<br>
                 File
              "/home/erob/src/libschevo/lib/schevo/database2.py", line
              95, in <br>
              __init__<br>
                   self._update_extent_maps_by_name()<br>
                 File
              "/home/erob/src/libschevo/lib/schevo/database2.py", line
              1633, <br>
              in _update_extent_maps_by_name<br>
                   for extent in self._extent_maps_by_id.itervalues():<br>
                 File
              "/usr/local/lib/python2.7/dist-packages/ZODB/Connection.py",
              <br>
              line 791, in setstate<br>
                   p, serial = self._storage.load(oid)<br>
                 File
              "/usr/local/lib/python2.7/dist-packages/ZODB/mvccadapter.py",
              <br>
              line 143, in load<br>
                   r = self._storage.loadBefore(oid, self._start)<br>
                 File
              "/home/erob/work/ZEO-5.1.0/src/ZEO/ClientStorage.py", line
              520, <br>
              in loadBefore<br>
                   return self._server.load_before(oid, tid)<br>
                 File
              "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/client.py",
              line 783, <br>
              in load_before<br>
                   return
              self.__call(self.client.load_before_threadsafe, oid, tid)<br>
                 File
              "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/client.py",
              line 748, <br>
              in call<br>
                   return self.wait_for_result(result, self.timeout)<br>
                 File
              "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/client.py",
              line 756, <br>
              in wait_for_result<br>
                   return future.result(timeout)<br>
                 File <br>
"/usr/local/lib/python2.7/dist-packages/futures-3.0.5-py2.7.egg/concurrent/futures/_base.py",
              <br>
              line 405, in result<br>
                   return self.__get_result()<br>
                 File <br>
"/usr/local/lib/python2.7/dist-packages/futures-3.0.5-py2.7.egg/concurrent/futures/_base.py",
              <br>
              line 357, in __get_result<br>
                   raise type(self._exception), self._exception,
              self._traceback<br>
              ZEO.Exceptions.ClientDisconnected: connection lost<br>
              erob@marina:/home/www/<a
                href="http://isotopesoftware.ca/trunk$" rel="noreferrer
                noreferrer" target="_blank" moz-do-not-send="true">isotopesoftware.ca/trunk$</a><br>
              <br>
              <br>
              Not sure about this first one! :)<br>
              <br>
              The command I'm trying to run is:<br>
              <br>
              % schevo db evolve --app blogengine2 zodb://<a
                href="http://127.0.0.1:4545" rel="noreferrer noreferrer"
                target="_blank" moz-do-not-send="true">127.0.0.1:4545</a>
              31<br>
              <br>
              The ZODB 5.4.0 server then produce the following
              traceback:<br>
              <br>
              2018-06-07T21:14:55 INFO ZEO.asyncio.base Connected server
              protocol<br>
              ------<br>
              2018-06-07T21:14:55 INFO ZEO.asyncio.server received
              handshake 'Z5'<br>
              ------<br>
              2018-06-07T21:14:55 ERROR ZEO.asyncio.marshal can't decode
              message: <br>
'((ccopy_reg\n_reconstructor\n(czodbpickle\nbinary\nc__b...'<br>
              ------<br>
              2018-06-07T21:14:55 ERROR ZEO.asyncio.server Can't
              deserialize message<br>
              Traceback (most recent call last):<br>
                 File
              "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/server.py",
              line 89, <br>
              in message_received<br>
                   message_id, async, name, args = self.decode(message)<br>
                 File
              "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/marshal.py",
              line <br>
              114, in pickle_server_decode<br>
                   return unpickler.load() # msgid, flags, name, args<br>
                 File
              "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/marshal.py",
              line <br>
              164, in server_find_global<br>
                   raise ImportError("import error %s: %s" % (module,
              msg))<br>
              ImportError: import error copy_reg:<br>
              ------<br>
              2018-06-07T21:14:55 ERROR ZEO.asyncio.base data_received 4
              0 True<br>
              Traceback (most recent call last):<br>
                 File
              "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/base.py", line
              128, <br>
              in data_received<br>
                   self.message_received(collected)<br>
                 File
              "/home/erob/work/ZEO-5.1.0/src/ZEO/asyncio/server.py",
              line 94, <br>
              in message_received<br>
                   if message_id == -1:<br>
              UnboundLocalError: local variable 'message_id' referenced
              before assignment<br>
              ------<br>
              2018-06-07T21:14:55 INFO ZEO.StorageServer (<a
                href="http://127.0.0.1:4545" rel="noreferrer noreferrer"
                target="_blank" moz-do-not-send="true">127.0.0.1:4545</a>)
              disconnected<br>
              ------<br>
              2018-06-07T21:14:55 INFO ZEO.asyncio.base Connected server
              protocol<br>
              ------<br>
              2018-06-07T21:14:55 INFO ZEO.asyncio.server received
              handshake 'Z5'<br>
              ------<br>
              2018-06-07T21:14:55 INFO ZEO.StorageServer (<a
                href="http://127.0.0.1:4545" rel="noreferrer noreferrer"
                target="_blank" moz-do-not-send="true">127.0.0.1:4545</a>)
              disconnected<br>
              <br>
              Please hit me up if you know how to fix theses errors! :)<br>
              <br>
              I'm using PyPy 5.9 and 5.10 for dev and Python 2.7.13 for
              production <br>
              with Cython bindings!<br>
              <br>
              <br>
              Cheers,<br>
              <br>
              Etienne<br>
              <br>
              <br>
              <br>
              -- <br>
              You received this message because you are subscribed to
              the Google Groups "zodb" group.<br>
              To unsubscribe from this group and stop receiving emails
              from it, send an email to <a
                href="mailto:zodb%2Bunsubscribe@googlegroups.com"
                target="_blank" rel="noreferrer" moz-do-not-send="true">zodb+unsubscribe@googlegroups.com</a>.<br>
              For more options, visit <a
                href="https://groups.google.com/d/optout"
                rel="noreferrer noreferrer" target="_blank"
                moz-do-not-send="true">https://groups.google.com/d/optout</a>.<br>
            </blockquote>
          </div>
        </div>
      </div>
      -- <br>
      You received this message because you are subscribed to the Google
      Groups "zodb" group.<br>
      To unsubscribe from this group and stop receiving emails from it,
      send an email to <a
        href="mailto:zodb+unsubscribe@googlegroups.com"
        moz-do-not-send="true">zodb+unsubscribe@googlegroups.com</a>.<br>
      For more options, visit <a
        href="https://groups.google.com/d/optout" moz-do-not-send="true">https://groups.google.com/d/optout</a>.<br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Etienne Robillard
<a class="moz-txt-link-abbreviated" href="mailto:tkadm30@yandex.com">tkadm30@yandex.com</a>
<a class="moz-txt-link-freetext" href="https://www.isotopesoftware.ca/">https://www.isotopesoftware.ca/</a></pre>
  </body>
</html>