Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

TypeError: restart_subtask() got an unexpected keyword argument 'new_state' #5158

Open
etam opened this issue Apr 3, 2020 · 0 comments
Open
Labels

Comments

@etam
Copy link
Contributor

etam commented Apr 3, 2020

Description

Golem Version: 0.23.0

OS: Linux

Mainnet/Testnet: Mainnet

Description of the issue:

When running gWASM task there is an error that appears in logs. I don't know what are the actual consequences.

Actual result:

?

Steps To Reproduce

Run a gWASM task, I guess.

Expected behavior

It shouldn't throw TypeError exceptions.

Logs and any additional context

2020-04-02 15:22:33 CRITICAL twisted                             Unhandled error in Deferred:
2020-04-02 15:22:33 CRITICAL twisted
Traceback (most recent call last):
  File "/data/golem/golem_git/venv/lib/python3.6/site-packages/twisted/internet/defer.py", line 1418, in _inlineCallbacks
    result = g.send(result)
  File "/data/golem/golem_git/golem/task/tasksession.py", line 744, in _react_to_cannot_compute_task
    timeout,
  File "/data/golem/golem_git/golem/core/common.py", line 189, in func_wrapper
    return func(*args, **kwargs)
  File "/data/golem/golem_git/golem/task/taskmanager.py", line 874, in task_computation_cancelled
    new_status=SubtaskStatus.cancelled,
  File "/data/golem/golem_git/golem/core/common.py", line 189, in func_wrapper
    return func(*args, **kwargs)
  File "/data/golem/golem_git/golem/task/taskmanager.py", line 1034, in restart_subtask
    new_state=new_status,
TypeError: restart_subtask() got an unexpected keyword argument 'new_state'

References

Introduced by #5127

@etam etam added bug brass P0 Severity-Critical/Effort-easy labels Apr 3, 2020
@etam etam assigned ZmijaWA and shadeofblue and unassigned ZmijaWA Apr 3, 2020
@badb badb removed the brass label Jun 22, 2020
@shadeofblue shadeofblue removed the P0 Severity-Critical/Effort-easy label Jun 25, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants