html_url,issue_url,id,node_id,user,user_label,created_at,updated_at,author_association,body,reactions,issue,issue_label,performed_via_github_app https://github.com/simonw/datasette/issues/697#issuecomment-596261835,https://api.github.com/repos/simonw/datasette/issues/697,596261835,MDEyOklzc3VlQ29tbWVudDU5NjI2MTgzNQ==,9599,simonw,2020-03-08T22:45:03Z,2020-03-08T22:45:03Z,OWNER,"I think the bug is in this code: https://github.com/simonw/datasette/blob/7508477a96492caa1893c52411405656c50d30f9/datasette/app.py#L612-L623 I added some debug logging to it and found that the bit that returns the `plugin[""templates_path""]` list is producing this: ``` plugin_template_paths: [ '/Users/simonw/Dropbox/Development/datasette/datasette/templates', '/Users/simonw/Dropbox/Development/datasette/datasette/templates', '/Users/simonw/Dropbox/Development/datasette-search-all/datasette_search_all/templates' ] ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",577578306,index.html is not reliably loaded from a plugin, https://github.com/simonw/datasette/issues/697#issuecomment-596261973,https://api.github.com/repos/simonw/datasette/issues/697,596261973,MDEyOklzc3VlQ29tbWVudDU5NjI2MTk3Mw==,9599,simonw,2020-03-08T22:46:47Z,2020-03-08T22:46:47Z,OWNER,"More debugging code shows this: ``` [ ( { ""name"": ""datasette.facets"", ""static_path"": ""/Users/simonw/Dropbox/Development/datasette/datasette/static"", ""templates_path"": ""/Users/simonw/Dropbox/Development/datasette/datasette/templates"", }, ""/Users/simonw/Dropbox/Development/datasette/datasette/templates"", ), ( { ""name"": ""datasette.sql_functions"", ""static_path"": ""/Users/simonw/Dropbox/Development/datasette/datasette/static"", ""templates_path"": ""/Users/simonw/Dropbox/Development/datasette/datasette/templates"", }, ""/Users/simonw/Dropbox/Development/datasette/datasette/templates"", ), ( { ""name"": ""datasette-search-all"", ""static_path"": None, ""templates_path"": ""/Users/simonw/Dropbox/Development/datasette-search-all/datasette_search_all/templates"", ""version"": ""0.1"", }, ""/Users/simonw/Dropbox/Development/datasette-search-all/datasette_search_all/templates"", ), ] ``` So the problem is that the default plugins that ship with Datasette are adding a template path to the lookup list!","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",577578306,index.html is not reliably loaded from a plugin, https://github.com/simonw/datasette/issues/697#issuecomment-596262118,https://api.github.com/repos/simonw/datasette/issues/697,596262118,MDEyOklzc3VlQ29tbWVudDU5NjI2MjExOA==,9599,simonw,2020-03-08T22:48:28Z,2020-03-08T22:48:28Z,OWNER,"I think the bug is in this code: https://github.com/simonw/datasette/blob/7508477a96492caa1893c52411405656c50d30f9/datasette/utils/__init__.py#L619-L645","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",577578306,index.html is not reliably loaded from a plugin, https://github.com/simonw/datasette/issues/697#issuecomment-596262197,https://api.github.com/repos/simonw/datasette/issues/697,596262197,MDEyOklzc3VlQ29tbWVudDU5NjI2MjE5Nw==,9599,simonw,2020-03-08T22:49:15Z,2020-03-08T22:49:15Z,OWNER,I need that code to set `static_path` and `templates_path` to `None` for plugins that ship as part of Datasette.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",577578306,index.html is not reliably loaded from a plugin, https://github.com/simonw/datasette/issues/697#issuecomment-596264781,https://api.github.com/repos/simonw/datasette/issues/697,596264781,MDEyOklzc3VlQ29tbWVudDU5NjI2NDc4MQ==,9599,simonw,2020-03-08T23:17:01Z,2020-03-08T23:17:01Z,OWNER,"I'm going to release this as 0.37.2. This is the first time I've released a version NOT from master (since I don't want to ship the `--memory` feature for Cloud Run until 0.38 - #694). So I've cut a `v0.37.2` release branch instead.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",577578306,index.html is not reliably loaded from a plugin, https://github.com/simonw/datasette/issues/697#issuecomment-596264937,https://api.github.com/repos/simonw/datasette/issues/697,596264937,MDEyOklzc3VlQ29tbWVudDU5NjI2NDkzNw==,9599,simonw,2020-03-08T23:18:48Z,2020-03-08T23:18:48Z,OWNER,Cancel that plan: I'm pretty sure the Travis configuration that publishes a demo to Zeit Now and builds a Docker image isn't designed to handle releases that don't correspond to current master. I guess I'll release 0.38 instead.,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",577578306,index.html is not reliably loaded from a plugin, https://github.com/simonw/datasette/issues/694#issuecomment-596266190,https://api.github.com/repos/simonw/datasette/issues/694,596266190,MDEyOklzc3VlQ29tbWVudDU5NjI2NjE5MA==,9599,simonw,2020-03-08T23:32:58Z,2020-03-08T23:32:58Z,OWNER,Shipped in [Datasette 0.38](https://datasette.readthedocs.io/en/latest/changelog.html#v0-38).,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",576582604,datasette publish cloudrun --memory option, https://github.com/simonw/datasette/issues/695#issuecomment-596266225,https://api.github.com/repos/simonw/datasette/issues/695,596266225,MDEyOklzc3VlQ29tbWVudDU5NjI2NjIyNQ==,9599,simonw,2020-03-08T23:33:23Z,2020-03-08T23:33:23Z,OWNER,Shipped in [Datasette 0.38](https://datasette.readthedocs.io/en/latest/changelog.html#v0-38).,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",576711589,Update SQLite bundled with Docker container, https://github.com/simonw/datasette/issues/697#issuecomment-596266233,https://api.github.com/repos/simonw/datasette/issues/697,596266233,MDEyOklzc3VlQ29tbWVudDU5NjI2NjIzMw==,9599,simonw,2020-03-08T23:33:28Z,2020-03-08T23:33:28Z,OWNER,Shipped in [Datasette 0.38](https://datasette.readthedocs.io/en/latest/changelog.html#v0-38).,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",577578306,index.html is not reliably loaded from a plugin,