On 11/23/2015 03:39 PM, Esteban A. Maringolo wrote:
2015-11-23 20:25 GMT-03:00 Dale Henrichs <dale.henrichs@gemtalksystems.com>:
I've been using zero-conf scripts to download the pharo vm for a while and occasionally the download fails to install the vm in the pharo-vm directory .... silently ..... with no clue as to what happened. even worse the exit status is zero so the failure isn't noticed until much later on in my install when an attempt is made to actually use the vm .... I do know that when I see these failures the pharo-vm does get created but is empty ... +1. I've been bitten by this too.
I would also like the option of seeing the progress of the download of the sources AND vm, because sometimes I want to know how the download is going on, speed, etc.
Regards!
-- Esteban
I agree with the progress, but when running as a batch job, you end up with a ton of junk being dumped out into the log file ... getting rid of junk from a log file is how I learned about the problem with --silent:) With regards to the issue I am having --- I have hit a point in my testing (on travis) where I consistently get the:
/home/travis/build/GsDevKit/GsDevKit_home/shared/pharo/pharo: line 11: /home/travis/build/GsDevKit/GsDevKit_home/shared/pharo/pharo-vm/pharo: No such file or directory
error message yet the following appears to work:
if [ "$OS" == "win" ]; then PHARO_VM=`find $VM_DIR -name ${VM_BINARY_NAME}.exe` elif [ "$OS" == "mac" ]; then PHARO_VM=`find $VM_DIR -name ${VM_BINARY_NAME}` elif [ "$OS" == "linux" ]; then PHARO_VM=`find $VM_DIR -name ${VM_BINARY_NAME_LINUX}` fi
echo $PHARO_VM
since `pharo-vm/pharo` is properly echoed even though the file does not appear to exist? I'm digging deeper .... Dale