PySonar icon indicating copy to clipboard operation
PySonar copied to clipboard

ModelRepository.abi file is missing

Open dvigneshwer opened this issue 8 years ago • 5 comments

Code: https://github.com/OpenMined/PySonar/blob/master/sonar/contracts.py#L118

Screenshot: image

dvigneshwer avatar Oct 09 '17 05:10 dvigneshwer

Sorry, my bad didn't follow the instructions properly.

make import-abi

Super excited about this project.

dvigneshwer avatar Oct 09 '17 06:10 dvigneshwer

Error still exists even after running the make command

image

Created abis directory and copy pasted the ModelRepository.abi file in the site-packages location

image

Able to access the ModelRepository.abi file from the contract.py directory

image

Tried to hardcode location but that failed too image

Not able to figure out what exactly is the problem here? I am trying to run this notebook

dvigneshwer avatar Oct 09 '17 12:10 dvigneshwer

Thanks for the report!

Please retry using the docker-compose way: https://github.com/OpenMined/PySonar#using-docker.

To reproduce the issue above please post the steps you took after cloning the repository to arrive at the error.

axelhodler avatar Oct 09 '17 19:10 axelhodler

Steps to reproduce the error:

Just installed the package using the command below:

sudo python3 setup.py install

where my python3 is aliased to the python3.5 bin location in .bashrc file:

alias python3='/opt/python3.5/bin/python3.5'

The package is installed in

/opt/python3.5/lib/python3.5/site-packages/sonar-0.1.0-py3.5.egg

Hope this helps.

I will get back to you with my docker experience.

dvigneshwer avatar Oct 19 '17 08:10 dvigneshwer

No luck with docker-compose too. PFB the error :

image

Looks like some kind of version problem.

dvigneshwer avatar Oct 19 '17 10:10 dvigneshwer