Hi,
Thanks, but that did not work.
With the project name argument, it paniced.
Without the project name argument it cleared all, but a subsequent attempt to download failed as before,
with what appears to be an error downloading from amazonaws.com.
The resultant download area though appears to have all content, despite the status bars indicating much is left to do.
Please confirm and comment on the below session.
Thanks,
Steve
[tdsmichl@cilv6s797 ~]$ state clean cache tdsmichl/Perl-5.32.1-Linux-CentOS-Glibc-2.17
╔══════════════════════════╗
║ Cleaning Cached Runtimes ║
╚══════════════════════════╝
Please Confirm
You are about the remove the cached runtime for tdsmichl/Perl-5.32.1-Linux-CentOS-Glibc-2.17. Continue? (y/N)
y
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x108e40b]
goroutine 408 [running]:
github.com/ActiveState/cli/internal/config.(*Instance).CachePath(...)
/home/runner/work/cli/cli/internal/config/instance.go:221
github.com/ActiveState/cli/internal/runners/clean.(*Cache).removeProjectCache(0xc000704050, 0xc0001e25c0, 0x3b, 0x7ffd6f4fa6ff, 0x2c, 0x0, 0x1, 0x462a80)
/home/runner/work/cli/cli/internal/runners/clean/cache.go:87 +0x4b
github.com/ActiveState/cli/internal/runners/clean.(*Cache).Run(0xc000704050, 0xc0005bca00, 0x1, 0xc00005e7a8)
/home/runner/work/cli/cli/internal/runners/clean/cache.go:51 +0x16a
github.com/ActiveState/cli/cmd/state/internal/cmdtree.newCleanCacheCommand.func1(0xc0003b9ee0, 0xc0006d5d00, 0x1, 0x1, 0xc00005e7a8, 0x407f85)
/home/runner/work/cli/cli/cmd/state/internal/cmdtree/clean.go:80 +0x33
github.com/ActiveState/cli/internal/captain.(*Command).runner.func1(0x0, 0x14ae448)
/home/runner/work/cli/cli/internal/captain/command.go:531 +0x4c
github.com/ActiveState/cli/internal/sighandler.(*sigHandler).WaitForFunc.func1(0xc000408540, 0xc000320c90)
/home/runner/work/cli/cli/internal/sighandler/awaiting.go:46 +0x53
created by github.com/ActiveState/cli/internal/sighandler.(*sigHandler).WaitForFunc
/home/runner/work/cli/cli/internal/sighandler/awaiting.go:44 +0xb4
[tdsmichl@cilv6s797 ~]$ state clean cache
╔══════════════════════════╗
║ Cleaning Cached Runtimes ║
╚══════════════════════════╝
Please Confirm
You are about to reset the State Tool cache. Continue? (y/N)
y
[tdsmichl@cilv6s797 ~]$
[tdsmichl@cilv6s797 ~]$ sh <(curl -q https://platform.activestate.com/dl/cli/install.sh) --activate-default tdsmichl/Perl-5.32.1-Linux-CentOS-Glibc-2.17
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:–:-- --:–:-- --:–:-- 0Installing the State Tool …
100 12880 100 12880 0 0 46260 0 --:–:-- --:–:-- --:–:-- 46164
╔════════════════════════════════╗
║ Activating Virtual Environment ║
╚════════════════════════════════╝
Existing Checkout
You already have this project checked out, which one would you like to activate?
/home/tdsmichl/tdsmichl/Perl-5.32.1-Linux-CentOS-Glibc-2.17
None, I want to create a new copy
Installing 688/709 [====================================>-] 97 %
Error writing log message: write /home/tdsmichl/.config/activestate/cli-release/state-3025072.log: file already closed
[DEBUG Jul 13 12:27:31.616502422, get.go:57] Retrieving url: https://as-builds.s3.amazonaws.com/production/language/perl/Time-HiRes/1.9764/1/0e41db55-c953-5004-8bee-93d8bb96f776/artifact.tar.gz?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAQ5FYQM547I2EFPRW%2F20210713%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210713T122731Z&X-Amz-Expires=21600&X-Amz-SignedHeaders=host&X-Amz-Installing 694/709 [====================================>-] 98 %
Downloading Unicode-Collate 191.0KB/1.0MB [======>-------------------------------] 18 %
Downloading XML-LibXML 85.6KB/288.7KB [==========>---------------------------] 30 %
Downloading XML-DOM 25.2KB/73.1KB [============>-------------------------] 34 %
Downloading XML-XPath 0.0b/47.7KB [--------------------------------------] 0 %
Something Went Wrong
────────────────────
x Could not update runtime installation
x Not all artifacts could be installed:
Failed to install artifact Text-Tabs+Wrap (10d66c23-fa73-5e2e-8bda-65fed133e6f3) :: Invalid status code: 404
Need More Help?
───────────────
• Run → state activate --help
for general help
• Visit the Forum → https://community.activestate.com/c/state-tool/
[tdsmichl@cilv6s797 ~]$ ls -l .cache/activestate
total 0
drwxr-xr-x 1 tdsmichl tdsmichl 92 Jul 13 12:27 8bbaba45
[tdsmichl@cilv6s797 ~]$ ls -l .cache/activestate/8bbaba45/
total 0
drwxr-xr-x 1 tdsmichl tdsmichl 438 Jul 13 12:27 bin
drwxr-xr-x 1 tdsmichl tdsmichl 14 Jul 13 12:27 etc
drwxr-xr-x 1 tdsmichl tdsmichl 10 Jul 13 12:27 lib
drwxr-xr-x 1 tdsmichl tdsmichl 16 Jul 13 12:27 man
drwxr-xr-x 1 tdsmichl tdsmichl 18 Jul 13 12:27 _runtime_store
drwxr-xr-x 1 tdsmichl tdsmichl 60888 Jul 13 12:27 _runtime_temp
drwxr-xr-x 1 tdsmichl tdsmichl 12 Jul 13 12:27 site
drwxr-xr-x 1 tdsmichl tdsmichl 36 Jul 13 12:27 usr
[tdsmichl@cilv6s797 ~]$
[tdsmichl@cilv6s797 ~]$ cd .cache/activestate/8bbaba45/
[tdsmichl@cilv6s797 8bbaba45]$ find [a-u]* -name “*.pm” | wc -l
6649
[tdsmichl@cilv6s797 8bbaba45]$ du -sk *
3916 bin
52 etc
231156 lib
20632 man
5124 _runtime_store
82252 _runtime_temp
60100 site
97404 usr
[tdsmichl@cilv6s797 8bbaba45]$
[tdsmichl@cilv6s797 8bbaba45]$ find . -name “Text-Tabs+Wrap” -exec ls -l {} ;
[tdsmichl@cilv6s797 8bbaba45]$ find . -name “Tabs+Wrap” -exec ls -l {} ;
[tdsmichl@cilv6s797 8bbaba45]$ find . -name “Tabs+Wrap.pm” -exec ls -l {} ;
[tdsmichl@cilv6s797 8bbaba45]$ find . -name “Tabs*” -exec ls -l {} ;
-r–r–r-- 1 tdsmichl tdsmichl 4457 Jul 13 12:27 ./lib/perl5/5.32.1/Text/Tabs.pm
[tdsmichl@cilv6s797 8bbaba45]$ find . -name “Wrap*” -exec ls -l {} ;
-r–r–r-- 1 tdsmichl tdsmichl 8789 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/IO/Wrap.pm
-r–r–r-- 1 tdsmichl tdsmichl 14716 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/IO/WrapTie.pm
-r–r–r-- 1 tdsmichl tdsmichl 8657 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/Class/MOP/Method/Wrapped.pm
-r–r–r-- 1 tdsmichl tdsmichl 1701 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/MooseX/MethodAttributes/Role/Meta/Method/Wrapped.pm
-r–r–r-- 1 tdsmichl tdsmichl 1952 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/MooseX/Types/Wrapper.pm
-r–r–r-- 1 tdsmichl tdsmichl 516 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/Moose/Exception/WrapTakesACodeRefToBless.pm
-r–r–r-- 1 tdsmichl tdsmichl 3862 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/Plack/App/WrapCGI.pm
-r–r–r-- 1 tdsmichl tdsmichl 2305 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/Email/Sender/Transport/Wrapper.pm
-r–r–r-- 1 tdsmichl tdsmichl 3274 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/Template/Plugin/Wrap.pm
-r–r–r-- 1 tdsmichl tdsmichl 13459 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/Alien/Base/Wrapper.pm
-r–r–r-- 1 tdsmichl tdsmichl 9018 Jul 13 12:27 ./lib/perl5/5.32.1/Text/Wrap.pm
[tdsmichl@cilv6s797 8bbaba45]$
[tdsmichl@cilv6s797 8bbaba45]$ find . -name “XPath*” -exec ls -ld {} ;
drwxr-xr-x 1 tdsmichl tdsmichl 18 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/auto/HTML/TreeBuilder/XPath
drwxr-xr-x 1 tdsmichl tdsmichl 18 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/auto/Tree/XPathEngine
drwxr-xr-x 1 tdsmichl tdsmichl 18 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/auto/PPIx/XPath
drwxr-xr-x 1 tdsmichl tdsmichl 18 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/auto/XML/XPathEngine
drwxr-xr-x 1 tdsmichl tdsmichl 18 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/auto/XML/XPath
-r–r–r-- 1 tdsmichl tdsmichl 21465 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/HTML/TreeBuilder/XPath.pm
-r–r–r-- 1 tdsmichl tdsmichl 41306 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/Tree/XPathEngine.pm
drwxr-xr-x 1 tdsmichl tdsmichl 194 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/Tree/XPathEngine
-r–r–r-- 1 tdsmichl tdsmichl 15037 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/PPIx/XPath.pm
-r–r–r-- 1 tdsmichl tdsmichl 37358 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/XML/XPathEngine.pm
drwxr-xr-x 1 tdsmichl tdsmichl 194 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/XML/XPathEngine
-r–r–r-- 1 tdsmichl tdsmichl 18573 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/XML/XPath.pm
drwxr-xr-x 1 tdsmichl tdsmichl 298 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/XML/XPath
-r–r–r-- 1 tdsmichl tdsmichl 11767 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/XML/LibXML/XPathContext.pod
-r–r–r-- 1 tdsmichl tdsmichl 1678 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/XML/LibXML/XPathExpression.pod
-r–r–r-- 1 tdsmichl tdsmichl 3223 Jul 13 12:27 ./lib/perl5/site_perl/5.32.1/XML/LibXML/XPathContext.pm
[tdsmichl@cilv6s797 8bbaba45]$