nasa / nos3

NASA Operational Simulator for Small Satellites
Other
363 stars 82 forks source link

Incomplete installation in Cosmos Gems #75

Closed satzguyz closed 2 years ago

satzguyz commented 2 years ago

fatal: [localhost]: FAILED! => {"changed": true, "cmd": "gem install cosmos --no-ri --no-rdoc", "delta": "0:00:06.492242", "end": "2022-05-21 13:35:55.518110", "msg": "non-zero return code", "rc": 1, "start": "2022-05-21 13:35:49.025868", "stderr": "ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)\n bad response Forbidden 403 (https://api.rubygems.org/quick/Marshal.4.8/nokogiri-1.13.6-x64-unknown.gemspec.rz)", "stderr_lines": ["ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)", " bad response Forbidden 403 (https://api.rubygems.org/quick/Marshal.4.8/nokogiri-1.13.6-x64-unknown.gemspec.rz)"], "stdout": "", "stdout_lines": []}

tmortn77 commented 2 years ago

Getting the same.

Update: Fixed for me

Old info if needed.

Have killed the VM multiple times. Deleted everything and started back from scratch cloning nos3 on host, running submodule init and update. Vagrant Up and Vagrant provision multiple times. There was another error related to ubuntu that cleaned up on provision. But it keeps coming back with this one.

here is my error string in case anything is different:

fatal: [localhost]: FAILED! => {"changed": true, "cmd": "gem install cosmos --no-ri --no-rdoc", "delta": "0:00:00.775294", "end": "2022-06-01 21:19:02.773725", "msg": "non-zero return code", "rc": 1, "start": "2022-06-01 21:19:01.998431", "stderr": "ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)\n bad response Forbidden 403 (https://api.rubygems.org/quick/Marshal.4.8/nokogiri-1.13.6-x64-unknown.gemspec.rz)", "stderr_lines": ["ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)", " bad response Forbidden 403 (https://api.rubygems.org/quick/Marshal.4.8/nokogiri-1.13.6-x64-unknown.gemspec.rz)"], "stdout": "", "stdout_lines": []}

Scrolling back through the history there was a different message when vagrant Up ran copied below. (previously thought this was first time I ran provision). Got the above msg on the two subsequent provision attempts. I scrapped the VM and did Vagrant up and provision again and got these same responses. Is there a different way to install cosmos gem? Or a config line to update or something?

fatal: [localhost]: FAILED! => {"changed": true, "cmd": "gem install cosmos --no-ri --no-rdoc", "delta": "0:00:14.462594", "end": "2022-06-01 20:46:51.532197", "msg": "non-zero return code", "rc": 1, "start": "2022-06-01 20:46:37.069603", "stderr": "ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)\n bad response Forbidden 403 (https://api.rubygems.org/quick/Marshal.4.8/nokogiri-1.13.6-x64-unknown.gemspec.rz)", "stderr_lines": ["ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)", " bad response Forbidden 403 (https://api.rubygems.org/quick/Marshal.4.8/nokogiri-1.13.6-x64-unknown.gemspec.rz)"], "stdout": "Successfully installed bundler-2.3.15\nSuccessfully installed rdoc-6.3.3\nBuilding native extensions. This could take a while...\nSuccessfully installed json-2.6.2\nSuccessfully installed webrick-1.7.0\nSuccessfully installed yard-0.9.28\nSuccessfully installed uuidtools-2.2.0\nSuccessfully installed snmp-1.3.2\nRubyZip 3.0 is coming!\n**\n\nThe public API of some Rubyzip classes has been modernized to use named\nparameters for optional arguments. Please check your usage of the\nfollowing classes:\n Zip::File\n Zip::Entry\n Zip::InputStream\n Zip::OutputStream\n\nPlease ensure that your Gemfiles and .gemspecs are suitably restrictive\nto avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).\nSee https://github.com/rubyzip/rubyzip for details. The Changelog also\nlists other enhancements and bugfixes that have been implemented since\nversion 2.3.0.\nSuccessfully installed rubyzip-2.3.2\nBuilding native extensions. This could take a while...\nSuccessfully installed racc-1.6.0", "stdout_lines": ["Successfully installed bundler-2.3.15", "Successfully installed rdoc-6.3.3", "Building native extensions. This could take a while...", "Successfully installed json-2.6.2", "Successfully installed webrick-1.7.0", "Successfully installed yard-0.9.28", "Successfully installed uuidtools-2.2.0", "Successfully installed snmp-1.3.2", "RubyZip 3.0 is coming!", "**", "", "The public API of some Rubyzip classes has been modernized to use named", "parameters for optional arguments. Please check your usage of the", "following classes:", " Zip::File", " Zip::Entry", " Zip::InputStream", " Zip::OutputStream", "", "Please ensure that your Gemfiles and .gemspecs are suitably restrictive", "to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0).", "See https://github.com/rubyzip/rubyzip for details. The Changelog also", "lists other enhancements and bugfixes that have been implemented since", "version 2.3.0.", "Successfully installed rubyzip-2.3.2", "Building native extensions. This could take a while...", "Successfully installed racc-1.6.0"]}