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

500 Error with dss_crawl and a few other tables after installing #53

Open
unbracketed opened this issue Apr 23, 2024 · 0 comments
Open

Comments

@unbracketed
Copy link

unbracketed commented Apr 23, 2024

I installed datasette-scraper, updated metadata.json and started datasette as root. When I try to view dss_crawl and a few others I see errors like

  File "/Users/brian/code/exploration/datasette/datasette/.venv/lib/python3.12/site-packages/datasette/app.py", line 1668, in route_path
    response = await view(request, send)
               ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/brian/code/exploration/datasette/datasette/.venv/lib/python3.12/site-packages/datasette/app.py", line 1861, in async_view_fn
    response = await async_call_with_supported_arguments(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/brian/code/exploration/datasette/datasette/.venv/lib/python3.12/site-packages/datasette/utils/__init__.py", line 1021, in async_call_with_supported_arguments
    return await fn(*call_with)
           ^^^^^^^^^^^^^^^^^^^^
  File "/Users/brian/code/exploration/datasette/datasette/.venv/lib/python3.12/site-packages/datasette/views/table.py", line 747, in table_view
    response = await table_view_traced(datasette, request)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/brian/code/exploration/datasette/datasette/.venv/lib/python3.12/site-packages/datasette/views/table.py", line 897, in table_view_traced
    await datasette.render_template(
  File "/Users/brian/code/exploration/datasette/datasette/.venv/lib/python3.12/site-packages/datasette/app.py", line 1352, in render_template
    return await template.render_async(template_context)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/brian/code/exploration/datasette/datasette/.venv/lib/python3.12/site-packages/jinja2/environment.py", line 1324, in render_async
    return self.environment.handle_exception()
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/brian/code/exploration/datasette/datasette/.venv/lib/python3.12/site-packages/jinja2/environment.py", line 936, in handle_exception
    raise rewrite_traceback_stack(source=source)
  File "table-dss_crawl.html", line 1, in top-level template code
  File "/Users/brian/code/exploration/datasette/datasette/.venv/lib/python3.12/site-packages/datasette/templates/base.html", line 62, in top-level template code
    {% block content %}
  File "table-dss_crawl.html", line 36, in block 'content'
TypeError: 'str' object is not callable
datasette --version
datasette, version 1.0a13
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

No branches or pull requests

1 participant