On 24/10/10 20:21 +0200, Paul J Stevens wrote:
> 
> Cédric,
> 
> I'm testing SAO and get below traceback on login. Looks like a
> Transaction refactoring issue. Is this difficult to fix? In either sao
> or jsonrpc.py?
> 
> 
> 
> None:
> Traceback (most recent call last):
>   File "/trytond/protocols/jsonrpc.py", line 92, in _marshaled_dispatch
>     response['result'] = dispatch_method(method, params)
>   File "/trytond/protocols/jsonrpc.py", line 128, in _dispatch
>     res = dispatch(*args)
>   File "/trytond/protocols/dispatcher.py", line 132, in dispatch
>     if '_timestamp' in context:
> TypeError: argument of type 'NoneType' is not iterable

This is because since 1.7, the context must be appended as last value of any
rpc call.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: cedric.kr...@b2ck.com
Website: http://www.b2ck.com/

Attachment: pgp0IjL9Yfovb.pgp
Description: PGP signature

Reply via email to