Evalai: django.setup() not required for Remote submission worker.

Created on 5 Apr 2019  路  1Comment  路  Source: Cloud-CV/EvalAI

Currently, the remote worker doesn't use the Django app directly as the submission worker does, and only references the models through the public API.

And also the error: django.core.exceptions.ImproperlyConfigured: Requested setting LOGGING_CONFIG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. is shown while starting the worker.
Deliverables:

  • [x] Remove the statement django.setup() from remote_submission_worker.py.

@RishabhJain2018 @deshraj

Most helpful comment

Thanks for opening this issue. It's a really good catch @KhalidRmb. :)

>All comments

Thanks for opening this issue. It's a really good catch @KhalidRmb. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ayukha picture Ayukha  路  5Comments

mrinalwahal picture mrinalwahal  路  4Comments

deshraj picture deshraj  路  5Comments

Arun-Jain picture Arun-Jain  路  6Comments

VishwaasHegde picture VishwaasHegde  路  4Comments