You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to install saas_portal (v11), and get error message after i click install, before i already check that the dependency modules are installed, including external dependency oauthlib and requests.
here is the messages i copied from odoo install error popup:
Error:
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo11/odoo/http.py", line 651, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo11/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo11/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/odoo11/odoo/http.py", line 693, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo11/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo11/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo11/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo11/odoo/http.py", line 937, in call
return self.method(*args, **kw)
File "/opt/odoo11/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/odoo11/addons/web/controllers/main.py", line 938, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo11/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo11/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/opt/odoo11/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/opt/odoo11/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/opt/odoo11/odoo/addons/base/module/module.py", line 449, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/opt/odoo11/odoo/addons/base/module/module.py", line 543, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/opt/odoo11/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo11/odoo/modules/loading.py", line 380, in load_modules
loaded_modules, update_module, models_to_check)
File "/opt/odoo11/odoo/modules/loading.py", line 274, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/opt/odoo11/odoo/modules/loading.py", line 137, in load_module_graph
load_openerp_module(package.name)
File "/opt/odoo11/odoo/modules/module.py", line 368, in load_openerp_module import('odoo.addons.' + module_name)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in _load_backward_compatible
File "/opt/odoo11/odoo/modules/module.py", line 82, in load_module
exec(open(modfile, 'rb').read(), new_mod.dict)
File "", line 2, in
File "/opt/odoo11/custom-addons/used-addons/saas_portal/models/init.py", line 2, in
from . import saas_portal
File "/opt/odoo11/custom-addons/used-addons/saas_portal/models/saas_portal.py", line 291
trial=False, support_team_id=None, async=None):
^
SyntaxError: invalid syntax
What is causing this error actually, any missing dependancy required to install saas_portal?
Please help so i can correct this error. Thank you
Dear All,
I tried to install saas_portal (v11), and get error message after i click install, before i already check that the dependency modules are installed, including external dependency oauthlib and requests.
here is the messages i copied from odoo install error popup:
Error:
Odoo Server Error
Traceback (most recent call last):
File "/opt/odoo11/odoo/http.py", line 651, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo11/odoo/http.py", line 310, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo11/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/odoo11/odoo/http.py", line 693, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo11/odoo/http.py", line 342, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo11/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo11/odoo/http.py", line 335, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo11/odoo/http.py", line 937, in call
return self.method(*args, **kw)
File "/opt/odoo11/odoo/http.py", line 515, in response_wrap
response = f(*args, **kw)
File "/opt/odoo11/addons/web/controllers/main.py", line 938, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo11/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo11/odoo/api.py", line 689, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/opt/odoo11/odoo/api.py", line 680, in call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/opt/odoo11/odoo/addons/base/module/module.py", line 71, in check_and_log
return method(self, *args, **kwargs)
File "/opt/odoo11/odoo/addons/base/module/module.py", line 449, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/opt/odoo11/odoo/addons/base/module/module.py", line 543, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/opt/odoo11/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo11/odoo/modules/loading.py", line 380, in load_modules
loaded_modules, update_module, models_to_check)
File "/opt/odoo11/odoo/modules/loading.py", line 274, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/opt/odoo11/odoo/modules/loading.py", line 137, in load_module_graph
load_openerp_module(package.name)
File "/opt/odoo11/odoo/modules/module.py", line 368, in load_openerp_module
import('odoo.addons.' + module_name)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 668, in _load_unlocked
File "", line 638, in _load_backward_compatible
File "/opt/odoo11/odoo/modules/module.py", line 82, in load_module
exec(open(modfile, 'rb').read(), new_mod.dict)
File "", line 2, in
File "/opt/odoo11/custom-addons/used-addons/saas_portal/models/init.py", line 2, in
from . import saas_portal
File "/opt/odoo11/custom-addons/used-addons/saas_portal/models/saas_portal.py", line 291
trial=False, support_team_id=None, async=None):
^
SyntaxError: invalid syntax
What is causing this error actually, any missing dependancy required to install saas_portal?
Please help so i can correct this error. Thank you
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: