{"html_url": "https://github.com/simonw/datasette/issues/1849#issuecomment-1292654852", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1849", "id": 1292654852, "node_id": "IC_kwDOBm6k_c5NDFkE", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-26T21:08:44Z", "updated_at": "2022-10-26T21:08:44Z", "author_association": "OWNER", "body": "Generally though we should expect that people might try to use `render_template(...)` without passing a `request`, so Datasette core should be able to handle this.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1420174670, "label": "NoneType' object has no attribute 'actor'"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1849#issuecomment-1292654522", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1849", "id": 1292654522, "node_id": "IC_kwDOBm6k_c5NDFe6", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-26T21:08:20Z", "updated_at": "2022-10-26T21:08:20Z", "author_association": "OWNER", "body": "From the stack trace in Sentry:\r\n\r\n\"image\"\r\n\r\nSo this happened because a custom plugin tried to render `forbidden.html` without passing in the `request`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1420174670, "label": "NoneType' object has no attribute 'actor'"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1849#issuecomment-1292653219", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1849", "id": 1292653219, "node_id": "IC_kwDOBm6k_c5NDFKj", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-26T21:06:56Z", "updated_at": "2022-10-26T21:06:56Z", "author_association": "OWNER", "body": "This was a hit to an authenticated page where the incoming user WAS logged in but did not have permission to view that specific page.\r\n\r\nCode in question: https://github.com/simonw/datasette/blob/c7dd76c26257ded5bcdfd0570e12412531b8b88f/datasette/app.py#L634-L640", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1420174670, "label": "NoneType' object has no attribute 'actor'"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1849#issuecomment-1288384907", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1849", "id": 1288384907, "node_id": "IC_kwDOBm6k_c5MyzGL", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-24T04:04:02Z", "updated_at": "2022-10-24T04:04:02Z", "author_association": "OWNER", "body": "Refs:\r\n- #1831 ", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1420174670, "label": "NoneType' object has no attribute 'actor'"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1849#issuecomment-1288384098", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1849", "id": 1288384098, "node_id": "IC_kwDOBm6k_c5Myy5i", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-10-24T04:03:09Z", "updated_at": "2022-10-24T04:03:09Z", "author_association": "OWNER", "body": "Looks like the new breadcrumbs code can't handle the case where `request` is `None`.\r\n\r\nNeed a test that demonstrates this too.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1420174670, "label": "NoneType' object has no attribute 'actor'"}, "performed_via_github_app": null}