{"action":"closed","issue":{"url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/185","repository_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib","labels_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/185/comments","events_url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/issues/185/events","html_url":"https://github.com/threefoldtech/jumpscale_lib/issues/185","id":368140204,"node_id":"MDU6SXNzdWUzNjgxNDAyMDQ=","number":185,"title":"install error for electrum ","user":{"login":"robvanmieghem","id":3511318,"node_id":"MDQ6VXNlcjM1MTEzMTg=","avatar_url":"https://avatars2.githubusercontent.com/u/3511318?v=4","gravatar_id":"","url":"https://api.github.com/users/robvanmieghem","html_url":"https://github.com/robvanmieghem","followers_url":"https://api.github.com/users/robvanmieghem/followers","following_url":"https://api.github.com/users/robvanmieghem/following{/other_user}","gists_url":"https://api.github.com/users/robvanmieghem/gists{/gist_id}","starred_url":"https://api.github.com/users/robvanmieghem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvanmieghem/subscriptions","organizations_url":"https://api.github.com/users/robvanmieghem/orgs","repos_url":"https://api.github.com/users/robvanmieghem/repos","events_url":"https://api.github.com/users/robvanmieghem/events{/privacy}","received_events_url":"https://api.github.com/users/robvanmieghem/received_events","type":"User","site_admin":false},"labels":[{"id":1008960244,"node_id":"MDU6TGFiZWwxMDA4OTYwMjQ0","url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/labels/priority_major","name":"priority_major","color":"f6c6c7","default":false},{"id":1008960297,"node_id":"MDU6TGFiZWwxMDA4OTYwMjk3","url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/labels/state_inprogress","name":"state_inprogress","color":"bfe5bf","default":false},{"id":1008960364,"node_id":"MDU6TGFiZWwxMDA4OTYwMzY0","url":"https://api.github.com/repos/threefoldtech/jumpscale_lib/labels/type_bug","name":"type_bug","color":"fef2c0","default":false}],"state":"closed","locked":false,"assignee":{"login":"robvanmieghem","id":3511318,"node_id":"MDQ6VXNlcjM1MTEzMTg=","avatar_url":"https://avatars2.githubusercontent.com/u/3511318?v=4","gravatar_id":"","url":"https://api.github.com/users/robvanmieghem","html_url":"https://github.com/robvanmieghem","followers_url":"https://api.github.com/users/robvanmieghem/followers","following_url":"https://api.github.com/users/robvanmieghem/following{/other_user}","gists_url":"https://api.github.com/users/robvanmieghem/gists{/gist_id}","starred_url":"https://api.github.com/users/robvanmieghem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvanmieghem/subscriptions","organizations_url":"https://api.github.com/users/robvanmieghem/orgs","repos_url":"https://api.github.com/users/robvanmieghem/repos","events_url":"https://api.github.com/users/robvanmieghem/events{/privacy}","received_events_url":"https://api.github.com/users/robvanmieghem/received_events","type":"User","site_admin":false},"assignees":[{"login":"robvanmieghem","id":3511318,"node_id":"MDQ6VXNlcjM1MTEzMTg=","avatar_url":"https://avatars2.githubusercontent.com/u/3511318?v=4","gravatar_id":"","url":"https://api.github.com/users/robvanmieghem","html_url":"https://github.com/robvanmieghem","followers_url":"https://api.github.com/users/robvanmieghem/followers","following_url":"https://api.github.com/users/robvanmieghem/following{/other_user}","gists_url":"https://api.github.com/users/robvanmieghem/gists{/gist_id}","starred_url":"https://api.github.com/users/robvanmieghem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robvanmieghem/subscriptions","organizations_url":"https://api.github.com/users/robvanmieghem/orgs","repos_url":"https://api.github.com/users/robvanmieghem/repos","events_url":"https://api.github.com/users/robvanmieghem/events{/privacy}","received_events_url":"https://api.github.com/users/robvanmieghem/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-10-09T10:20:35Z","updated_at":"2018-10-09T11:00:20Z","closed_at":"2018-10-09T11:00:20Z","author_association":"NONE","body":"#### Installation information\r\n\r\n- jumpscale_lib version: v9.0.0-1940-g27f8ed85\r\n- operating system: ubuntu \r\n\r\n\r\n#### Detailed description\r\n```\r\nj.tools.prefab.local.blockchain.electrum.install(reset=True)\r\n\r\n/opt/code/github/threefoldtech/jumpscale_prefab/modules/blockchain/PrefabElectrum.py in install(self, branch, tag, revision, reset)\r\n     49             electrum_bin_path = self.prefab.core.joinpaths(electrum_bin_path, 'electrum')\r\n     50\r\n---> 51         self.prefab.core.file_copy(electrum_bin_path, \"$BINDIR/\")\r\n     52\r\n     53         self.doneSet('install')\r\n\r\n/opt/code/github/threefoldtech/jumpscale_prefab/JumpscalePrefab/PrefabCore.py in file_copy(self, source, dest, recursive, overwrite)\r\n    844             cmd += '%s %s' % (source, dest)\r\n    845\r\n--> 846         self.run(cmd)\r\n    847\r\n    848     def file_move(self, source, dest, recursive=False):\r\n\r\n/opt/code/github/threefoldtech/jumpscale_prefab/JumpscalePrefab/PrefabCore.py in run(self, cmd, die, debug, checkok, showout, profile, replaceArgs, shell, env, timeout, sudo, raw)\r\n   1131         if not raw:\r\n   1132             rc, out, err = self.executor.execute(\r\n-> 1133                 cmd, checkok=checkok, die=die, showout=showout, env=env, timeout=timeout, sudo=sudo)\r\n   1134         else:\r\n   1135             rc, out, err = self.executor.executeRaw(\r\n\r\n/opt/code/github/threefoldtech/jumpscale_core/Jumpscale/tools/executor/ExecutorLocal.py in execute(self, cmds, die, checkok, showout, timeout, env, sudo)\r\n    114\r\n    115         rc, out, err = j.sal.process.execute(\r\n--> 116             cmds2, die=die, showout=showout, timeout=timeout)\r\n    117\r\n    118         if checkok:\r\n\r\n/opt/code/github/threefoldtech/jumpscale_core/Jumpscale/sal/process/SystemProcess.py in execute(self, command, showout, useShell, log, cwd, timeout, errors, ok, captureout, die, async_, env)\r\n    208                 msg+=\"stderr:\\n\"\r\n    209                 msg+= j.core.text.indent(err).rstrip()+\"\\n\\n\"\r\n--> 210             raise RuntimeError(msg)\r\n    211\r\n    212         # close the files (otherwise resources get lost),\r\n\r\nRuntimeError:\r\nCould not execute:    set -e\r\n    [ ! -e '/root/.bash_profile' ] && touch '/root/.bash_profile'\r\n    source /root/.bash_profile\r\n    cp -v /tmp/l66cziqt93/electrum/electrum /root/opt/bin/\r\n\r\nstdout:\r\n    '/tmp/l66cziqt93/electrum/electrum' -> '/root/opt/bin/'\r\n\r\nstderr:\r\n    cp: cannot create regular file '/root/opt/bin/': Not a directory\r\n```\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"robvanmieghem"}}