OCA / search-engine

GNU Affero General Public License v3.0
46 stars 61 forks source link

AttributeError: 'elasticsearch.adapter' object has no attribute 'settings' #52

Closed emyllymaki closed 2 years ago

emyllymaki commented 4 years ago

It looks like connector_elasticsearch has fallen out of step with connector_search_engine (and connector_algolia). Before I try bring it up to date is there anything I might need to know? Thanks.

` Error: Odoo Server Error

Traceback (most recent call last): File "/odoo/lib/python3.5/site-packages/odoo/http.py", line 656, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/odoo/lib/python3.5/site-packages/odoo/http.py", line 314, in _handle_exception raise pycompat.reraise(type(exception), exception, sys.exc_info()[2]) File "/odoo/lib/python3.5/site-packages/odoo/tools/pycompat.py", line 87, in reraise raise value File "/odoo/lib/python3.5/site-packages/odoo/http.py", line 698, in dispatch result = self._call_function(self.params) File "/odoo/lib/python3.5/site-packages/odoo/http.py", line 346, in _call_function return checked_call(self.db, *args, *kwargs) File "/odoo/lib/python3.5/site-packages/odoo/service/model.py", line 98, in wrapper return f(dbname, args, kwargs) File "/odoo/lib/python3.5/site-packages/odoo/http.py", line 339, in checked_call result = self.endpoint(*a, kw) File "/odoo/lib/python3.5/site-packages/odoo/http.py", line 941, in call return self.method(*args, *kw) File "/odoo/lib/python3.5/site-packages/odoo/http.py", line 519, in response_wrap response = f(args, kw) File "/odoo/lib/python3.5/site-packages/odoo/addons/web/controllers/main.py", line 966, in call_button action = self._call_kw(model, method, args, {}) File "/odoo/lib/python3.5/site-packages/odoo/addons/web/controllers/main.py", line 954, in _call_kw return call_kw(request.env[model], method, args, kwargs) File "/odoo/lib/python3.5/site-packages/odoo/api.py", line 759, in call_kw return _call_kw_multi(method, model, args, kwargs) File "/odoo/lib/python3.5/site-packages/odoo/api.py", line 746, in _call_kw_multi result = method(recs, *args, **kwargs) File "/odoo/lib/python3.5/site-packages/odoo/addons/shopinvader_search_engine/models/shopinvader_backend.py", line 74, in export_index_settings self.mapped("se_backend_id.index_ids").export_settings() File "/odoo/lib/python3.5/site-packages/odoo/addons/connector_search_engine/models/se_index.py", line 172, in export_settings exporter.export_settings() File "/odoo/lib/python3.5/site-packages/odoo/addons/connector_search_engine/components/exporter.py", line 35, in export_settings return self.backend_adapter.settings(force=force) AttributeError: 'elasticsearch.adapter' object has no attribute 'settings'`

Error: Odoo Server Error

github-actions[bot] commented 3 years ago

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.