Hello,
I have setup odoo-saas by following :
https://github.com/yelizariev/odoo-saas-tools
When I try to Sing Up it is showing me : 500: Internal Server Error.
Trace back :
(1) Traceback (most recent call last):
File "/home/bipin/workspace/odoo-saas-tools/saas_server/controllers/main.py", line 25, in wrap
return f(*args, **kw)
File "/home/bipin/workspace/odoo-saas-tools/saas_server/controllers/main.py", line 56, in new_database
saas_portal_user = request.registry['res.users']._auth_oauth_rpc(request.cr, SUPERUSER_ID, saas_oauth_provider.validation_endpoint, access_token)
File "/home/bipin/workspace/9.0/openerp/api.py", line 250, in wrapper
return old_api(self, *args, **kwargs)
File "/home/bipin/workspace/9.0/addons/auth_oauth/res_users.py", line 39, in _auth_oauth_rpc
f = urllib2.urlopen(url)
File "/usr/lib/python2.7/urllib2.py", line 127, in urlopen
return _opener.open(url, data, timeout)
File "/usr/lib/python2.7/urllib2.py", line 404, in open
response = self._open(req, data)
File "/usr/lib/python2.7/urllib2.py", line 422, in _open
'_open', req)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 1214, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "/usr/lib/python2.7/urllib2.py", line 1184, in do_open
raise URLError(err)
URLError: <urlopen error [Errno -2] Name or service not known>
(2) Traceback (most recent call last):
File "/home/bipin/workspace/9.0/addons/website/models/ir_http.py", line 243, in _handle_exception
response = super(ir_http, self)._handle_exception(exception)
File "/home/bipin/workspace/9.0/openerp/addons/base/ir/ir_http.py", line 157, in _handle_exception
return request._handle_exception(exception)
File "/home/bipin/workspace/9.0/openerp/http.py", line 781, in _handle_exception
return super(HttpRequest, self)._handle_exception(exception)
File "/home/bipin/workspace/9.0/openerp/addons/base/ir/ir_http.py", line 182, in _dispatch
result = request.dispatch()
File "/home/bipin/workspace/9.0/openerp/http.py", line 840, in dispatch
r = self._call_function(**self.params)
File "/home/bipin/workspace/9.0/openerp/http.py", line 316, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/home/bipin/workspace/9.0/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/home/bipin/workspace/9.0/openerp/http.py", line 309, in checked_call
result = self.endpoint(*a, **kw)
File "/home/bipin/workspace/9.0/openerp/http.py", line 959, in __call__
return self.method(*args, **kw)
File "/home/bipin/workspace/9.0/openerp/http.py", line 509, in response_wrap
response = f(*args, **kw)
File "/home/bipin/workspace/odoo-saas-tools/saas_portal_sale/controllers/main.py", line 27, in add_new_client
return super(SaasPortalSale, self).add_new_client(**post)
File "/home/bipin/workspace/9.0/openerp/http.py", line 509, in response_wrap
response = f(*args, **kw)
File "/home/bipin/workspace/odoo-saas-tools/saas_portal/controllers/main.py", line 37, in add_new_client
res = plan.create_new_database(dbname=dbname, user_id=user_id, partner_id=partner_id)
File "/home/bipin/workspace/9.0/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/home/bipin/workspace/odoo-saas-tools/saas_portal/models/saas_portal.py", line 204, in create_new_database
return self._create_new_database(**kwargs)
File "/home/bipin/workspace/9.0/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/home/bipin/workspace/odoo-saas-tools/saas_portal_sale/models/saas_portal.py", line 23, in _create_new_database
async=async)
File "/home/bipin/workspace/9.0/openerp/api.py", line 248, in wrapper
return new_api(self, *args, **kwargs)
File "/home/bipin/workspace/odoo-saas-tools/saas_portal/models/saas_portal.py", line 302, in _create_new_database
raise exceptions.Warning('Error %s' % res.status_code)
UserError: ('Error 500', None)
I don't know why status code 500 ?
Many Thanks For Help & Support