{"action":"created","issue":{"url":"https://api.github.com/repos/ConsenSys/mythril/issues/155","repository_url":"https://api.github.com/repos/ConsenSys/mythril","labels_url":"https://api.github.com/repos/ConsenSys/mythril/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/ConsenSys/mythril/issues/155/comments","events_url":"https://api.github.com/repos/ConsenSys/mythril/issues/155/events","html_url":"https://github.com/ConsenSys/mythril/issues/155","id":318668110,"number":155,"title":"Python TypeError","user":{"login":"paulkeogh","id":602364,"avatar_url":"https://avatars1.githubusercontent.com/u/602364?v=4","gravatar_id":"","url":"https://api.github.com/users/paulkeogh","html_url":"https://github.com/paulkeogh","followers_url":"https://api.github.com/users/paulkeogh/followers","following_url":"https://api.github.com/users/paulkeogh/following{/other_user}","gists_url":"https://api.github.com/users/paulkeogh/gists{/gist_id}","starred_url":"https://api.github.com/users/paulkeogh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulkeogh/subscriptions","organizations_url":"https://api.github.com/users/paulkeogh/orgs","repos_url":"https://api.github.com/users/paulkeogh/repos","events_url":"https://api.github.com/users/paulkeogh/events{/privacy}","received_events_url":"https://api.github.com/users/paulkeogh/received_events","type":"User","site_admin":false},"labels":[{"id":695308627,"url":"https://api.github.com/repos/ConsenSys/mythril/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"b-mueller","id":5194767,"avatar_url":"https://avatars1.githubusercontent.com/u/5194767?v=4","gravatar_id":"","url":"https://api.github.com/users/b-mueller","html_url":"https://github.com/b-mueller","followers_url":"https://api.github.com/users/b-mueller/followers","following_url":"https://api.github.com/users/b-mueller/following{/other_user}","gists_url":"https://api.github.com/users/b-mueller/gists{/gist_id}","starred_url":"https://api.github.com/users/b-mueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-mueller/subscriptions","organizations_url":"https://api.github.com/users/b-mueller/orgs","repos_url":"https://api.github.com/users/b-mueller/repos","events_url":"https://api.github.com/users/b-mueller/events{/privacy}","received_events_url":"https://api.github.com/users/b-mueller/received_events","type":"User","site_admin":false},"assignees":[{"login":"b-mueller","id":5194767,"avatar_url":"https://avatars1.githubusercontent.com/u/5194767?v=4","gravatar_id":"","url":"https://api.github.com/users/b-mueller","html_url":"https://github.com/b-mueller","followers_url":"https://api.github.com/users/b-mueller/followers","following_url":"https://api.github.com/users/b-mueller/following{/other_user}","gists_url":"https://api.github.com/users/b-mueller/gists{/gist_id}","starred_url":"https://api.github.com/users/b-mueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-mueller/subscriptions","organizations_url":"https://api.github.com/users/b-mueller/orgs","repos_url":"https://api.github.com/users/b-mueller/repos","events_url":"https://api.github.com/users/b-mueller/events{/privacy}","received_events_url":"https://api.github.com/users/b-mueller/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-04-28T20:56:11Z","updated_at":"2018-05-08T05:08:29Z","closed_at":"2018-05-08T05:08:29Z","author_association":"NONE","body":"I get the following output for;\r\n\r\nmyth -xo json -c <bytecode>\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"/home/ubuntu/.local/bin/myth\", line 433, in <module>\r\n    'markdown': report.as_markdown() or \"The analysis was completed successfully. No issues were detected.\"\r\n  File \"/home/ubuntu/.local/lib/python3.5/site-packages/mythril/analysis/report.py\", line 95, in as_markdown\r\n    text += \"# Analysis results for \" + issue.filename\r\nTypeError: Can't convert 'NoneType' object to str implicitly\r\n```\r\n\r\nThe bytecode is a random contract taken from the Ropsten chain of;\r\n\r\n0x60606040525b33600060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055506000600260006101000a81548160ff021916908302179055505b610511806100586000396000f36060604052361561008a576000357c0100000000000000000000000000000000000000000000000000000000900480631ff1292f1461008f578063502a26a1146100ac57806383197ef0146100c95780638da5cb5b146100dd5780639ce6582d1461011b578063b8f7a6651461014e578063e592174114610178578063f832d308146101a25761008a565b610002565b34610002576100aa60048080359060200190919050506101bf565b005b34610002576100c76004808035906020019091905050610238565b005b34610002576100db6004805050610300565b005b34610002576100ef600480505061039a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b346100025761013660048080359060200190919050506103c0565b60405180821515815260200191505060405180910390f35b3461000257610160600480505061041f565b60405180821515815260200191505060405180910390f35b346100025761018a600480505061042d565b60405180821515815260200191505060405180910390f35b34610002576101bd6004808035906020019091905050610449565b005b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561021b57610002565b80600260006101000a81548160ff021916908302179055505b5b50565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561029457610002565b60008173ffffffffffffffffffffffffffffffffffffffff1614156102b857610002565b6001600160005060008373ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908302179055505b5b50565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561035c57610002565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b5b565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260009054906101000a900460ff16806104135750600160005060008373ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b905061041a565b919050565b60006001905061042a565b90565b6000600260009054906101000a900460ff169050610446565b90565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156104a557610002565b60008173ffffffffffffffffffffffffffffffffffffffff1614156104c957610002565b6000600160005060008373ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908302179055505b5b5056"},"comment":{"url":"https://api.github.com/repos/ConsenSys/mythril/issues/comments/387285943","html_url":"https://github.com/ConsenSys/mythril/issues/155#issuecomment-387285943","issue_url":"https://api.github.com/repos/ConsenSys/mythril/issues/155","id":387285943,"user":{"login":"b-mueller","id":5194767,"avatar_url":"https://avatars1.githubusercontent.com/u/5194767?v=4","gravatar_id":"","url":"https://api.github.com/users/b-mueller","html_url":"https://github.com/b-mueller","followers_url":"https://api.github.com/users/b-mueller/followers","following_url":"https://api.github.com/users/b-mueller/following{/other_user}","gists_url":"https://api.github.com/users/b-mueller/gists{/gist_id}","starred_url":"https://api.github.com/users/b-mueller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b-mueller/subscriptions","organizations_url":"https://api.github.com/users/b-mueller/orgs","repos_url":"https://api.github.com/users/b-mueller/repos","events_url":"https://api.github.com/users/b-mueller/events{/privacy}","received_events_url":"https://api.github.com/users/b-mueller/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T05:08:29Z","updated_at":"2018-05-08T05:08:29Z","author_association":"MEMBER","body":"Seems to work fine with current master:\r\n\r\n```\r\n$ $MYTH -xo json -c \"0x60606040525b33600060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908302179055506000600260006101000a81548160ff021916908302179055505b610511806100586000396000f36060604052361561008a576000357c0100000000000000000000000000000000000000000000000000000000900480631ff1292f1461008f578063502a26a1146100ac57806383197ef0146100c95780638da5cb5b146100dd5780639ce6582d1461011b578063b8f7a6651461014e578063e592174114610178578063f832d308146101a25761008a565b610002565b34610002576100aa60048080359060200190919050506101bf565b005b34610002576100c76004808035906020019091905050610238565b005b34610002576100db6004805050610300565b005b34610002576100ef600480505061039a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b346100025761013660048080359060200190919050506103c0565b60405180821515815260200191505060405180910390f35b3461000257610160600480505061041f565b60405180821515815260200191505060405180910390f35b346100025761018a600480505061042d565b60405180821515815260200191505060405180910390f35b34610002576101bd6004808035906020019091905050610449565b005b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561021b57610002565b80600260006101000a81548160ff021916908302179055505b5b50565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561029457610002565b60008173ffffffffffffffffffffffffffffffffffffffff1614156102b857610002565b6001600160005060008373ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908302179055505b5b50565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561035c57610002565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16ff5b5b565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260009054906101000a900460ff16806104135750600160005060008373ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b905061041a565b919050565b60006001905061042a565b90565b6000600260009054906101000a900460ff169050610446565b90565b600060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156104a557610002565b60008173ffffffffffffffffffffffffffffffffffffffff1614156104c957610002565b6000600160005060008373ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908302179055505b5b5056\"\r\n^[{\"success\": true, \"error\": null, \"issues\": []}\r\n```"}}
{"actor":{"display_login":"b-mueller"}}