tokenika / eosfactory

Python-based EOS smart-contract development & testing framework
http://eosfactory.io/
Other
243 stars 62 forks source link

Unable to build any contract #126

Closed batrlatom closed 5 years ago

batrlatom commented 5 years ago

I installed eos factory into miniconda environment with python3.6 by using pip install eosfactory . Creating accounts, reseting node works fine, but I am unable to deploy any contract. Can you help me out?

Using contract from template: It freezes during the compilation

Using my own contract: File "/home/recall/miniconda3/envs/recall/lib/python3.6/site-packages/eosfactory/core/teos.py", line 130, in ABI process(command_line, target_dir) File "/home/recall/miniconda3/envs/recall/lib/python3.6/site-packages/eosfactory/core/teos.py", line 418, in process os.mkdir(cwd) FileExistsError: [Errno 17] File exists: '/home/recall/eostest/contracts/hello/../build/cwd'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "", line 1, in File "/home/recall/miniconda3/envs/recall/lib/python3.6/site-packages/eosfactory/shell/contract.py", line 48, in build_abi teos.ABI(self.contract_dir) File "/home/recall/miniconda3/envs/recall/lib/python3.6/site-packages/eosfactory/core/teos.py", line 132, in ABI raise errors.Error(str(e))

stefanzarembinski commented 5 years ago

Will you, please, install EOSFactory with its 'install.sh' inataller? The 'pip' installer is not ready yet.

batrlatom commented 5 years ago

Hi, thanks for reply. I did the clean install with 'install.sh'. But he problem at the end was not with eos factory, but was related to the number of cores for eos-cpp . Now with more than 1 cores and it works just fine. Thanks