Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find library location on Windows #356

Open
lydiathiel opened this issue Feb 2, 2024 · 0 comments
Open

Unable to find library location on Windows #356

lydiathiel opened this issue Feb 2, 2024 · 0 comments

Comments

@lydiathiel
Copy link

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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant