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

fixing a redirect #6293

Merged
merged 1 commit into from
Dec 9, 2024
Merged

fixing a redirect #6293

merged 1 commit into from
Dec 9, 2024

Conversation

edgarcosta
Copy link
Member

Exception on /Variety/Abelian/Fq/3.2.acad [GET]
Traceback (most recent call last):
  File "/home/sage/sage-9.7/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/flask/app.py", line 2073, in wsgi_app
    response = self.full_dispatch_request()
  File "/home/sage/sage-9.7/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/flask/app.py", line 1519, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/home/sage/sage-9.7/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/flask/app.py", line 1517, in full_dispatch_request
    rv = self.dispatch_request()
  File "/home/sage/sage-9.7/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/flask/app.py", line 1503, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/home/lmfdb/lmfdb-git-web/lmfdb/abvar/fq/main.py", line 805, in by_label
    return redirect(url_for_label(label))
  File "/home/sage/sage-9.7/local/var/lib/sage/venv-python3.10/lib/python3.10/site-packages/werkzeug/utils.py", line 269, in redirect
    display_location = html.escape(location)
  File "/usr/lib/python3.10/html/__init__.py", line 19, in escape
    s = s.replace("&", "&") # Must be done first!
AttributeError: 'Response' object has no attribute 'replace'
[2024-12-09 00:24:15 UTC] 500 error on URL https://www.lmfdb.org/Variety/Abelian/Fq/3.2.acad ()

@roed314
Copy link
Contributor

roed314 commented Dec 9, 2024

Thanks! These errors were bugging me too.

@roed314 roed314 merged commit 7e28859 into LMFDB:main Dec 9, 2024
13 checks passed
@roed314 roed314 mentioned this pull request Dec 10, 2024
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

Successfully merging this pull request may close these issues.

2 participants