{"html_url": "https://github.com/simonw/datasette/issues/1131#issuecomment-739083472", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1131", "id": 739083472, "node_id": "MDEyOklzc3VlQ29tbWVudDczOTA4MzQ3Mg==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-12-05T00:01:12Z", "updated_at": "2020-12-05T00:01:12Z", "author_association": "OWNER", "body": "Here's why: https://github.com/simonw/datasette/blob/37f87b5e52e7f8ddd1c4ffcf368bd7a62a406a6d/datasette/database.py#L158-L163", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 757481949, "label": "\"datasette inspect\" outputs invalid JSON if an error is logged"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1131#issuecomment-739083673", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1131", "id": 739083673, "node_id": "MDEyOklzc3VlQ29tbWVudDczOTA4MzY3Mw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-12-05T00:02:10Z", "updated_at": "2020-12-05T00:02:10Z", "author_association": "OWNER", "body": "https://clig.dev/#the-basics\r\n\r\n> **Send messaging to stderr**. Log messages, errors, and so on should all be sent to stderr. This means that when commands are piped together, these messages are displayed to the user and not fed into the next command.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 757481949, "label": "\"datasette inspect\" outputs invalid JSON if an error is logged"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/pull/1128#issuecomment-739355855", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1128", "id": 739355855, "node_id": "MDEyOklzc3VlQ29tbWVudDczOTM1NTg1NQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-12-05T19:34:57Z", "updated_at": "2020-12-05T19:34:57Z", "author_association": "OWNER", "body": "Thanks for this!", "reactions": "{\"total_count\": 1, \"+1\": 1, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 756867924, "label": "Fix startup error on windows"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/398#issuecomment-739357330", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/398", "id": 739357330, "node_id": "MDEyOklzc3VlQ29tbWVudDczOTM1NzMzMA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-12-05T19:36:27Z", "updated_at": "2020-12-05T19:36:27Z", "author_association": "OWNER", "body": "This was fixed in #749 by 88ac538b41a4753c3de9b509c3a0e13077f66182", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 398011658, "label": "Ensure downloading a 100+MB SQLite database file works"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1131#issuecomment-739414118", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1131", "id": 739414118, "node_id": "MDEyOklzc3VlQ29tbWVudDczOTQxNDExOA==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2020-12-05T20:48:33Z", "updated_at": "2020-12-05T20:48:33Z", "author_association": "OWNER", "body": "Oddly enough, I tried fixing this with `sys.stderr.write(\"{}\\n\".format(e))` - but my Click `CLIRunner` tests failed because `result.stderr` was an empty string. Adding `sys.stderr.flush()` to the code that output errors fixed that issue.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 757481949, "label": "\"datasette inspect\" outputs invalid JSON if an error is logged"}, "performed_via_github_app": null}