{"action":"opened","issue":{"url":"https://api.github.com/repos/ConsenSys/mythril-classic/issues/823","repository_url":"https://api.github.com/repos/ConsenSys/mythril-classic","labels_url":"https://api.github.com/repos/ConsenSys/mythril-classic/issues/823/labels{/name}","comments_url":"https://api.github.com/repos/ConsenSys/mythril-classic/issues/823/comments","events_url":"https://api.github.com/repos/ConsenSys/mythril-classic/issues/823/events","html_url":"https://github.com/ConsenSys/mythril-classic/issues/823","id":390353268,"node_id":"MDU6SXNzdWUzOTAzNTMyNjg=","number":823,"title":"Docker fails to run, produces stack trace","user":{"login":"mickayz","id":2199635,"node_id":"MDQ6VXNlcjIxOTk2MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/2199635?v=4","gravatar_id":"","url":"https://api.github.com/users/mickayz","html_url":"https://github.com/mickayz","followers_url":"https://api.github.com/users/mickayz/followers","following_url":"https://api.github.com/users/mickayz/following{/other_user}","gists_url":"https://api.github.com/users/mickayz/gists{/gist_id}","starred_url":"https://api.github.com/users/mickayz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickayz/subscriptions","organizations_url":"https://api.github.com/users/mickayz/orgs","repos_url":"https://api.github.com/users/mickayz/repos","events_url":"https://api.github.com/users/mickayz/events{/privacy}","received_events_url":"https://api.github.com/users/mickayz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-12T18:29:58Z","updated_at":"2018-12-12T18:29:58Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"## Description\r\n\r\nThe current build on docker fails to run and produces a stack trace\r\n\r\n## How to Reproduce\r\n\r\nRun the following with any target solidity file\r\n\r\n```\r\ndocker run --rm -v $(pwd):/tmp mythril/myth -x /tmp/target.sol\r\n```\r\n\r\nObserve the stack trace:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/usr/local/bin/myth\", line 11, in <module>\r\n    load_entry_point('mythril==0.19.10', 'console_scripts', 'myth')()\r\n  File \"/usr/local/lib/python3.6/dist-packages/mythril-0.19.10-py3.6.egg/mythril/interfaces/cli.py\", line 293, in main\r\n    enable_online_lookup=args.query_signature,\r\n  File \"/usr/local/lib/python3.6/dist-packages/mythril-0.19.10-py3.6.egg/mythril/mythril.py\", line 97, in __init__\r\n    self.mythril_dir = self._init_mythril_dir()\r\n  File \"/usr/local/lib/python3.6/dist-packages/mythril-0.19.10-py3.6.egg/mythril/mythril.py\", line 130, in _init_mythril_dir\r\n    copyfile(str(parent_dir / \"signatures.db\"), db_path)\r\n  File \"/usr/lib/python3.6/shutil.py\", line 120, in copyfile\r\n    with open(src, 'rb') as fsrc:\r\nFileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.6/dist-packages/mythril-0.19.10-py3.6.egg/signatures.db'\r\n```\r\n\r\nThe following target.sol was used in this example:\r\n\r\nhttps://gist.github.com/mickayz/4d58ed15edc60d301a4f60fe193e1212\r\n\r\n## Expected behavior\r\n\r\nNo crash\r\n\r\n## Environment\r\n\r\nLatest Docker image running 0.19.10"}}
{"actor":{"display_login":"mickayz"}}