models.execute_kw(db, uid, password,'my.schedule.time','ws_get_class_info',['000000001','2021-01-26 08:37', False],{'rasie_exception':False})
I input some commands for xmlrpc and then input the command as above. But it appears the error message as below. Does someone know how to solve this problem?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "D:\Python27\lib\xmlrpclib.py", line 1243, in __call__
return self.__send(self.__name, args)
File "D:\Python27\lib\xmlrpclib.py", line 1602, in __request
verbose=self.__verbose
File "D:\Python27\lib\xmlrpclib.py", line 1283, in request
return self.single_request(host, handler, request_body, verbose)
File "D:\Python27\lib\xmlrpclib.py", line 1316, in single_request
return self.parse_response(response)
File "D:\Python27\lib\xmlrpclib.py", line 1493, in parse_response
return u.close()
File "D:\Python27\lib\xmlrpclib.py", line 800, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: <Fault 1: 'Traceback (most recent call last):\n File "/opt/odoo/openerp/service/wsgi_server.py", line 56, in xmlrpc_return\n result = openerp.http.dispatch_rpc(service, method, params)\n File "/opt/odoo/openerp/http.py", line 115, in dispatch_rpc\n result = dispatch(method, params)\n File "/opt/odoo/openerp/service/model.py", line 37, in dispatch\n res = fn(db, uid, *params)\n File "/opt/odoo/openerp/service/model.py", line 173, in execute_kw\n return execute(db, uid, obj, method, *args, **kw or {})\n File "/opt/odoo/openerp/service/model.py", line 118, in wrapper\n return f(dbname, *args, **kwargs)\n File "/opt/odoo/openerp/service/model.py", line 181, in execute\n res = execute_cr(cr, uid, obj, method, *args, **kw)\n File "/opt/odoo/openerp/service/model.py", line 170, in execute_cr\n return getattr(object, method)(cr, uid, *args, **kw)\n File "/opt/odoo/openerp/api.py", line 250, in wrapper\n return old_api(self, *args, **kwargs)\n File "/opt/odoo/openerp/api.py", line 353, in old_api\n recs = self.browse(cr, uid, [], context)\n File "/opt/odoo/openerp/api.py", line 250, in wrapper\n return old_api(self, *args, **kwargs)\n File "/opt/odoo/openerp/models.py", line 5402, in browse\n return self._browse(Environment(cr, uid, context or {}), ids)\n File "/opt/odoo/openerp/api.py", line 752, in __new__\n self.cr, self.uid, self.context = self.args = (cr, uid, frozendict(context))\nValueError: dictionary update sequence element #0 has length 1; 2 is required\n'>
About xml-rpc: https://learnopenerp.blogspot.com/search?q=xml-rpc