Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

smile_perf_analyzer wont install #94

Open
ffviivince10 opened this issue Oct 20, 2020 · 0 comments
Open

smile_perf_analyzer wont install #94

ffviivince10 opened this issue Oct 20, 2020 · 0 comments

Comments

@ffviivince10
Copy link

Error:
Odoo Server Error

Traceback (most recent call last):
File "/opt/odoo11new/odoo/http.py", line 653, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo11new/odoo/http.py", line 312, in _handle_exception
raise pycompat.reraise(type(exception), exception, sys.exc_info()[2])
File "/opt/odoo11new/odoo/tools/pycompat.py", line 87, in reraise
raise value
File "/opt/odoo11new/odoo/http.py", line 695, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo11new/odoo/http.py", line 344, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo11new/odoo/service/model.py", line 97, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo11new/odoo/http.py", line 337, in checked_call
result = self.endpoint(*a, **kw)
File "/opt/odoo11new/custom/addons_2/matrix-staging/smile_perf_analyzer/models/http.py", line 25, in call
res = profile(native_call)(self, *args, **kwargs)
File "/opt/odoo11new/custom/addons_2/matrix-staging/smile_perf_analyzer/tools/decorators.py", line 26, in wrapper
return func(*args, **kwargs)
File "/opt/odoo11new/odoo/http.py", line 939, in call
return self.method(*args, **kw)
File "/opt/odoo11new/odoo/http.py", line 517, in response_wrap
response = f(*args, **kw)
File "/opt/odoo11new/addons/web/controllers/main.py", line 938, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo11new/addons/web/controllers/main.py", line 926, in _call_kw
return call_kw(request.env[model], method, args, kwargs)
File "/opt/odoo11new/odoo/api.py", line 699, in call_kw
return call_kw_multi(method, model, args, kwargs)
File "/opt/odoo11new/odoo/api.py", line 690, in call_kw_multi
result = method(recs, *args, **kwargs)
File "", line 2, in button_immediate_install
File "/opt/odoo11new/odoo/addons/base/module/module.py", line 72, in check_and_log
return method(self, *args, **kwargs)
File "/opt/odoo11new/odoo/addons/base/module/module.py", line 450, in button_immediate_install
return self._button_immediate_function(type(self).button_install)
File "/opt/odoo11new/odoo/addons/base/module/module.py", line 552, in _button_immediate_function
modules.registry.Registry.new(self._cr.dbname, update_module=True)
File "/opt/odoo11new/odoo/modules/registry.py", line 85, in new
odoo.modules.load_modules(registry._db, force_demo, status, update_module)
File "/opt/odoo11new/odoo/modules/loading.py", line 380, in load_modules
loaded_modules, update_module, models_to_check)
File "/opt/odoo11new/odoo/modules/loading.py", line 274, in load_marked_modules
perform_checks=perform_checks, models_to_check=models_to_check
File "/opt/odoo11new/odoo/modules/loading.py", line 153, in load_module_graph
registry.init_models(cr, model_names, {'module': package.name})
File "/opt/odoo11new/odoo/modules/registry.py", line 310, in init_models
model.init()
File "/opt/odoo11new/custom/addons_2/matrix-staging/smile_perf_analyzer/models/perf_log.py", line 149, in init
% db_user)
File "/opt/odoo11new/custom/addons_2/matrix-staging/smile_perf_analyzer/tools/decorators.py", line 45, in wrapper
return func(self, query, params, log_exceptions)
File "/opt/odoo11new/odoo/sql_db.py", line 155, in wrapper
return f(self, *args, **kwargs)
File "/opt/odoo11new/odoo/sql_db.py", line 232, in execute
res = self._obj.execute(query, params)
psycopg2.ProgrammingError: syntax error at or near "False"
LINE 1: DROP USER MAPPING IF EXISTS FOR False SERVER perf_server
^

Getting this error when trying to install. I have the dependencies already installed when attempting install.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant