What happens
When I commit my solution to a challenge, the file starts to be evaluated by the CI pipelines, I haven’t managed to pass /test/generic/user_yaml/checks pipeline and don’t know why
What do you understand or find about that problem
I get the error message:
Traceback (most recent call last):
349 File “/nix/store/hpsg57i3zjzx19xzd39cq857sqxs316k-main.py”, line 286, in
350 main()
351 File “/nix/store/hpsg57i3zjzx19xzd39cq857sqxs316k-main.py”, line 278, in main
352 if not check_effort(branch_name):
353 File “/nix/store/hpsg57i3zjzx19xzd39cq857sqxs316k-main.py”, line 185, in check_effort
354 sorted_solutions = get_sorted_solutions(username)
355 File “/nix/store/hpsg57i3zjzx19xzd39cq857sqxs316k-main.py”, line 176, in get_sorted_solutions
356 sorted_by_date: List[Dict[str, Any]] = sorted(
357TypeError: ‘NoneType’ object is not iterable
358────────────────────────── Failed with exit code 1 ──────────────────────────
360Cleaning up project directory and file based variables00:01
362ERROR: Job failed: exit code 1
You make any workaround? What did you do?
Nope, I’m not sure how can I workaround this. I have no workaround for this.
Evidences
https://gitlab.com/autonomicjump/challenges/-/jobs/3951305936
I need help with
An explanation as for why this happens and how can I avoid this kind of problems
Thanks in advance.