Closed yohanboniface closed 7 years ago
[2017-05-11 15:13:27 +0200] [1823] [ERROR] Error handling request /search/?q=%3B&lat=47.18971246448421&lon=2.1093750000000004&limit=5 Traceback (most recent call last): File "/srv/addok/venv/lib/python3.4/site-packages/gunicorn/workers/sync.py", line 135, in handle self.handle_request(listener, req, client, addr) File "/srv/addok/venv/lib/python3.4/site-packages/gunicorn/workers/sync.py", line 176, in handle_request respiter = self.wsgi(environ, resp.start_response) File "/srv/addok/venv/lib/python3.4/site-packages/falcon/api.py", line 209, in __call__ responder(req, resp, **params) File "/srv/addok/venv/lib/python3.4/site-packages/addok/http/base.py", line 134, in on_get lat=lat, lon=lon, **filters) File "/srv/addok/venv/lib/python3.4/site-packages/addok/core.py", line 327, in search return helper(query, lat=lat, lon=lon, **filters) File "/srv/addok/venv/lib/python3.4/site-packages/addok/core.py", line 167, in __call__ if collector(self): File "/srv/addok/venv/lib/python3.4/site-packages/addok/autocomplete.py", line 46, in only_commons_but_geohash_try_autocomplete_collector autocomplete(helper, helper.tokens, use_geohash=True) File "/srv/addok/venv/lib/python3.4/site-packages/addok/autocomplete.py", line 81, in autocomplete helper.debug('Autocompleting %s', helper.last_token) AttributeError: 'Search' object has no attribute 'last_token'
Wrong repo, oooooopsy.