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
The solc-select v1.0.x seems to have a path concatenation problem on Mac ARM (m1 pro in my case). When I see the solc() function, I figure out it is a problem of the path which uses joinpath of two solc-{version}.
The problem is solved when I just change the code to path = ARTIFACTS_DIR.joinpath(f"solc-{version}").
I think #131 (comment) has the same problem I encountered. But this bug did not occur when I used v0.2.1 previously.
Traceback (most recent call last):
File "/Users/shall/anaconda3/bin/solc", line 8, in <module>
sys.exit(solc())
File "/Users/shall/anaconda3/lib/python3.8/site-packages/solc_select/__main__.py", line 91, in solc
halt_old_architecture(path)
File "/Users/shall/anaconda3/lib/python3.8/site-packages/solc_select/solc_select.py", line 30, in halt_old_architecture
raise argparse.ArgumentTypeError(
argparse.ArgumentTypeError: solc-select is out of date. Please run `solc-select upgrade`
However, when I just use:
path=ARTIFACTS_DIR.joinpath(f"solc-{version}")
It works fine.
Version:
1.0.3
Relevant log output:
No response
The text was updated successfully, but these errors were encountered:
Hi @shuo-young! v0.2.1 had a different way of storing the binaries. The newer releases use a new folder layout to store the compilers, and a mechanism to migrate over to the new format was added via solc-select upgrade. It sounds like you upgraded your solc-select installation to v1.0.3 but have not yet run solc-select upgrade to upgrade to the new on-disk format, could you try that and see if it helps?
Hi @shuo-young! v0.2.1 had a different way of storing the binaries. The newer releases use a new folder layout to store the compilers, and a mechanism to migrate over to the new format was added via solc-select upgrade. It sounds like you upgraded your solc-select installation to v1.0.3 but have not yet run solc-select upgrade to upgrade to the new on-disk format, could you try that and see if it helps?
Describe the issue:
The solc-select v1.0.x seems to have a path concatenation problem on Mac ARM (m1 pro in my case). When I see the
solc()
function, I figure out it is a problem of the path which usesjoinpath
of twosolc-{version}
.The problem is solved when I just change the code to
path = ARTIFACTS_DIR.joinpath(f"solc-{version}")
.I think #131 (comment) has the same problem I encountered. But this bug did not occur when I used v0.2.1 previously.
Code example to reproduce the issue:
Bug yields using join path of
f"solc-{version}"
.The error exists in
halt_old_architecture(path)
.However, when I just use:
It works fine.
Version:
1.0.3
Relevant log output:
No response
The text was updated successfully, but these errors were encountered: