-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error in ./compile.py #1
Comments
Hey, The python script that I wrote to compile is essentially a wrapper over the solc compiler. It compiles, gets the ABI definition of the contract and places it in a useful folder. I am pretty sure that your problem is not having the solc compiler. Please make sure you have it installed. You can test this by running:
I am currently in the process of moving the project to the Truffle framework and packaging the web app as a docker container to make the experience better. Right now things are a bit hackish. Please let me know if this fixes your problem so I can close the issue :) Also if you could pull from master that would also help. I modified some details that could be related to your issue. |
thanks, I have installed the solc compiler, now Now I run
|
I see, This project had some specific and complex cryptographic requirements. For this I used an open source library for performing mathematic operations on the SECP256K1 curve. This code was not written by me. solidity is changing fast and what was valid one day is not valid today. I will look to see if it is this library has been updated. In the meantime you could look at the file and see against what version of the solc compiler its working and try to get that specific version. Sorry I took so long, I have been fully packed at work. |
Could you tell me what is not working here, this is the error message :
Traceback (most recent call last): File "./compile.py", line 78, in <module> main() File "./compile.py", line 73, in main contract = format_contract(contract_json_string, contract_file_name) File "./compile.py", line 16, in format_contract contract = json.loads(contract) File "/usr/lib/python2.7/json/__init__.py", line 339, in loads return _default_decoder.decode(s) File "/usr/lib/python2.7/json/decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded
Thank you!
The text was updated successfully, but these errors were encountered: