Skip to Content
Menu
This question has been flagged
1 Reply
3293 Views

Hi,

I have a local Odoo enviremont. When I go to the settings, Settings, General I get a error message. Can anyone help me to the solution?


Odoo Server Error

Traceback (most recent call last):

File "/opt/odoo/odoo-server/openerp/http.py", line 525, in _handle_exception

return super(JsonRequest, self)._handle_exception(exception)

File "/opt/odoo/odoo-server/openerp/http.py", line 562, in dispatch

result = self._call_function(**self.params)

File "/opt/odoo/odoo-server/openerp/http.py", line 302, in _call_function

return checked_call(self.db, *args, **kwargs)

File "/opt/odoo/odoo-server/openerp/service/model.py", line 113, in wrapper

return f(dbname, *args, **kwargs)

File "/opt/odoo/odoo-server/openerp/http.py", line 299, in checked_call

return self.endpoint(*a, **kw)

File "/opt/odoo/odoo-server/openerp/http.py", line 791, in __call__

return self.method(*args, **kw)

File "/opt/odoo/odoo-server/openerp/http.py", line 395, in response_wrap

response = f(*args, **kw)

File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 949, in call_kw

return self._call_kw(model, method, args, kwargs)

File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 941, in _call_kw

return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo-server/addons/auth_oauth/res_config.py", line 39, in default_get

res.update(self.get_oauth_providers(cr, uid, fields, context=context))

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo-server/addons/auth_oauth/res_config.py", line 44, in get_oauth_providers

facebook_id = self.pool.get('ir.model.data').get_object_reference(cr, uid, 'auth_oauth', 'provider_facebook')[1]

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 966, in get_object_reference

return self.xmlid_lookup(cr, uid, "%s.%s" % (module, xml_id))[1:3]

File "/opt/odoo/odoo-server/openerp/api.py", line 241, in wrapper

return old_api(self, *args, **kwargs)

File "<string>", line 2, in xmlid_lookup

File "/opt/odoo/odoo-server/openerp/tools/cache.py", line 71, in lookup

value = d[key] = self.method(*args, **kwargs)

File "/opt/odoo/odoo-server/openerp/addons/base/ir/ir_model.py", line 924, in xmlid_lookup

raise ValueError('External ID not found in the system: %s' % (xmlid))

ValueError: External ID not found in the system: auth_oauth.provider_facebook

t.

Avatar
Discard
Best Answer

Hi tom,

Its may be happen due to 'provider_facebook' is removed from addons/auth_oauth/auth_oauth_data.xml file.

So, in addons/auth_oauth/res_config.py file just comment that code which is related to facebook.

hope this will help you.

Avatar
Discard
Related Posts Replies Views Activity
2
Jul 23
1220
5
Feb 20
8020
1
Dec 19
4945
4
Mar 24
298
0
Feb 24
189