You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Using the current state of main, ASR and NLP worker jobs are not getting triggered when importing new source (e.g. served devset feed), although sliders in Importer are set correctly.
To Reproduce
OAS started. Worker started (using poetry) and is running correctly (single jobs are possible). When importing new source into Importer and set the sliders to trigger ASR and NLP, no job gets into worker.
Expected behavior
Worker jobs should get triggered to compute ASR and NLP jobs.
Additional context
Worked correctly using old job queue.
The text was updated successfully, but these errors were encountered:
I tried to reproduce and it seems to work OK for me. Please try the following and see if it works for you:
# Start OAS services with an empty data dir to have a clean instance to start with
OAS_DATA_DIR=/tmp/oas_test docker-compose -f docker-compose.dev.yml up
# Start the server
RUST_LOG=debug cargo run -- run
# Import a feed with curl or another HTTP client# I uploaded the current devset feed to make this easier, # replace the URL with a local URL when serving the devset feed locally)
curl -X POST -v -u admin:password http://localhost:8080/api/v1/feed -d '{"url":"https://dl.arso.xyz/oas/devset-cba-0.1.rss", "mediaJobs":{"asr":{}},"postJobs":{"nlp":{}}}'# Check if jobs were created
curl -u admin:password http://localhost:8080/api/v1/jobs
# this should be a big array of jobs, with one NLP job per post and one ASR job per media# Start a workercd oas_worker && poetry run python worker.py
# This should now start both ASR and NLP processing. New NLP jobs should be created after the ASR finishes also.
Describe the bug
Using the current state of main, ASR and NLP worker jobs are not getting triggered when importing new source (e.g. served devset feed), although sliders in Importer are set correctly.
To Reproduce
OAS started. Worker started (using poetry) and is running correctly (single jobs are possible). When importing new source into Importer and set the sliders to trigger ASR and NLP, no job gets into worker.
Expected behavior
Worker jobs should get triggered to compute ASR and NLP jobs.
Additional context
Worked correctly using old job queue.
The text was updated successfully, but these errors were encountered: