Arduino-CI/arduino_ci

Unable to find library location on Windows

lydiathiel opened this issue · 0 comments

I am working on Tank Controller with @jgfoster and am using Windows rather than Mac or Linux. We have been unable to run some scripts and traced it down to this problem.
bundle exec arduino_library_location.rb Gives an error.
vendor\bundle\ruby\3.2.0\bundler\gems\arduino_ci-4d3871877df9\lib\arduino_ci\arduino_downloader_windows.rb:18 Adding .to_s addressed the first error, but another one showed up that we weren't able to fix quickly.

open(URI.parse(package_url).to_s, ssl_verify_mode: 0) do |url|

$ bundle exec arduino_library_location.rb
Attempting to download Arduino 0.29.0 package with open-uriC:/Users/lydia/OneDrive/Documents/Arduino/libraries/TankController/vendor/bundle/ruby/3.2.0/bundler/gems/arduino_ci-4d3871877df9/lib/arduino_ci/arduino_downloader_windows.rb:18:in `initialize': Invalid argument @ rb_sysopen - https://github.com/arduino/arduino-cli/releases/download/0.29.0bit.zip (Errno::EINVAL)
        from C:/Users/lydia/OneDrive/Documents/Arduino/libraries/TankController/vendor/bundle/ruby/3.2.0/bundler/gems/arduino_ci-4d3871877df9/lib/arduino_ci/arduino_downloader_windows.rb:18:in `open'
        from C:/Users/lydia/OneDrive/Documents/Arduino/libraries/TankController/vendor/bundle/ruby/3.2.0/bundler/gems/arduino_ci-4d3871877df9/lib/arduino_ci/arduino_downloader_windows.rb:18:in `download'