This question has been flagged
2099 Views

Facing issues over SAAS.

Trying to access: price_get method from product.pricelist.

 

xmlrpcresp Object ( [val] => 0 [valtyp] => [errno] => -1 [errstr] => Traceback (most recent call last): File "/home/odoo/src/odoo/saas-3/openerp/service/wsgi_server.py", line 76, in xmlrpc_return response = xmlrpclib.dumps((result,), methodresponse=1, allow_none=False, encoding=None) File "/usr/lib/python2.7/xmlrpclib.py", line 1085, in dumps data = m.dumps(params) File "/usr/lib/python2.7/xmlrpclib.py", line 632, in dumps dump(v, write) File "/usr/lib/python2.7/xmlrpclib.py", line 654, in __dump f(self, value, write) File "/usr/lib/python2.7/xmlrpclib.py", line 733, in dump_struct raise TypeError, "dictionary key must be string" TypeError: dictionary key must be string [payload] => [hdrs] => Array ( [server] => nginx/1.4.7 [date] => Fri, 04 Jul 2014 11:13:34 GMT [content-type] => text/xml [content-length] => 929 [connection] => keep-alive ) [_cookies] => Array ( ) [content_type] => text/xml [raw_data] => HTTP/1.1 200 OK Server: nginx/1.4.7 Date: Fri, 04 Jul 2014 11:13:34 GMT Content-Type: text/xml Content-Length: 929 Connection: keep-alive

Even below some seems like fix,

https://code.launchpad.net/~yann-papouin/ocb-server/7.0-bug-1030795-xmlrpclib-dictkeys-hook/+merge/196519

As link suggest to good fix, then why the hell till on SAAS its in dump_struct raise TypeError, "dictionary key must be string"

 

How to fix it ?

 

Avatar
Discard