singnet / reputation

MIT License
11 stars 11 forks source link

#250 fix (perhaps) #258

Closed nejc9921 closed 5 years ago

nejc9921 commented 5 years ago

250 fix (perhaps)

Deborah specified the issue as:

File "/home/dduong/reputation/reputation/reputation_service_api.py", line 26, in from reputation_service_api import * ModuleNotFoundError: No module named 'reputation_service_api'

This means error at line 26, not line 28 ("from reputation_base_api import *"). So, this is a bit different nature of the problem. I also installed reputation-simulation module that Deborah created and tested the code - managed to reproduce the issue. This SHOULD fix it. Why should? Well, when I create Deborah's reputation-simulation fresh install on server, it saves the installation of reputation module in "/usr/local/lib/python3.7/site-packages/reputation/reputation_service_api.py", to which I don't have an access - so I cannot edit it. I had a similar problem around two months ago when I was first trying out her code - reputation is for some reason installed in the files inaccessible (at least for editing) to me. So, I hope this fixes the problem, it does pass unittests, but I could not test it on Deborah's code since that code directly downloads the code from Github and installs it on computer (server).

akolonin commented 5 years ago

@tiero - can you review the PR for #250 and comment or merge if Ok?