M
M
manjustice2021-09-05 19:53:14
Python
manjustice, 2021-09-05 19:53:14

I can’t complete the task in Checkio, what should I do?

I sent the code to complete the task, I got the following error:

sys.stderr.write(str_traceback(e, *sys.exc_info())),  File "/opt/project/runners/py3.py", line 189, in str_traceback,    return str_frames(ex, filename, get_traceback_frames(filename, *args)),TypeError: get_traceback_frames() missing 1 required positional argument: 'tb',

What should I do, how to pass the task?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
black_list_man, 2021-09-05
@black_list_man

What about the code itself? The error says that one positional argument is missing. Those. You called a function, but passed insufficient arguments to it.

O
o5a, 2021-09-06
@o5a

A similar error is googled: https://py.checkio.org/forum/post/14529/httpspyche...
Apparently, the tester expects that the current mission solution will be, as it were, a continuation of the previous one. As in their case, the fight function should remain from the previous solution. Perhaps you also got rid of this function or made some similar change.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question