scorelab / BellyDynamic

BellyDynamic: A scalable data structure to handle online and offline dynamic graph objects
Apache License 2.0
12 stars 63 forks source link

Issuses on BellyDynamic ( bash file) #42

Open 0xHieu opened 5 years ago

0xHieu commented 5 years ago

Firstly, When I run sudo bash install-snap-python.sh for installing snap-python screenshot from 2018-11-27 22-49-21

--2018-11-27 22:49:10--  https://snap.stanford.edu/snappy/release/snap-4.0.0-4.0-centos6.5-x64-py2.6.tar.gz
Resolving snap.stanford.edu (snap.stanford.edu)... 171.64.75.80
Connecting to snap.stanford.edu (snap.stanford.edu)|171.64.75.80|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-11-27 22:49:11 ERROR 404: Not Found.

tar (child): snap-4.0.0-4.0-centos6.5-x64-py2.6.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
install-snap-python.sh: line 4: cd: snap-4.0.0-4.0-centos6.5-x64-py2.6: No such file or directory
python: can't open file 'setup.py': [Errno 2] No such file or directory
cp: cannot stat 'snap.py': No such file or directory
cp: cannot stat '_snap.so': No such file or directory
chmod: cannot access '../bellydynamic-travis/snap.py': No such file or directory
chmod: cannot access '../bellydynamic-travis/_snap.so': No such file or directory

Secondly, when I run sudo bash setup.sh screenshot from 2018-11-27 22-54-41

--2018-11-27 22:53:38--  https://snap.stanford.edu/snappy/release/snap-4.0.0-4.0-centos6.5-x64-py2.6.tar.gz
Resolving snap.stanford.edu (snap.stanford.edu)... 171.64.75.80
Connecting to snap.stanford.edu (snap.stanford.edu)|171.64.75.80|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2018-11-27 22:53:39 ERROR 404: Not Found.

tar (child): snap-4.0.0-4.0-centos6.5-x64-py2.6.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
setup.sh: line 5: cd: snap-4.0.0-4.0-centos6.5-x64-py2.6: No such file or directory
cp: cannot stat 'snap-4.0.0-4.0-centos6.5-x64-py2.6/snap.py': No such file or directory
cp: cannot stat 'snap-4.0.0-4.0-centos6.5-x64-py2.6/_snap.so': No such file or directory
chmod: cannot access './bellydynamic-adv/snap.py': No such file or directory
chmod: cannot access './bellydynamic-adv/_snap.so': No such file or directory

So, I view 2 file setup.sh & install-snap-python.sh and compare with version on http://snap.stanford.edu and I changed snap version 4.1.0 in 2 file. And it worked successfully. screenshot from 2018-11-27 23-26-11

0xHieu commented 5 years ago

My pull request for this issues: https://github.com/scorelab/BellyDynamic/pull/43