1.8 'Loading...', get_session_questions doesn't return

I’m having trouble running the annotation interface in 1.8. The initial page loads but the POST to get_session_questions never returns. The last thing verbose logging prints is

08:57:19 - POST: /get_session_questions
08:57:19 - FEED: Finding next batch of questions in stream
08:57:19 - CONTROLLER: Validating the first batch for session: test2-default
08:57:19 - PREPROCESS: Splitting sentences
{'batch_size': 32, 'min_length': None, 'nlp': <spacy.lang.en.English object at 0x7f8b1f9cb588>, 'stream': <generator object at 0x7f8b1fa5f048>, 'text_key': 'text'}

08:57:19 - FILTER: Filtering duplicates from stream
{'by_input': True, 'by_task': True, 'stream': <generator object at 0x7f8b1fa5cdc8>}

08:57:19 - FILTER: Filtering out empty examples for key 'text'

and the process doesn’t seem to be using much/any cpu. This is with a new sqlite database and a trivial jsonl and a new python 3.6 conda environment. I’ll try to recreate in Docker, but in the mean time is there anything else I should look for?

N/m. This turned out to be a problem where the source was incorrectly set to an empty environment variable.

1 Like