energywebfoundation / ew-link-origin

The EWF-link origin app integrates green energy assets to the coo smart-contracts.
http://origin.energyweb.org/
GNU General Public License v3.0
13 stars 9 forks source link

python bond.py --> Permission denied: '/mnt/data' #8

Closed drandreaskrueger closed 6 years ago

drandreaskrueger commented 6 years ago
git clone https://github.com/energywebfoundation/bond.git energywebfoundation_bond
cd energywebfoundation_bond/bond
source ../../../../envs/EWF-venv/bin/activate
python bond.py 

-->

python bond.py 

Traceback (most recent call last):
  File "bond.py", line 1, in <module>
    import core.helper as core
  File ".../energywebfoundation_bond/bond/core/helper.py", line 22, in <module>
    os.makedirs(PERSISTENCE)
  File ".../EWF-venv/lib/python3.5/os.py", line 231, in makedirs
    makedirs(head, mode, exist_ok)
  File ".../EWF-venv/lib/python3.5/os.py", line 241, in makedirs
    mkdir(name, mode)

PermissionError: [Errno 13] Permission denied: '/mnt/data'

? how can I try out Bond? (not "Deploying on hardware", but "Running on local environment")

drandreaskrueger commented 6 years ago

same error with

python dyn_load_mods.py 

and

python simulator.py
cerealkill commented 6 years ago

Just change PERSISTENCE path in helper.py.