-
-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Error message
When I try to perform any query with the integrated GraphiQL editor, I get:
INFO: 172.17.0.1:43602 - "POST /graphql/OpenStreetMap HTTP/1.1" 500 Internal Server Error
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/promise/promise.py", line 844, in handle_future_result
resolve(future.result())
File "/usr/local/lib/python3.9/site-packages/datasette_graphql/utils.py", line 585, in resolve_table
data["rows"] = [dict(zip(data["columns"], row)) for row in data["rows"]]
graphql.error.located_error.GraphQLLocatedError: 'rows'
Query result
The query result view (on the right hand side in GraphiQL) says:
{
"data": {
"buildings": null
},
"errors": [
{
"message": "'rows'",
"locations": [
{
"line": 31,
"column": 3
}
],
"path": [
"buildings"
]
}
]
}
Screenshot
Versions
$ pip list | grep -E 'datasette(-graphql)?\s'
datasette 0.58.1
datasette-graphql 1.5
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
