Comments (4)
👋 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.
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.
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.
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)
- Licensed breaks under Bundler 2.4.1 due to dependency search change
- The `cache` command is not cleaning up stale license files HOT 2
- Cocoapods-core is incompatible with Rails 7 HOT 4
- Remove dep
- Go modules license detection seems off (possibly /v2) HOT 2
- Add support for pnpm as a source HOT 22
- Re-evaluate default Gradle configurations
- Allow users to manually curate paths to license content for a detected dependency
- Create cocoapods plugin for enumerating dependencies for licensed HOT 3
- Checksum-based review HOT 7
- How to list licenses from cache HOT 2
- Make licensed status detect dependencies that have been removed HOT 8
- Remove bower support
- Bug with gem bundle in subdirectory / Could not find optimist (3.1.0) in any sources
- Bug with pnpm in subdirectory (tries both npm and pnpm resolution?)
- Gradle source not working when using Kotlin DSL (build.gradle.kts)
- Can't detect licenses of default gems
- Phone outdated
- licensed cache report exit code `1` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from licensed.