Recursive Download Loop
Quote from Deleted user on 2022-04-19, 8:35 AMWhen downloading the "Ventoy_for_E2B_Latest.zip" fails and fallbacks to the official version, it begins to download all ISO files of the Ventoy from the latest version down to older versions. As of current time it initiates this download sequence:
- ventoy-1.0.73-livecd.iso
- ventoy-1.0.72-livecd.iso
- ventoy-1.0.71-livecd.iso
- ....
The following part of the script "Update_to_latest_Ventoy_version.cmd" is engaged (snippet from lines 47 to 50):
if exist fred*.txt del fred*.txt
echo Latest is "%VER%"
echo Downloading %VER%...
wget -t 3 -q -e robots=off -R "index.html*" -A "%VER%" -r -l1 -nd https://github.com/ventoy/Ventoy/releases/
When downloading the "Ventoy_for_E2B_Latest.zip" fails and fallbacks to the official version, it begins to download all ISO files of the Ventoy from the latest version down to older versions. As of current time it initiates this download sequence:
- ventoy-1.0.73-livecd.iso
- ventoy-1.0.72-livecd.iso
- ventoy-1.0.71-livecd.iso
- ....
The following part of the script "Update_to_latest_Ventoy_version.cmd" is engaged (snippet from lines 47 to 50):
if exist fred*.txt del fred*.txt
echo Latest is "%VER%"
echo Downloading %VER%...
wget -t 3 -q -e robots=off -R "index.html*" -A "%VER%" -r -l1 -nd https://github.com/ventoy/Ventoy/releases/
Quote from SteveSi on 2022-04-19, 8:54 AMAre you using latest version of agFM and Easy2Boot?
Are you using \e2b\Update agFM\Make_Latest_Ventoy_Partition_Image.cmd
Works OK for me and no one else has complained...
Are you using latest version of agFM and Easy2Boot?
Are you using \e2b\Update agFM\Make_Latest_Ventoy_Partition_Image.cmd
Works OK for me and no one else has complained...
Quote from Deleted user on 2022-04-20, 5:14 AMYes of course, I am trying with a fresh instance of latest version (2.12) of Easy2Boot (so agFM also auto-downloads at latest version, right?). Now just a guess, at the snippet from line 8 and 9 below we have:
echo Downloading 'Ventoy for Easy2Boot' version - please wait...
set approx_size=11So the anticipated size appears to be about 11MB, while the downloaded iso versions are about 170~190MB each. Just a guess: May be somewhere[else] we think the download is invalid and try another version? (Of course it is not in the script itself ; because firstly it is checks the size not to be smaller then 11MB, which is not, as well as it seems to go to EOF on these kind of errors).
If the update script is not being called from some parent process in a loop, then I have no reasons how this could even happen!. I will explore more....
Yes of course, I am trying with a fresh instance of latest version (2.12) of Easy2Boot (so agFM also auto-downloads at latest version, right?). Now just a guess, at the snippet from line 8 and 9 below we have:
echo Downloading 'Ventoy for Easy2Boot' version - please wait...
set approx_size=11
So the anticipated size appears to be about 11MB, while the downloaded iso versions are about 170~190MB each. Just a guess: May be somewhere[else] we think the download is invalid and try another version? (Of course it is not in the script itself ; because firstly it is checks the size not to be smaller then 11MB, which is not, as well as it seems to go to EOF on these kind of errors).
If the update script is not being called from some parent process in a loop, then I have no reasons how this could even happen!. I will explore more....
Quote from SteveSi on 2022-04-20, 8:50 AMNo one else has reported a problem.
Make_e2b should download agFM and then download Ventoy.
Can you think why only you have a problem?
No one else has reported a problem.
Make_e2b should download agFM and then download Ventoy.
Can you think why only you have a problem?