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

Timeout in degree 3 Maass form browse page #5846

Open
roed314 opened this issue Feb 2, 2024 · 4 comments
Open

Timeout in degree 3 Maass form browse page #5846

roed314 opened this issue Feb 2, 2024 · 4 comments
Labels
Maass Maass waveforms
Milestone

Comments

@roed314
Copy link
Contributor

roed314 commented Feb 2, 2024

We very frequently get the following error in the flasklog on www.lmfdb.org:

Exception on /L/degree3/MaassForm/ [GET]
Traceback (most recent call last):
  File "/home/sage/sage-10.1/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-10.1/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-10.1/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-10.1/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/lfunctions/main.py", line 840, in l_function_maass_gln_browse_page
    contents = LfunctionPlot.getAllMaassGraphHtml(degree)
  File "/home/lmfdb/lmfdb-git-web/lmfdb/lfunctions/LfunctionPlot.py", line 66, in getAllMaassGraphHtml
    ans += getOneGraphHtml([g, l])
  File "/home/lmfdb/lmfdb-git-web/lmfdb/lfunctions/LfunctionPlot.py", line 185, in getOneGraphHtml
    graphInfo = getGraphInfo(gls)
  File "/home/lmfdb/lmfdb-git-web/lmfdb/lfunctions/LfunctionPlot.py", line 203, in getGraphInfo
    (width, height) = getWidthAndHeight(gls)
  File "/home/lmfdb/lmfdb-git-web/lmfdb/lfunctions/LfunctionPlot.py", line 234, in getWidthAndHeight
    for origin in db.lfunc_lfunctions.search({'group': gls[0], 'conductor': gls[1]}, 'origin'):
  File "/home/lmfdb/lmfdb-git-web/lmfdb/backend/searchtable.py", line 541, in _search_iterator
    for rec in cur:
psycopg2.errors.QueryCanceled: canceling statement due to statement timeout

[2024-02-02 14:15:46 UTC] 500 error on URL https://www.lmfdb.org/L/degree3/MaassForm/ ()

It would be good to change the code so that it's not trying to search on lfunc_lfunctions, either by caching the result or at least switching to lfunc_search, which should be more optimized.

@edgarcosta
Copy link
Member

This doesn't even look okay to me: https://beta.lmfdb.org/L/degree3/MaassForm/

Should we redirect to: https://www.lmfdb.org/L/?degree=3&origin=MaassGL3 ?

@AndrewVSutherland
Copy link
Member

I'd like to know where this link is coming from (or is just a bot checking an old link?)

@davidfarmer
Copy link
Member

I noticed that the SVG was not rendering, but I forgot to submit an issue.

I occasionally go directly to that page.

@AndrewVSutherland AndrewVSutherland added the Maass Maass waveforms label Feb 10, 2024
@davidfarmer
Copy link
Member

On hold until #6236

@davidfarmer davidfarmer added this to the v1.4 milestone Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Maass Maass waveforms
Projects
None yet
Development

No branches or pull requests

4 participants