issue_comments
11 rows where issue = 1452572348 and "updated_at" is on date 2022-11-18 sorted by updated_at descending
This data as json, CSV (advanced)
Suggested facets: reactions, created_at (date), updated_at (date)
issue 1
- datasette package --spatialite throws error during build · 11 ✖
id | html_url | issue_url | node_id | user | created_at | updated_at ▲ | author_association | body | reactions | issue | performed_via_github_app |
---|---|---|---|---|---|---|---|---|---|---|---|
1319664697 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319664697 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5OqHw5 | rdmurphy 419145 | 2022-11-18T07:59:36Z | 2022-11-18T08:00:38Z | NONE | Okay, my final observations for the night! I've been pushing and pulling the various levers in Unfortunately cannot audit that for (It was actually this comment from back in 2018 in an entirely unrelated repo that nudged me to try this, ha.) |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 | |
1319641636 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319641636 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5OqCIk | rdmurphy 419145 | 2022-11-18T07:27:26Z | 2022-11-18T07:27:26Z | NONE | Can confirm that my
I'm in |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 | |
1319639462 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319639462 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5OqBmm | rdmurphy 419145 | 2022-11-18T07:24:19Z | 2022-11-18T07:24:19Z | NONE | Is it, uh, possible we are on different architectures? 😅 I'm using an Apple M1 Pro. I jumped into a bash shell of an unmodified I swapped that directory in here in a local copy of |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 | |
1319631421 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319631421 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5Op_o9 | simonw 9599 | 2022-11-18T07:13:00Z | 2022-11-18T07:13:00Z | OWNER | You get:
I get:
For my machine: ``` ~ % docker --version Docker version 20.10.12, build e91ed57 ~ % uname -a Darwin Simons-MacBook-Pro-2.local 22.1.0 Darwin Kernel Version 22.1.0: Sun Oct 9 20:14:54 PDT 2022; root:xnu-8792.41.9~2/RELEASE_X86_64 x86_64 ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 | |
1319629469 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319629469 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5Op_Kd | simonw 9599 | 2022-11-18T07:10:17Z | 2022-11-18T07:10:17Z | OWNER | This is so weird! What version of Datasette do you get from |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 | |
1319596087 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319596087 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5Op3A3 | rdmurphy 419145 | 2022-11-18T06:16:33Z | 2022-11-18T06:16:33Z | NONE | Interesting! So I tried this locally using your copy of ```
❯ datasette package nps-spatialite.db --spatialite
[+] Building 27.5s (10/10) FINISHED
10 0.681 Traceback (most recent call last):10 0.681 File "/usr/local/bin/datasette", line 8, in <module>10 0.681 sys.exit(cli())10 0.681 ^^^^^10 0.681 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1130, in call10 0.682 return self.main(args, *kwargs)10 0.682 ^^^^^^^^^^^^^^^^^^^^^^^^^^10 0.682 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1055, in main10 0.682 rv = self.invoke(ctx)10 0.682 ^^^^^^^^^^^^^^^^10 0.682 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1657, in invoke10 0.682 return _process_result(sub_ctx.command.invoke(sub_ctx))10 0.682 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^10 0.682 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1404, in invoke10 0.682 return ctx.invoke(self.callback, **ctx.params)10 0.682 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^10 0.682 File "/usr/local/lib/python3.11/site-packages/click/core.py", line 760, in invoke10 0.682 return __callback(args, *kwargs)10 0.682 ^^^^^^^^^^^^^^^^^^^^^^^^^^^10 0.683 File "/usr/local/lib/python3.11/site-packages/datasette/cli.py", line 164, in inspect10 0.683 inspect_data = loop.run_until_complete(inspect_(files, sqlite_extensions))10 0.683 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^10 0.683 File "/usr/local/lib/python3.11/asyncio/base_events.py", line 650, in run_until_complete10 0.683 return future.result()10 0.683 ^^^^^^^^^^^^^^^10 0.683 File "/usr/local/lib/python3.11/site-packages/datasette/cli.py", line 179, in inspect_10 0.683 counts = await database.table_counts(limit=3600 * 1000)10 0.683 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^10 0.683 File "/usr/local/lib/python3.11/site-packages/datasette/database.py", line 304, in table_counts10 0.683 for table in await self.table_names():10 0.683 ^^^^^^^^^^^^^^^^^^^^^^^^10 0.683 File "/usr/local/lib/python3.11/site-packages/datasette/database.py", line 342, in table_names10 0.683 results = await self.execute(10 0.683 ^^^^^^^^^^^^^^^^^^^10 0.683 File "/usr/local/lib/python3.11/site-packages/datasette/database.py", line 267, in execute10 0.683 results = await self.execute_fn(sql_operation_in_thread)10 0.683 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^10 0.683 File "/usr/local/lib/python3.11/site-packages/datasette/database.py", line 213, in execute_fn10 0.683 return await asyncio.get_event_loop().run_in_executor(10 0.683 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^10 0.683 File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run10 0.683 result = self.fn(self.args, *self.kwargs)10 0.683 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^10 0.683 File "/usr/local/lib/python3.11/site-packages/datasette/database.py", line 209, in in_thread10 0.683 self.ds._prepare_connection(conn, self.name)10 0.683 File "/usr/local/lib/python3.11/site-packages/datasette/app.py", line 593, in _prepare_connection10 0.683 conn.execute("SELECT load_extension(?)", [extension])10 0.683 sqlite3.OperationalError: /usr/lib/x86_64-linux-gnu/mod_spatialite.so.so: cannot open shared object file: No such file or directoryexecutor failed running [/bin/sh -c datasette inspect nps-spatialite.db --inspect-file inspect-data.json]: exit code: 1 ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 | |
1319583703 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319583703 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5Opz_X | simonw 9599 | 2022-11-18T05:58:31Z | 2022-11-18T05:58:31Z | OWNER | Could you provide full steps to reproduce plus a SpatiaLite database file that triggered this for you? I'm not able to recreate the problem. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 | |
1319583281 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319583281 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5Opz4x | simonw 9599 | 2022-11-18T05:57:44Z | 2022-11-18T05:57:44Z | OWNER | Did you use the I just tried this:
It built the image OK (I didn't see the error you reported), but running the container failed with an error: ``` /tmp % docker run -p 8001:8001 7298e8e6bbfb Usage: datasette serve [OPTIONS] [FILES]... Try 'datasette serve --help' for help. Error: It looks like you're trying to load a SpatiaLite database without first loading the SpatiaLite module. Read more: https://docs.datasette.io/en/stable/spatialite.html ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 | |
1319582239 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319582239 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5Opzof | simonw 9599 | 2022-11-18T05:55:38Z | 2022-11-18T05:55:38Z | OWNER | Trying this out locally with this 69MB SpatiaLite file I happened to have lying around (from testing
This worked fine for me. I ran |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 | |
1319574972 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319574972 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5Opx28 | simonw 9599 | 2022-11-18T05:41:28Z | 2022-11-18T05:41:28Z | OWNER | Oh this is with |
{ "total_count": 1, "+1": 1, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 | |
1319571220 | https://github.com/simonw/datasette/issues/1900#issuecomment-1319571220 | https://api.github.com/repos/simonw/datasette/issues/1900 | IC_kwDOBm6k_c5Opw8U | simonw 9599 | 2022-11-18T05:34:35Z | 2022-11-18T05:34:35Z | OWNER | Which Docker image are you using here? It looks like it's missing SpatiaLite from the image. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
datasette package --spatialite throws error during build 1452572348 |
Advanced export
JSON shape: default, array, newline-delimited, object
CREATE TABLE [issue_comments] ( [html_url] TEXT, [issue_url] TEXT, [id] INTEGER PRIMARY KEY, [node_id] TEXT, [user] INTEGER REFERENCES [users]([id]), [created_at] TEXT, [updated_at] TEXT, [author_association] TEXT, [body] TEXT, [reactions] TEXT, [issue] INTEGER REFERENCES [issues]([id]) , [performed_via_github_app] TEXT); CREATE INDEX [idx_issue_comments_issue] ON [issue_comments] ([issue]); CREATE INDEX [idx_issue_comments_user] ON [issue_comments] ([user]);
user 2