Closed elinguiuriel closed 4 years ago
After pushing #99 to production it turns out that there are some issues to be resolved
Look here to see my comment
This is the error generated by that bad formatted translation
2020-08-07T22:21:01.040797+00:00 app[web.1]: Traceback (most recent call last): 2020-08-07T22:21:01.040797+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base_async.py", line 55, in handle 2020-08-07T22:21:01.040798+00:00 app[web.1]: self.handle_request(listener_name, req, client, addr) 2020-08-07T22:21:01.040798+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/ggevent.py", line 143, in handle_request 2020-08-07T22:21:01.040799+00:00 app[web.1]: super().handle_request(listener_name, req, sock, addr) 2020-08-07T22:21:01.040799+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/gunicorn/workers/base_async.py", line 106, in handle_request 2020-08-07T22:21:01.040799+00:00 app[web.1]: respiter = self.wsgi(environ, resp.start_response) 2020-08-07T22:21:01.040800+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2464, in __call__ 2020-08-07T22:21:01.040800+00:00 app[web.1]: return self.wsgi_app(environ, start_response) 2020-08-07T22:21:01.040800+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2450, in wsgi_app 2020-08-07T22:21:01.040800+00:00 app[web.1]: response = self.handle_exception(e) 2020-08-07T22:21:01.040801+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1867, in handle_exception 2020-08-07T22:21:01.040801+00:00 app[web.1]: reraise(exc_type, exc_value, tb) 2020-08-07T22:21:01.040801+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise 2020-08-07T22:21:01.040802+00:00 app[web.1]: raise value 2020-08-07T22:21:01.040802+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app 2020-08-07T22:21:01.040802+00:00 app[web.1]: response = self.full_dispatch_request() 2020-08-07T22:21:01.040803+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request 2020-08-07T22:21:01.040803+00:00 app[web.1]: rv = self.handle_user_exception(e) 2020-08-07T22:21:01.040803+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception 2020-08-07T22:21:01.040804+00:00 app[web.1]: reraise(exc_type, exc_value, tb) 2020-08-07T22:21:01.040804+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise 2020-08-07T22:21:01.040804+00:00 app[web.1]: raise value 2020-08-07T22:21:01.040804+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request 2020-08-07T22:21:01.040804+00:00 app[web.1]: rv = self.dispatch_request() 2020-08-07T22:21:01.040805+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request 2020-08-07T22:21:01.040817+00:00 app[web.1]: return self.view_functions[rule.endpoint](**req.view_args) 2020-08-07T22:21:01.040817+00:00 app[web.1]: File "/app/services/messenger.py", line 975, in webhook 2020-08-07T22:21:01.040817+00:00 app[web.1]: messenger.handle(message) 2020-08-07T22:21:01.040817+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/fbmessenger/__init__.py", line 287, in handle 2020-08-07T22:21:01.040818+00:00 app[web.1]: return self.postback(message) 2020-08-07T22:21:01.040818+00:00 app[web.1]: File "/app/services/messenger.py", line 929, in postback 2020-08-07T22:21:01.040818+00:00 app[web.1]: process_postback(self, payload) 2020-08-07T22:21:01.040818+00:00 app[web.1]: File "/app/services/messenger.py", line 187, in process_postback 2020-08-07T22:21:01.040819+00:00 app[web.1]: send_start_messages(messenger) 2020-08-07T22:21:01.040819+00:00 app[web.1]: File "/app/services/messenger.py", line 78, in send_start_messages 2020-08-07T22:21:01.040819+00:00 app[web.1]: **user 2020-08-07T22:21:01.040819+00:00 app[web.1]: File "/usr/local/lib/python3.7/site-packages/flask_babel/__init__.py", line 552, in gettext 2020-08-07T22:21:01.040820+00:00 app[web.1]: return s if not variables else s % variables 2020-08-07T22:21:01.040820+00:00 app[web.1]: ValueError: unsupported format character '(' (0x28) at index 11
Describe the bug
After pushing #99 to production it turns out that there are some issues to be resolved
Look here to see my comment
This is the error generated by that bad formatted translation