I used wget directly from Mister, also tried downloading from my PC and scp to Mister.
All same results.
I can confirm that I downloaded the actual scripts, not the html page.
I copied this straight from Mister command line:
/media/fat/Scripts# ./update_all.sh
Launching Update All
Traceback (most recent call last):
File "/home/user/work/fpga/DE10/buildroot-2017.02/output/target/usr/lib/python3.5/runpy.py", line 184, in _run_module_as_main
File "/home/user/work/fpga/DE10/buildroot-2017.02/output/target/usr/lib/python3.5/runpy.py", line 85, in _run_code
File "/tmp/dont_download.zip/__main__.py", line 21, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "/tmp/dont_download.zip/update_all/main.py", line 21, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 958, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 664, in _load_unlocked
File "<frozen importlib._bootstrap>", line 634, in _load_backward_compatible
File "/tmp/dont_download.zip/update_all/local_repository.py", line 19, in <module>
File "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 954, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 896, in _find_spec
File "<frozen importlib._bootstrap_external>", line 1139, in find_spec
File "<frozen importlib._bootstrap_external>", line 1115, in _get_spec
File "<frozen importlib._bootstrap_external>", line 1096, in _legacy_get_spec
File "<frozen importlib._bootstrap>", line 444, in spec_from_loader
File "<frozen importlib._bootstrap_external>", line 533, in spec_from_file_location
File "/tmp/dont_download.zip/update_all/config.py", line 29
start_time: float = 0.0
^
SyntaxError: invalid syntax
Update All failed!
/media/fat/Scripts# more update_all
more: stat of update_all failed: No such file or directory
/media/fat/Scripts# more update_all.sh
#!/bin/bash
# Copyright (c) 2022 José Manuel Barroso Galindo <
theypsilon@gmail.com>
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <
http://www.gnu.org/licenses/>.
# You can download the latest version of this tool from:
#
https://github.com/theypsilon/Update_All_MiSTer
set -euo pipefail
download_file() {
local DOWNLOAD_PATH="${1}"
local DOWNLOAD_URL="${2}"
for (( COUNTER=0; COUNTER<=60; COUNTER+=1 )); do
if [ ${COUNTER} -ge 1 ] ; then
sleep 1s
fi
set +e
curl ${CURL_SSL:-} --fail --location -o "${DOWNLOAD_PATH}" "${DOWNLOAD_U
RL}" &> /dev/null
local CMD_RET=$?
set -e
case ${CMD_RET} in
0)
export CURL_SSL="${CURL_SSL:-}"
return
;;
60)
if [ -f /etc/ssl/certs/cacert.pem ] ; then
export CURL_SSL="--cacert /etc/ssl/certs/cacert.pem"
continue
fi
set +e
--More--(38%)