#201 Changing TZ results in 500 error
Closed: Fixed 11 months ago by pingou. Opened 11 months ago by ryanlerch.

First reported here:

https://pagure.io/fedora-infrastructure/issue/10040

Changing the timezone in the fedocal webui results in the following traceback:

Jun 21 13:00:05 fedocal.tinystage.test python[16662]: Traceback (most recent call last):
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:   File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2088, in __call__
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:     return self.wsgi_app(environ, start_response)
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:   File "/home/vagrant/fedocal/fedocal/proxy.py", line 66, in __call__
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:     return self.app(environ, start_response)
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:   File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2073, in wsgi_app
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:     response = self.handle_exception(e)
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:   File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 2070, in wsgi_app
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:     response = self.full_dispatch_request()
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:   File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1515, in full_dispatch_request
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:     rv = self.handle_user_exception(e)
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:   File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1513, in full_dispatch_request
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:     rv = self.dispatch_request()
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:   File "/usr/local/lib/python3.9/site-packages/flask/app.py", line 1499, in dispatch_request
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:     return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:   File "/home/vagrant/fedocal/fedocal/__init__.py", line 1700, in update_tz
Jun 21 13:00:05 fedocal.tinystage.test python[16662]:     urltmp = urllib.unquote(flask.request.referrer.split('?', 1)[0])

Login to comment on this ticket.

Metadata
Related Pull Requests
  • #202 Merged 11 months ago