WolfgangFahl / snapquery

Frontend to Introduce Named Queries and Named Query Middleware to wikidata
Apache License 2.0
4 stars 1 forks source link

Fix scholia query handling #18

Closed WolfgangFahl closed 2 months ago

WolfgangFahl commented 2 months ago

http://snapquery.bitplan.com/query/scholia/author-curation_missing-author-resolving e.g. should work currently we get

  File "/home/wf/source/python/snapquery/.venv/lib/python3.10/site-packages/nicegui/background_tasks.py", line 52, in _handle_task_result
    task.result()
  File "/home/wf/source/python/snapquery/.venv/lib/python3.10/site-packages/snapquery/snapquery_view.py", line 81, in load_query_results
    query.preFormatWithCallBacks(lod, tablefmt=tablefmt)
  File "/home/wf/source/python/snapquery/.venv/lib/python3.10/site-packages/lodstorage/query.py", line 349, in preFormatWithCallBacks
    for record in lod:
TypeError: 'NoneType' object is not iterable