ethereum / ethereum/py-solc

compile_files return error when calling with --output-dir=<path> param

Open
#69 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
195
Forks
77
PR merge metrics
No merged PRs in 30d

Description

* `py-solc` Version: 3.2.0
* `solc` Version: 0.4.21
* Python Version: 3.6.5
* OS: linux

When calling compile_files method with --output-dir= param:

stdoutdata, stderrdata, command, proc = solc_wrapper(**compiler_kwargs)

stdoutdata is None, then contracts = _parse_compiler_output(stdoutdata) will throw exception in code:
def _parse_compiler_output(stdoutdata):
output = **json.loads(stdoutdata)**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.