{"action":"opened","issue":{"url":"https://api.github.com/repos/golemfactory/golem/issues/3093","repository_url":"https://api.github.com/repos/golemfactory/golem","labels_url":"https://api.github.com/repos/golemfactory/golem/issues/3093/labels{/name}","comments_url":"https://api.github.com/repos/golemfactory/golem/issues/3093/comments","events_url":"https://api.github.com/repos/golemfactory/golem/issues/3093/events","html_url":"https://github.com/golemfactory/golem/issues/3093","id":344913391,"node_id":"MDU6SXNzdWUzNDQ5MTMzOTE=","number":3093,"title":"it is possible to restart a task with not enough ETH in wallet","user":{"login":"ederenn","id":32061891,"node_id":"MDQ6VXNlcjMyMDYxODkx","avatar_url":"https://avatars2.githubusercontent.com/u/32061891?v=4","gravatar_id":"","url":"https://api.github.com/users/ederenn","html_url":"https://github.com/ederenn","followers_url":"https://api.github.com/users/ederenn/followers","following_url":"https://api.github.com/users/ederenn/following{/other_user}","gists_url":"https://api.github.com/users/ederenn/gists{/gist_id}","starred_url":"https://api.github.com/users/ederenn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ederenn/subscriptions","organizations_url":"https://api.github.com/users/ederenn/orgs","repos_url":"https://api.github.com/users/ederenn/repos","events_url":"https://api.github.com/users/ederenn/events{/privacy}","received_events_url":"https://api.github.com/users/ederenn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-26T16:20:01Z","updated_at":"2018-07-26T16:20:01Z","closed_at":null,"author_association":"NONE","body":"#### Encountered on:\r\n Mac OS, Golem version: dev297.g609873b\r\n\r\ntwo subtask of five resubmited from interface in second preview window, during comptations of a subtasks\r\n\r\neven though there was not enough ETH for subtask restart. It has been resubmited first, then checked if there is enough ETH for requesting subtask.\r\n\r\nResult:\r\nin Gui it looked like subtask has been resubmited but no new node has taken requested subtask\r\nin `golem.log` error appeared:\r\n\r\n```\r\n2018-07-25 12:44:44 INFO     golem.task.taskmanager              Task d6fd2b68-8f4b-11e8-aa95-5f40ac920c4a put into restarted state\r\n2018-07-26 12:51:31 INFO     golem.task.taskmanager              Task 497fb8d4-90c0-11e8-8d21-5f40ac920c4a put into restarted state\r\n  File \"/Users/buildbot-worker/worker/buildpackage_macOS/build/golem/client.py\", line 815, in restart_subtasks_from_task\r\n```\r\n\r\n```\r\n2018-07-26 12:51:31 ERROR    twisted                             NotEnoughFunds: Not enough ETH available. Required: 0.000560, available: 0.000295: Traceback (most recent call last):\r\n  File \"/Users/buildbot-worker/worker/buildpackage_macOS/build/.venv/lib/python3.6/site-packages/autobahn/twisted/websocket.py\", line 162, in _onMessage\r\n    \r\n  File \"/Users/buildbot-worker/worker/buildpackage_macOS/build/.venv/lib/python3.6/site-packages/autobahn/wamp/websocket.py\", line 95, in onMessage\r\n    \r\n  File \"/Users/buildbot-worker/worker/buildpackage_macOS/build/.venv/lib/python3.6/site-packages/autobahn/wamp/protocol.py\", line 895, in onMessage\r\n    \r\n  File \"/Users/buildbot-worker/worker/buildpackage_macOS/build/.venv/lib/python3.6/site-packages/txaio/tx.py\", line 417, in as_future\r\n    \r\n--- <exception caught here> ---\r\n  File \"/Users/buildbot-worker/worker/buildpackage_macOS/build/.venv/lib/python3.6/site-packages/twisted/internet/defer.py\", line 150, in maybeDeferred\r\n    \r\n  File \"/Users/buildbot-worker/worker/buildpackage_macOS/build/golem/client.py\", line 815, in restart_subtasks_from_task\r\n    \r\n  File \"/Users/buildbot-worker/worker/buildpackage_macOS/build/golem/client.py\", line 564, in enqueue_new_task\r\n    \r\n  File \"/Users/buildbot-worker/worker/buildpackage_macOS/build/golem/transactions/ethereum/fundslocker.py\", line 51, in lock_funds\r\n    \r\n  File \"/Users/buildbot-worker/worker/buildpackage_macOS/build/golem/transactions/ethereum/ethereumtransactionsystem.py\", line 145, in lock_funds_for_payments\r\n    \r\ngolem.transactions.ethereum.exceptions.NotEnoughFunds: Not enough ETH available. Required: 0.000560, available: 0.000295\r\n```\r\n\r\nTask remained unfinished until timeout."}}
{"actor":{"display_login":"ederenn"}}