Evaluation crashing while trying to read env var DATASET_ENV

Seems to be crashing while trying to load an env var that I guess isn’t valid JSON. It’s a bit tough to debug as this code isn’t present in the official base repo. This happens after prediction completes succesfully.

===========================
Traceback (most recent call last):
  File "/home/aicrowd/evaluator/music_demixing.py", line 49, in __init__
    dataset_env = json.loads(os.getenv("DATASET_ENV", "{}").encode().decode('unicode-escape'))
  File "/srv/conda/envs/notebook/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/srv/conda/envs/notebook/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/srv/conda/envs/notebook/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Hi @ada_or_ardor,

You can ignore this traceback and it doesn’t affect your submissions’ evaluation.

We will remove it from the logs to remove confusion.

UPDATE: The traceback is removed and will not be visible in future submissions.

@shivam, my submission failed with TimeoutException and this traceback was still present in the logs.

1 Like

Thanks for notifying @agent, re-run your #148616 to be sure this time! :smiley:

I confirm that useless traceback disappeared

1 Like