Coder Social home page Coder Social logo

Comments (4)

jonabc avatar jonabc commented on August 21, 2024

👋 I don't see the error you included here in the action logs, it looks like the job was failing because it was trying to run some tests without the required tool (gradle) available.

   Traceback (most recent call last):
  	33: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/bin/licensed:25:in `<main>'
  	32: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/bin/licensed:25:in `load'
  	31: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/exe/licensed:5:in `<top (required)>'
  	30: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/thor-1.2.1/lib/thor/base.rb:485:in `start'
  	29: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/thor-1.2.1/lib/thor.rb:392:in `dispatch'
  	28: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/thor-1.2.1/lib/thor/invocation.rb:127:in `invoke_command'
  	27: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/thor-1.2.1/lib/thor/command.rb:27:in `run'
  	26: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/cli.rb:18:in `cache'
  	25: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/cli.rb:115:in `run'
  	24: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/command.rb:23:in `run'
  	23: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/cache.rb:24:in `run_command'
  	22: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/command.rb:64:in `run_command'
  	21: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/command.rb:64:in `map'
  	20: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/command.rb:67:in `block in run_command'
  	19: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/cache.rb:39:in `run_app'
  	18: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/cache.rb:166:in `with_licensee_configuration'
  	17: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/cache.rb:40:in `block in run_app'
  	16: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/command.rb:95:in `run_app'
  	15: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/command.rb:95:in `chdir'
  	14: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/command.rb:96:in `block in run_app'
  	13: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/commands/command.rb:96:in `select'
  	12: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/sources/gradle.rb:45:in `enabled?'
  	11: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/sources/gradle.rb:66:in `gradle_runner'
  	10: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/sources/gradle.rb:66:in `new'
  	 9: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/sources/gradle.rb:121:in `initialize'
  	 8: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/sources/gradle.rb:154:in `create_init_script'
  Error: test failed
  	 7: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/sources/gradle.rb:154:in `chdir'
  	 6: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/sources/gradle.rb:169:in `block in create_init_script'
  	 5: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/sources/gradle.rb:139:in `gradle_version'
  	 4: from /opt/homebrew/Cellar/licensed/4.0.0/libexec/gems/licensed-4.0.0/lib/licensed/shell.rb:10:in `execute'
  	 3: from /opt/homebrew/Cellar/[email protected]/2.7.7/lib/ruby/2.7.0/open3.rb:281:in `capture3'
  	 2: from /opt/homebrew/Cellar/[email protected]/2.7.7/lib/ruby/2.7.0/open3.rb:101:in `popen3'
  	 1: from /opt/homebrew/Cellar/[email protected]/2.7.7/lib/ruby/2.7.0/open3.rb:213:in `popen_run'
  /opt/homebrew/Cellar/[email protected]/2.7.7/lib/ruby/2.7.0/open3.rb:213:in `spawn': no implicit conversion of nil into String (TypeError)

If you ran licensed cache in a random directory that doesn't contain a configuration file, I would expect to see something like what you posted.

The bug from the CI job is related to a change in the 4.0.0 release, and I'll have it fixed with a 4.0.1 release shortly. Thanks for the report!

from licensed.

p-linnane avatar p-linnane commented on August 21, 2024

Apologies, the error I posted was from me running the test locally. I will check again once 4.0.1 is out. Thank you!

from licensed.

jonabc avatar jonabc commented on August 21, 2024

The fix has been merged and 4.0.1 is released 👍 . Thanks again for the report and sorry that the update caused problems 🙏

from licensed.

p-linnane avatar p-linnane commented on August 21, 2024

No problem at all and thank you very much! I've pushed 4.0.1 to our PR and will run it through CI right now.

from licensed.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.