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,
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 ?
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 7/4/14, 7:19 AM|
|Seen: 534 times|
|Last updated: 3/16/15, 8:10 AM|