Today I tried to activate a project for the first time. state updated itself at the beginning. The activation fails with messages shown below. Also I cannot successfully uninstall state to start over.
Attempted:
state activate stewartbholt/Perl-5.32.1
… lots of progress bars, looks normal except for closed log file messages…
Something Went Wrong
x Could not update runtime installation
x Not all artifacts could be installed:
Failed to install artifact Text-Tabs+Wrap (2f6c8ccd-5ac7-513f-89af-a8dc7c11d99c) :: Invalid status code: 404
Need More Help?
Run ? state activate --help
for general help
Visit the Forum ? State Tool - ActiveState Community
Got a lot of these types of message about closed log file:
Error writing log message: write C:\Users\sholt\AppData\Roaming\activestate\cli-release\state-30112.log: file already closed
Could there be something wrong with my project? Months ago, I deployed it on another system with no problems. Today I updated the project to add:
Latest Commit Aug 6, 2021 Add Crypt::Mac::HMAC
and got a message that the build was complete. Then I tried to activate it on a system where nothing had ever been activated by state.
After errors, I decided to completely uninstall state and start over, but state cannot be uninstalled. Here is what happens:
C:\Users\sholt>state --version
ActiveState CLI by ActiveState Software Inc.
License BSD 3
Version 0.28.4-SHA6258a7b
Revision 6258a7b51216fdf63170330d42a18abbcae6839d
Branch release
Built Wed Aug 4 2021 21:53:09 +0000 GMT
C:\Users\sholt>which state
/c/Users/sholt/AppData/Roaming/ActiveState/bin/state
C:\Users\sholt>state clean uninstall
±-------------+
¦ Uninstalling ¦
±-------------+
Please Confirm
You are about to remove the State Tool, installed language runtimes, and all configuration information. Continue? (y/N)
y
Successfully removed State Tool and related files
C:\Users\sholt>REM Really?
C:\Users\sholt>which state
/c/Users/sholt/AppData/Roaming/ActiveState/bin/state
Any help on how to proceed would be greatly appreciated. I need to use packages not in my production version.
Thanks,
Stewart