gtoolkit icon indicating copy to clipboard operation
gtoolkit copied to clipboard

Failed linux installation of v0.8.1375 using curl

Open duchainer opened this issue 2 years ago • 5 comments

I'll retry to see if it is a fluke but here is the terminal output:

➜  ~ GTOOLKIT_UPDATE
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   155  100   155    0     0    281      0 --:--:-- --:--:-- --:--:--   281
🔍 Checking the system...
📥 Downloading GlamorousToolkit App (v0.2.57)...
done ██████████ 1/1
[########################################] 34.56MiB/34.56MiB - GlamorousToolkitApp-v0.2.57.zip
📦 Extracting GlamorousToolkit App (v0.2.57)...
done ██████████ 1/1
[########################################] 100% - GlamorousToolkitApp-v0.2.57.zip
📥 Downloading files...
done ██████████ 2/2
[########################################] 9.78MiB/9.78MiB - pharo-vm.zip
[########################################] 23.45MiB/23.45MiB - pharo-image.zip
📦 Extracting files...
done ██████████ 2/2
[########################################] 100% - pharo-image.zip
[########################################] 100% - pharo-vm.zip
🚚 Moving files...
📝 Creating build scripts...
🔨 Preparing the image...

[1/2] ✅  Finished "load-patches.st"
[2/2] ✅  Finished "load-taskit.st"
🔨 Building Glamorous Toolkit...
Error: Error { what: "Script load-gt.st failed. See install.log or install-errors.log for more info", source: None }
'latest_version' -> '2022-04-09'
➜  gtoolkit alias GTOOLKIT_UPDATE
GTOOLKIT_UPDATE='wd gtoolkit; curl https://dl.feenk.com/scripts/linux.sh | bash ; mv glamoroustoolkit "$(date -u +"%Y-%m-%d")"; ln -sfTv "$(date -u +"%Y-%m-%d")" latest_version'

And the logs mentioned on error: install.log install-errors.log

duchainer avatar Apr 09 '22 15:04 duchainer

Yeah, Failed a second time, using the same alias, though it could have been the new latest version "v0.8.1376" at that time:

➜  latest_version GTOOLKIT_UPDATE
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   155  100   155    0     0    245      0 --:--:-- --:--:-- --:--:--   245
🔍 Checking the system...
📥 Downloading GlamorousToolkit App (v0.2.57)...
done ██████████ 1/1
[########################################] 34.56MiB/34.56MiB - GlamorousToolkitApp-v0.2.57.zip
📦 Extracting GlamorousToolkit App (v0.2.57)...
done ██████████ 1/1
[########################################] 100% - GlamorousToolkitApp-v0.2.57.zip
📥 Downloading files...
done ██████████ 2/2
[########################################] 23.45MiB/23.45MiB - pharo-image.zip
[########################################] 9.78MiB/9.78MiB - pharo-vm.zip
📦 Extracting files...
done ██████████ 2/2
[########################################] 100% - pharo-image.zip
[########################################] 100% - pharo-vm.zip
🚚 Moving files...
📝 Creating build scripts...
🔨 Preparing the image...
[1/2] ✅  Finished "load-patches.st"
[2/2] ✅  Finished "load-taskit.st"
🔨 Building Glamorous Toolkit...
Error: Error { what: "Script load-gt.st failed. See install.log or install-errors.log for more info", source: None }
'latest_version' -> '2022-04-09'

install.log install-errors.log

duchainer avatar Apr 09 '22 15:04 duchainer

Thanks for the issue! Could you make sure that you execute the script in an empty folder or remove gt-installer executable from the folder?

syrel avatar Apr 09 '22 15:04 syrel

Ok, running curl https://dl.feenk.com/scripts/linux.sh | bash in an empty directory.

duchainer avatar Apr 09 '22 16:04 duchainer

Seems to work as expect, so it may be that it doesn't overwrite the previous gt-installer ?

➜  gtoolkit mkdir test
➜  gtoolkit cd test
➜  test ls
➜  test curl https://dl.feenk.com/scripts/linux.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   155  100   155    0     0    178      0 --:--:-- --:--:-- --:--:--   178
🔍 Checking the system...
📥 Downloading files...
done ██████████ 3/3
[########################################] 34.56MiB/34.56MiB - GlamorousToolkitApp-v0.2.57.zip
[########################################] 9.78MiB/9.78MiB - pharo-vm.zip
[########################################] 23.52MiB/23.52MiB - seed-image.zip
📦 Extracting files...
done ██████████ 3/3
[########################################] 100% - GlamorousToolkitApp-v0.2.57.zip
[########################################] 100% - pharo-vm.zip
[########################################] 100% - seed-image.zip
🚚 Moving files...
📝 Creating build scripts...
🔨 Preparing the image...
[1/2] ✅  Finished "load-patches.st"
[2/2] ✅  Finished "load-shims.st"
🔨 Building Glamorous Toolkit...
[1/1] ✅  Finished "load-gt-main.st"
✨  Done in 8 minutes
📝 Setting up for local build...
🔨 Setting up GtWorld...
To start GlamorousToolkit run:
  cd "/mnt/[...]/programs/gtoolkit/test/glamoroustoolkit"
  bin/GlamorousToolkit
➜  test ls
glamoroustoolkit  gt-installer
➜  test glamoroustoolkit/bin/GlamorousToolkit
[Glutin] Profile #0 worked
[Glutin] Profile #0 worked

Screenshot of installed version with this:

image

duchainer avatar Apr 09 '22 17:04 duchainer

Much has changed since April. Is this problem still around?

girba avatar Jun 05 '22 18:06 girba