PySonar
PySonar copied to clipboard
ModelRepository.abi file is missing
Code: https://github.com/OpenMined/PySonar/blob/master/sonar/contracts.py#L118
Screenshot:

Sorry, my bad didn't follow the instructions properly.
make import-abi
Super excited about this project.
Error still exists even after running the make command

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

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

Tried to hardcode location but that failed too

Not able to figure out what exactly is the problem here? I am trying to run this notebook
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.
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.
No luck with docker-compose too. PFB the error :

Looks like some kind of version problem.