{"id": 656959584, "node_id": "MDU6SXNzdWU2NTY5NTk1ODQ=", "number": 893, "title": "pip3 install datasette not serving static on linuxbrew.", "user": {"value": 44167, "label": "zodman"}, "state": "closed", "locked": 0, "assignee": null, "milestone": null, "comments": 1, "created_at": "2020-07-14T23:33:38Z", "updated_at": "2021-06-02T04:29:56Z", "closed_at": "2021-06-02T04:29:56Z", "author_association": "NONE", "pull_request": null, "body": "*This error wasn't thrown*\r\n\r\n```\r\nTraceback (most recent call last):\r\n File \"/home/linuxbrew/.linuxbrew/opt/python@3.8/lib/python3.8/site-packages/datasette/utils/asgi.py\", line 289, in inner_static\r\n full_path.relative_to(root_path)\r\n File \"/home/linuxbrew/.linuxbrew/opt/python@3.8/lib/python3.8/pathlib.py\", line 904, in relative_to\r\n raise ValueError(\"{!r} does not start with {!r}\"\r\nValueError: '/home/linuxbrew/.linuxbrew/lib/python3.8/site-packages/datasette/static/app.css' does not start with '/home/linuxbrew/.linuxbrew/opt/python@3.8/lib/python3.8/site-packages/datasette/static'\r\n```\r\n\r\nLinuxbrew install python@3.8 with symbolic links when You call the full_path.relative_to(root_path) throw ValueError. This happened when you install from pip3\r\n\r\nwhen you install with python3 setup.py develop , works good.\r\n\r\nWell at the end the static wasn't serving.\r\n", "repo": {"value": 107914493, "label": "datasette"}, "type": "issue", "active_lock_reason": null, "performed_via_github_app": null, "reactions": "{\"url\": \"https://api.github.com/repos/simonw/datasette/issues/893/reactions\", \"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "draft": null, "state_reason": "completed"}