You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 21, 2021. It is now read-only.
Traceback (most recent call last):
File "deploy_contract_and_test.py", line 32, in
compiled_sol = compile_source(contract_source_code)
File "/usr/local/lib/python3.6/dist-packages/solc/main.py", line 108, in compile_source
stdoutdata, stderrdata, command, proc = solc_wrapper(**compiler_kwargs)
File "/usr/local/lib/python3.6/dist-packages/solc/utils/string.py", line 85, in inner
return force_obj_to_text(fn(*args, **kwargs))
File "/usr/local/lib/python3.6/dist-packages/solc/wrapper.py", line 159, in solc_wrapper
stderr=subprocess.PIPE)
File "/usr/lib/python3.6/subprocess.py", line 709, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'solc': 'solc'
The text was updated successfully, but these errors were encountered:
Above issue resolved. Now I am getting below compilation error.
Vostro-1450:~/file-on-blockchain-master/example$ python3 deploy_contract_and_test.py solc --combined-json bin
Traceback (most recent call last):
File "deploy_contract_and_test.py", line 32, in
compiled_sol = compile_source(contract_source_code)
File "/usr/local/lib/python3.6/dist-packages/solc/main.py", line 108, in compile_source
stdoutdata, stderrdata, command, proc = solc_wrapper(**compiler_kwargs)
File "/usr/local/lib/python3.6/dist-packages/solc/utils/string.py", line 85, in inner
return force_obj_to_text(fn(*args, **kwargs))
File "/usr/local/lib/python3.6/dist-packages/solc/wrapper.py", line 169, in solc_wrapper
stderr_data=stderrdata,
solc.exceptions.SolcError: An error occurred during execution
python3 deploy_contract_and_test.py
Traceback (most recent call last):
File "deploy_contract_and_test.py", line 32, in
compiled_sol = compile_source(contract_source_code)
File "/usr/local/lib/python3.6/dist-packages/solc/main.py", line 108, in compile_source
stdoutdata, stderrdata, command, proc = solc_wrapper(**compiler_kwargs)
File "/usr/local/lib/python3.6/dist-packages/solc/utils/string.py", line 85, in inner
return force_obj_to_text(fn(*args, **kwargs))
File "/usr/local/lib/python3.6/dist-packages/solc/wrapper.py", line 159, in solc_wrapper
stderr=subprocess.PIPE)
File "/usr/lib/python3.6/subprocess.py", line 709, in init
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'solc': 'solc'
The text was updated successfully, but these errors were encountered: