{"action":"created","issue":{"url":"https://api.github.com/repos/golemfactory/golem/issues/3425","repository_url":"https://api.github.com/repos/golemfactory/golem","labels_url":"https://api.github.com/repos/golemfactory/golem/issues/3425/labels{/name}","comments_url":"https://api.github.com/repos/golemfactory/golem/issues/3425/comments","events_url":"https://api.github.com/repos/golemfactory/golem/issues/3425/events","html_url":"https://github.com/golemfactory/golem/issues/3425","id":369035066,"node_id":"MDU6SXNzdWUzNjkwMzUwNjY=","number":3425,"title":"Golem shouldn't try to lock the deposit with the Concent service disabled","user":{"login":"shadeofblue","id":7963044,"node_id":"MDQ6VXNlcjc5NjMwNDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7963044?v=4","gravatar_id":"","url":"https://api.github.com/users/shadeofblue","html_url":"https://github.com/shadeofblue","followers_url":"https://api.github.com/users/shadeofblue/followers","following_url":"https://api.github.com/users/shadeofblue/following{/other_user}","gists_url":"https://api.github.com/users/shadeofblue/gists{/gist_id}","starred_url":"https://api.github.com/users/shadeofblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadeofblue/subscriptions","organizations_url":"https://api.github.com/users/shadeofblue/orgs","repos_url":"https://api.github.com/users/shadeofblue/repos","events_url":"https://api.github.com/users/shadeofblue/events{/privacy}","received_events_url":"https://api.github.com/users/shadeofblue/received_events","type":"User","site_admin":false},"labels":[{"id":983911058,"node_id":"MDU6TGFiZWw5ODM5MTEwNTg=","url":"https://api.github.com/repos/golemfactory/golem/labels/brass","name":"brass","color":"ff7d11","default":false},{"id":288489134,"node_id":"MDU6TGFiZWwyODg0ODkxMzQ=","url":"https://api.github.com/repos/golemfactory/golem/labels/duplicate","name":"duplicate","color":"cccccc","default":true},{"id":524195398,"node_id":"MDU6TGFiZWw1MjQxOTUzOTg=","url":"https://api.github.com/repos/golemfactory/golem/labels/important","name":"important","color":"b60205","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-11T09:37:40Z","updated_at":"2018-10-17T07:56:53Z","closed_at":"2018-10-11T12:32:28Z","author_association":"CONTRIBUTOR","body":"When golem is running with Concent disabled (e.g. specifically, when running on mainnet now), it should probably not try to lock the deposit...\r\n\r\n```\r\nERROR    [golem                              ] Service Error: Traceback (most recent call last):\r\n  File \"/usr/lib/python3.6/threading.py\", line 916, in _bootstrap_inner\r\n    self.run()\r\n  File \"/usr/lib/python3.6/threading.py\", line 864, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"/home/blue/.virtualenvs/golem/lib/python3.6/site-packages/twisted/_threads/_threadworker.py\", line 46, in work\r\n    task()\r\n  File \"/home/blue/.virtualenvs/golem/lib/python3.6/site-packages/twisted/_threads/_team.py\", line 190, in doWork\r\n    task()\r\n--- <exception caught here> ---\r\n  File \"/home/blue/.virtualenvs/golem/lib/python3.6/site-packages/twisted/python/threadpool.py\", line 250, in inContext\r\n    result = inContext.theWork()\r\n  File \"/home/blue/.virtualenvs/golem/lib/python3.6/site-packages/twisted/python/threadpool.py\", line 266, in <lambda>\r\n    inContext.theWork = lambda: context.call(ctx, func, *args, **kw)\r\n  File \"/home/blue/.virtualenvs/golem/lib/python3.6/site-packages/twisted/python/context.py\", line 122, in callWithContext\r\n    return self.currentContext().callWithContext(ctx, func, *args, **kw)\r\n  File \"/home/blue/.virtualenvs/golem/lib/python3.6/site-packages/twisted/python/context.py\", line 85, in callWithContext\r\n    return func(*args,**kw)\r\n  File \"/home/blue/golem/golem/golem/ethereum/transactionsystem.py\", line 756, in _run\r\n    self.concent_withdraw()\r\n  File \"/home/blue/golem/golem/golem/ethereum/transactionsystem.py\", line 617, in concent_withdraw\r\n    timelock = self.concent_timelock()\r\n  File \"/home/blue/golem/golem/golem/ethereum/transactionsystem.py\", line 552, in concent_timelock\r\n    account_address=account_address,\r\n  File \"/home/blue/.virtualenvs/golem/lib/python3.6/site-packages/golem_sci/implementation.py\", line 761, in get_deposit_locked_until\r\n    self._gntdeposit.functions.getTimelock(account_address))\r\nbuiltins.AttributeError: 'NoneType' object has no attribute 'functions'\r\n```"},"comment":{"url":"https://api.github.com/repos/golemfactory/golem/issues/comments/430528290","html_url":"https://github.com/golemfactory/golem/issues/3425#issuecomment-430528290","issue_url":"https://api.github.com/repos/golemfactory/golem/issues/3425","id":430528290,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMDUyODI5MA==","user":{"login":"shadeofblue","id":7963044,"node_id":"MDQ6VXNlcjc5NjMwNDQ=","avatar_url":"https://avatars1.githubusercontent.com/u/7963044?v=4","gravatar_id":"","url":"https://api.github.com/users/shadeofblue","html_url":"https://github.com/shadeofblue","followers_url":"https://api.github.com/users/shadeofblue/followers","following_url":"https://api.github.com/users/shadeofblue/following{/other_user}","gists_url":"https://api.github.com/users/shadeofblue/gists{/gist_id}","starred_url":"https://api.github.com/users/shadeofblue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shadeofblue/subscriptions","organizations_url":"https://api.github.com/users/shadeofblue/orgs","repos_url":"https://api.github.com/users/shadeofblue/repos","events_url":"https://api.github.com/users/shadeofblue/events{/privacy}","received_events_url":"https://api.github.com/users/shadeofblue/received_events","type":"User","site_admin":false},"created_at":"2018-10-17T07:56:53Z","updated_at":"2018-10-17T07:56:53Z","author_association":"CONTRIBUTOR","body":"duplicate of: https://github.com/golemfactory/golem/issues/3398"}}
{"actor":{"display_login":"shadeofblue"}}