kelsos / test-environment-scripts

A collection of scripts used to bootstrap a test raiden envirnoment. (gist is harder to update)
MIT License
1 stars 2 forks source link

raiden-up fails. Maybe because virtualenvwrapper.sh is installed somewhere else. #4

Closed pirapira closed 5 years ago

pirapira commented 5 years ago
(test-scripts) skk% raiden-up -n rinkeby -a 0 -e production -l y                                            (git)-[specify_version]  ~/src/test-environment-scripts
Using RPC endpoint 
using local transport
logs will be stored at /home/yoichi/src/test-environment-scripts/logs/4/production/account1
Starting network rinkeby on configuration production with account account1
Activating virtual enviroment
/home/yoichi/src/test-environment-scripts//raiden-up.sh: line 110: /usr/bin/virtualenvwrapper.sh: No such file or directory
/home/yoichi/src/test-environment-scripts//raiden-up.sh: line 111: workon: command not found
webui should be available shortly at http://localhost:5100
/home/yoichi/src/test-environment-scripts//raiden-up.sh: line 129: raiden: command not found
pirapira commented 5 years ago

@kelsos which sounds more reasonable?

kelsos commented 5 years ago

@pirapira I would guess the more reasonable approach would be not to tie the script to virtualenvwrapper at all. I will go on an modify the script so that it can be used with virtualenv too

pirapira commented 5 years ago

I'll test the current script. Thanks.

pirapira commented 5 years ago

I still see a similar failure but pip install virtualenvwrapper fixes it. Maybe this should be documented.

pirapira commented 5 years ago

Before pip install virtualenvwrapper I see

/home/yoichi/src/test-environment-scripts//raiden-up.sh: line 110: source: filename argument required
kelsos commented 5 years ago

OK I will add it as information and I will also try removing virtualenvwrapper from the system to test

kelsos commented 5 years ago

@pirapira I also added information about installing virtualenvwrapper so it should be safe to close this issue right?