ethereum / ethereum/py-solc

Clarify solc unavailable message

Open
#40 9 comments 1 reaction 0 assignees View on GitHub
Good First Issue Good For Bounty
Dominant language
Python
Stars
195
Forks
77
PR merge metrics
No merged PRs in 30d

Description

### What was wrong?

The error message is not clear, when solc isn't available.

Examples:

- https://ethereum.stackexchange.com/questions/26192/errno-2-no-such-file-or-directory-solc-using-py-solc-and-solidity
- https://github.com/ethereum/web3.py/issues/467

Proposal: catch and reraise the exception with a note saying something like:

> The command line tool `solc` wasn't found. Try `python -m solc.install v0.4.17` or see http://solidity.readthedocs.io/en/latest/installing-solidity.html

#### Cute Animal Picture

![cute animal](http://cdn.mutually.com/wp-content/uploads/2017/07/mini-horse-filmed-sitting-in-a-high-chair-sparking-animal-rights-outragea-00_00_02_08-still013.jpg)

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.