{"action":"created","issue":{"url":"https://api.github.com/repos/pipermerriam/populus/issues/193","repository_url":"https://api.github.com/repos/pipermerriam/populus","labels_url":"https://api.github.com/repos/pipermerriam/populus/issues/193/labels{/name}","comments_url":"https://api.github.com/repos/pipermerriam/populus/issues/193/comments","events_url":"https://api.github.com/repos/pipermerriam/populus/issues/193/events","html_url":"https://github.com/pipermerriam/populus/issues/193","id":180939137,"number":193,"title":"Cannot deploy to testrpc","user":{"login":"clawoflight","id":1181744,"avatar_url":"https://avatars.githubusercontent.com/u/1181744?v=3","gravatar_id":"","url":"https://api.github.com/users/clawoflight","html_url":"https://github.com/clawoflight","followers_url":"https://api.github.com/users/clawoflight/followers","following_url":"https://api.github.com/users/clawoflight/following{/other_user}","gists_url":"https://api.github.com/users/clawoflight/gists{/gist_id}","starred_url":"https://api.github.com/users/clawoflight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clawoflight/subscriptions","organizations_url":"https://api.github.com/users/clawoflight/orgs","repos_url":"https://api.github.com/users/clawoflight/repos","events_url":"https://api.github.com/users/clawoflight/events{/privacy}","received_events_url":"https://api.github.com/users/clawoflight/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-10-04T16:16:37Z","updated_at":"2016-10-06T15:12:27Z","closed_at":"2016-10-05T21:55:09Z","body":"* Populus Version: 1.2.0\r\n* OS: Arch Linux\r\n\r\n### What was wrong?\r\n\r\nI cannot deploy to testrpc (or run tests, for the same reason).\r\nDeployment to my custom blockchain, which I created by hand with Geth, *seems* to work, but I haven't been able to actually interact with the contract yet.\r\n\r\nI also get some warnings and an error from Python, but they always occur with populus (even when calling --help) and don't seem to affect anything.\r\n\r\nOutput (GH won't take it as a file for some reason):\r\n```\r\n$populus deploy Owned \r\n/usr/lib/python3.5/site-packages/Crypto/Hash/keccak.py:139: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)\r\n  c_size_t(self.digest_size))\r\n/usr/lib/python3.5/site-packages/Crypto/Hash/keccak.py:139: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)\r\n  c_size_t(self.digest_size))\r\nAvailable Chains\r\n----------------\r\n0 - development\r\n1 - mainnet\r\n2 - morden\r\n3 - temp\r\n4 - testrpc\r\n\r\nEnter ether the name, or number of the desired chain: 4\r\nBeginning contract deployment.  Deploying 1 total contracts (1 Specified, 0 because of library dependencies).\r\n\r\nOwned\r\nDeploying Owned\r\n/usr/lib/python3.5/site-packages/secp256k1/__init__.py:228: UserWarning: implicit cast from 'char *' to a different pointer type: will be forbidden in the future (check that the types are as you expect; use an explicit ffi.cast() if they are correct)\r\n  self.ctx, res_compressed, outlen, self.public_key, compflag)\r\nDeploy Transaction Sent: 0xd5e63165c70d7050a60773fc35198f96cee8af5758c2bf6aa3e9f1053e7abdde\r\nWaiting for confirmation...\r\n\r\nTransaction Mined\r\n=================\r\nTx Hash      : 0xd5e63165c70d7050a60773fc35198f96cee8af5758c2bf6aa3e9f1053e7abdde\r\nAddress      : 0xc305c901078781c232a2a521c2af7980f8385ee9\r\nGas Provided : 261051\r\nGas Used     : 161051\r\n\r\n\r\nVerifying deployed bytecode...\r\nVerified contract bytecode @ 0xc305c901078781c232a2a521c2af7980f8385ee9 matches expected runtime bytecode\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/populus\", line 11, in <module>\r\n    sys.exit(main())\r\n  File \"/usr/lib/python3.5/site-packages/click/core.py\", line 716, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/usr/lib/python3.5/site-packages/click/core.py\", line 696, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/usr/lib/python3.5/site-packages/click/core.py\", line 1060, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/usr/lib/python3.5/site-packages/click/core.py\", line 889, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/usr/lib/python3.5/site-packages/click/core.py\", line 534, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/usr/lib/python3.5/site-packages/click/decorators.py\", line 17, in new_func\r\n    return f(get_current_context(), *args, **kwargs)\r\n  File \"/usr/lib/python3.5/site-packages/populus/cli/deploy_cmd.py\", line 182, in deploy\r\n    register_txn_hash = chain.registrar.transact().setAddress(\r\n  File \"/usr/lib/python3.5/site-packages/populus/utils/functional.py\", line 50, in __get__\r\n    res = instance.__dict__[self.name] = self.func(instance)\r\n  File \"/usr/lib/python3.5/site-packages/populus/chain.py\", line 526, in registrar\r\n    deploy_txn_hash = self.RegistrarFactory.deploy()\r\n  File \"/usr/lib/python3.5/site-packages/populus/chain.py\", line 207, in RegistrarFactory\r\n    return get_compiled_registrar_contract(self.web3)\r\n  File \"/usr/lib/python3.5/site-packages/populus/migrations/registrar.py\", line 116, in get_compiled_registrar_contract\r\n    compiled_contracts = compile_source(REGISTRAR_SOURCE)\r\n  File \"/usr/lib/python3.5/site-packages/solc/main.py\", line 105, in compile_source\r\n    **kwargs\r\n  File \"/usr/lib/python3.5/site-packages/solc/utils/string.py\", line 91, in inner\r\n    return force_obj_to_text(fn(*args, **kwargs))\r\n  File \"/usr/lib/python3.5/site-packages/solc/wrapper.py\", line 160, in solc_wrapper\r\n    raise CompileError(error_message)\r\nsolc.exceptions.CompileError: Compilation Failed\r\n> command: `solc --combined-json abi,asm,ast,bin,bin-runtime,clone-bin,devdoc,interface,opcodes,userdoc`\r\n> return code: `1`\r\n> stderr:\r\nb'Unknown exception during compilation.\\n'\r\n> stdout:\r\nb''\r\nException ignored in: <bound method state.__del__ of <ethereum.tester.state object at 0x7f661b62fd68>>\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.5/site-packages/ethereum/tester.py\", line 187, in __del__\r\nAttributeError: 'NoneType' object has no attribute 'rmtree'\r\n```\r\n\r\n#### Cute Animal Picture\r\n\r\n![Wolf](https://c3.staticflickr.com/6/5058/5390974466_4582cddf41_b.jpg)\r\n"},"comment":{"url":"https://api.github.com/repos/pipermerriam/populus/issues/comments/251992923","html_url":"https://github.com/pipermerriam/populus/issues/193#issuecomment-251992923","issue_url":"https://api.github.com/repos/pipermerriam/populus/issues/193","id":251992923,"user":{"login":"pipermerriam","id":824194,"avatar_url":"https://avatars.githubusercontent.com/u/824194?v=3","gravatar_id":"","url":"https://api.github.com/users/pipermerriam","html_url":"https://github.com/pipermerriam","followers_url":"https://api.github.com/users/pipermerriam/followers","following_url":"https://api.github.com/users/pipermerriam/following{/other_user}","gists_url":"https://api.github.com/users/pipermerriam/gists{/gist_id}","starred_url":"https://api.github.com/users/pipermerriam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pipermerriam/subscriptions","organizations_url":"https://api.github.com/users/pipermerriam/orgs","repos_url":"https://api.github.com/users/pipermerriam/repos","events_url":"https://api.github.com/users/pipermerriam/events{/privacy}","received_events_url":"https://api.github.com/users/pipermerriam/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T15:12:27Z","updated_at":"2016-10-06T15:12:27Z","body":"As for building from source, you *might* look at this gross little script that I'm using for CI.  Might help.  https://github.com/pipermerriam/py-solc/blob/master/bin/install_solc.sh\r\n\r\nAlso, how on earth do you use Arch.  I was under the impression that you needed to have completed many years of wizard school to be able to use arch and that it was beyond reach of us mere muggles."}}
{"actor":{"display_login":"pipermerriam"}}