Skip to content
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

运行main.py时找不到abi #51

Open
chenlizhi1205 opened this issue May 22, 2024 · 2 comments
Open

运行main.py时找不到abi #51

chenlizhi1205 opened this issue May 22, 2024 · 2 comments

Comments

@chenlizhi1205
Copy link

找不到abo的地址
Uploading 91cdd90803bf1a06c155dd08cf9375c.png…

@chenlizhi1205
Copy link
Author

Uploading 91cdd90803bf1a06c155dd08cf9375c.png…

@chenlizhi1205
Copy link
Author

2024-05-22 16:23:46.050939: I tensorflow/stream_executor/platform/default/dso_loader.cc:49] Successfully opened dynamic library libcudart.so.11.0
WARNING:tensorflow:From /home/h3c/miniconda3/envs/BFLC/lib/python3.7/site-packages/tensorflow/python/compat/v2_compat.py:96: disable_resource_variables (from tensorflow.python.ops.variable_scope) is deprecated and will be removed in a future version.
Instructions for updating:
non-resource variables are not supported in the long term
INFO >> compile with nodejs compiler
YError: Invalid first argument. Expected boolean or string but received function.
at argumentTypeError (/usr/share/nodejs/yargs/lib/argsert.js:67:9)
at parsed.optional.forEach (/usr/share/nodejs/yargs/lib/argsert.js:49:39)
at Array.forEach ()
at argsert (/usr/share/nodejs/yargs/lib/argsert.js:44:21)
at Object.version (/usr/share/nodejs/yargs/yargs.js:857:5)
at Object. (/home/h3c/clz/BFLC/python-sdk-master/solcjs:46:4)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
Traceback (most recent call last):
File "main.py", line 76, in
data_parser.load_abi_file(abi_file)
File "/home/h3c/clz/BFLC/python-sdk-master/client/datatype_parser.py", line 60, in load_abi_file
with open(abi_file, 'r') as load_f:
FileNotFoundError: [Errno 2] No such file or directory: 'contracts/CommitteePrecompiled.abi'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant