Error "the JSON object must be str, bytes or bytearray, not NoneType"

Hi,
I am trying to assign random dependency between tasks meaning that one task can’t start before the other one finish. I am getting an error in make_dependency file which I couldn’t debug.

ERROR simulation: running make_dependancy.py at 8: Traceback (most recent call last): File “”, line 214, in wrapped File “”, line 8, in behavior File “”, line 15, in getitem File “/lib/python3.8/json/init.py”, line 341, in loads raise TypeError(f’the JSON object must be str, bytes or bytearray, ’ TypeError: the JSON object must be str, bytes or bytearray, not NoneType

what could be the cause ?
This is the link of the simulation HASH Core.

Hello,

I’m afraid I can’t reproduce this error, because it seems like the current simulation doesn’t use the make_dependancy.py behavior.

Is there a different release of your simulation that does create the error?

-Nur

1 Like

Yes I have modified the simulation without making a new release. Now it is working. I will consider making releases in the future. Thank you for the help!