[ZODB-Dev] Problem with large transactions combined with authentication mode

Christian Robottom Reis kiko at async.com.br
Tue Dec 16 12:10:55 EST 2003


On Sat, Nov 29, 2003 at 02:09:42PM +0100, Per Sigmond wrote:
> The error I get on the server:
> 
> 2003-11-29T14:02:30 ERROR(200) zrpc:4398 can't decode message: 
> '{<a\x85tP\xfa\xbe\x17\x84\x08\xa5[V[\xb1(\x0b\x05\xac(K...'
> ------
> 2003-11-29T14:02:30 ERROR(200) zrpc-conn:127.0.0.1:33068 Error caught in 
> asyncore
> Traceback (most recent call last):
>   File 
> "/home/per/zodb/ZODB3-3.2/build/lib.linux-i686-2.2/ThreadedAsync/LoopCallback.py", 
> line 120, in poll
>     obj.handle_read_event()
>   File "/usr/lib/python2.2/asyncore.py", line 397, in handle_read_event
>     self.handle_read()
>   File "/home/per/zodb/ZODB3-3.2/build/lib.linux-i686-2.2/ZEO/zrpc/smac.py", 
> line 211, in handle_read
>     self.message_input(msg)
>   File 
> "/home/per/zodb/ZODB3-3.2/build/lib.linux-i686-2.2/ZEO/zrpc/connection.py", 
> line 230, in message_input
>     msgid, flags, name, args = self.marshal.decode(message)
>   File 
> "/home/per/zodb/ZODB3-3.2/build/lib.linux-i686-2.2/ZEO/zrpc/marshal.py", line 
> 39, in decode
>     return unpickler.load() # msgid, flags, name, args
> UnpicklingError: invalid load key, '{'.

Here's what I get:

2003-12-16T15:05:45 ERROR(200) zrpc:15875 can't decode message:
"n\xf9(|\x8fwK\x8bGF\xf1\x99\xb1\t
\xe0\xf3\x9e\xd3\xcb\x..."
------
2003-12-16T15:05:45 ERROR(200) zrpc-conn:127.0.0.1:50990 Error caught in
asyncore
Traceback (most recent call last):
  File
"/mondo/local/lib/python2.3/site-packages/ThreadedAsync/LoopCallback.py",
line 120, in poll
    obj.handle_read_event()
  File "/mondo/local//lib/python2.3/asyncore.py", line 387, in
handle_read_event
    self.handle_read()
  File "/mondo/local/lib/python2.3/site-packages/ZEO/zrpc/smac.py", line
211, in handle_read
    self.message_input(msg)
  File
"/mondo/local/lib/python2.3/site-packages/ZEO/zrpc/connection.py", line
230, in message_inp
ut
    msgid, flags, name, args = self.marshal.decode(message)
  File "/mondo/local/lib/python2.3/site-packages/ZEO/zrpc/marshal.py",
line 39, in decode
    return unpickler.load() # msgid, flags, name, args
UnpicklingError: invalid load key, 'n'.

Which... well, seems to be what you're getting. The load key causing the
UnpicklingError varies over runs. Back to the code!

Take care,
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331



More information about the ZODB-Dev mailing list