-
Notifications
You must be signed in to change notification settings - Fork 11
Description
Hi
The DBPedia Music example is now broken - it returns this error if I search for the Beatles
2022-07-06 07:14:49,310 - werkzeug - INFO - 172.17.0.1 - - [06/Jul/2022 07:14:49] "GET /v1.3.0/bands?label=Beatles&page=1&per_page=100 HTTP/1.1" 200 -
2022-07-06 07:15:11,329 - oba - INFO - #+ summary: Return the query to a resource by the resource_iri
PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema#
CONSTRUCT {
http://dbpedia.org/resource/beatles ?predicate ?prop .
?prop a ?type .
?prop rdfs:label ?label
}
WHERE {
http://dbpedia.org/resource/beatles ?predicate ?prop
OPTIONAL {
?prop a ?type
OPTIONAL {
?prop rdfs:label ?label
}
}
}
2022-07-06 07:16:20,671 - grlc - ERROR - json serialize failed
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/obasparql/query_manager.py", line 455, in frame_results
response_dict = json.loads(response)
File "/usr/local/lib/python3.10/json/init.py", line 339, in loads
raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not tuple
2022-07-06 07:16:20,672 - werkzeug - INFO - 172.17.0.1 - - [06/Jul/2022 07:16:20] "GET /v1.3.0/bands/beatles HTTP/1.1" 200 -
Also Model Catalog fails to generate an OpenAPI server docker image.
cheers
Dougal