Open Marck80 opened 3 weeks ago
Hmmm. Looks like python is not in your PATH. You can edit and change "python" to "/usr/bin/python" or if that fails "/usr/bin/python3".
I'll work with @Dendrowen and try to avoid using python and update...
Changing it to:
if [ ! "${variable_iteration_z_raise}" == "" ]; then
log_info "Setting Blobifier variable_z_raise and variable_purge_length_maximum from previous settings"
variable_z_raise=$((variable_iteration_z_raise * variable_max_iterations_per_blob - $(triangular $((variable_max_iterations_per_blob - 1))) * variable_iteration_z_change))
variable_purge_length_maximum=$((variable_max_iteration_length * variable_max_iterations_per_blob))
fi
Should work, no need for python to do calculations I was just parsing/changing this code anyway for my upcoming PR :)
I just pushed an update that uses "awk" instead of "python" to avoid PATH issues. Basically it is one time logic anyway.
Unfortunately floating point calcs are difficult in borne shell.
Anyone reading ... please force an another update and the issue should be resolved.
Ah yes, forgot about the floating points :sweat_smile:
I had /usr/bin/python3 and not python… I created a symbolic link (ln -s /usr/bin/python3 /usr/bin/python) and it worked.
Thank you for this fantastic work. I am writing to report a bug that I encountered while attempting to update. Specifically, I receive an error on line 798 during the update process.
triangular is defined later