Skip to content

HTTP 500 when listing started jobs in the RQ admin

Sentry Issue: ARKINDEX-BACKEND-2PW

ValueError: not enough values to unpack (expected 2, got 1)
(1 additional frame(s) were not displayed)
...
  File "django/core/handlers/base.py", line 197, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "django/views/decorators/cache.py", line 80, in _view_wrapper
    response = view_func(request, *args, **kwargs)
  File "django/contrib/auth/decorators.py", line 59, in _view_wrapper
    return view_func(request, *args, **kwargs)
  File "django_rq/views.py", line 227, in started_jobs
    executions = get_executions(queue, job_ids)
  File "django_rq/utils.py", line 164, in get_executions
    job_id, id = key.split(':')

When a queue has any job currently running, listing the currently running jobs causes a HTTP 500 because django-rq 3.0.0 does not support RQ ≥2.2