使用脚本在服务器上配置SaaS时出现以下错误。
我尝试使用不同版本的oauthlib(旧版本和最新版本),但似乎都无法解决问题。 odoo版本-12.0
saas版本-12.0
Traceback (most recent call last):
File "saas.py", line 199, in main
rpc_init_server(args.get('server_db_name'))
File "saas.py", line 334, in rpc_init_server
oauth_provider = rpc_xmlid_to_object(auth, 'saas_server.saas_oauth_provider', 'auth.oauth.provider')
File "saas.py", line 401, in rpc_xmlid_to_object
read = rpc_execute_kw(auth, model, 'read', [res_id])
File "saas.py", line 297, in rpc_execute_kw
model, method, rpc_args, rpc_kwargs)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1092, in __call__
return self.__send(self.__name, args)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1432, in __request
verbose=self.__verbose
File "/usr/lib/python3.5/xmlrpc/client.py", line 1134, in request
return self.single_request(host, handler, request_body, verbose)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1150, in single_request
return self.parse_response(resp)
File "/usr/lib/python3.5/xmlrpc/client.py", line 1322, in parse_response
return u.close()
File "/usr/lib/python3.5/xmlrpc/client.py", line 655, in close
raise Fault(**self._stack[0])
xmlrpc.client.Fault: <Fault 2: "Object auth.oauth.provider doesn't exist">