-
-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Error: Stack level too deep #16628
Comments
I think this should be in @Homebrew/brew . If someone could move it... please? |
A little background, that might help with debugging: I thought that this would fix it as it was something that |
Resolved. I had a bad |
Hi, |
Guess and check. I just untapped a tap and then ran |
I see, just removed them all and it now works. I didn't have |
@reitermarkus was Did it introduce a potential infinite loop? |
Sorry! |
I don't know if we can really avoid this type of error when there are problems with a third-party tap but we should at the very least improve the messaging a bit. Also, I'm not sure why this would pop up after that last change. |
|
Okay, so it seems the {
"label-studio": "humansignal/tap"
} |
🤦 That explains it. Thanks for the fix in #16635 to prevent that in the future. I wonder if we should be auditing taps a bit when they get added to make these sorts of problems more visible too. |
@dduugg @reitermarkus @apainintheneck is there a PR we can revert to resolve this? |
Ignore me, sorry: weird GitHub caching here because that issue wasn't showing up as closed with repeated refreshes 🤷 |
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputNote:
brew doctor
doesn't sayYour system is ready to brew
. I got rid of all the errors that normally output frombrew doctor
except for this.brew doctor
:Error: stack level too deep
Please report this issue:
https://docs.brew.sh/Troubleshooting
Warning: Removed Sorbet lines from backtrace!
Rerun with
--verbose
to see the original backtrace/opt/homebrew/Library/Homebrew/extend/blank.rb:139:in
blank?' /opt/homebrew/Library/Homebrew/extend/blank.rb:147:in
present?'/opt/homebrew/Library/Homebrew/extend/blank.rb:40:in
presence' /opt/homebrew/Library/Homebrew/formulary.rb:918:in
tap_formula_name_type'/opt/homebrew/Library/Homebrew/formulary.rb:924:in
tap_formula_name_type' /opt/homebrew/Library/Homebrew/formulary.rb:924:in
tap_formula_name_type'... repeating about 4500 times ...
/opt/homebrew/Library/Homebrew/formulary.rb:924:in
'tap_formula_name_type' /opt/homebrew/Library/Homebrew/formulary.rb:924:in
tap_formula_name_type'/opt/homebrew/Library/Homebrew/formulary.rb:924:in
tap_formula_name_type' /opt/homebrew/Library/Homebrew/formulary.rb:936:in
tap_loader_for'/opt/homebrew/Library/Homebrew/formulary.rb:958:in
loader_for' /opt/homebrew/Library/Homebrew/formulary.rb:744:in
factory'/opt/homebrew/Library/Homebrew/formulary.rb:836:in
from_keg' /opt/homebrew/Library/Homebrew/formulary.rb:787:in
from_rack'/opt/homebrew/Library/Homebrew/formula.rb:1973:in
block in installed' /opt/homebrew/Library/Homebrew/formula.rb:1972:in
each'/opt/homebrew/Library/Homebrew/formula.rb:1972:in
flat_map' /opt/homebrew/Library/Homebrew/formula.rb:1972:in
installed'/opt/homebrew/Library/Homebrew/cleanup.rb:651:in
autoremove' /opt/homebrew/Library/Homebrew/cmd/autoremove.rb:25:in
autoremove'/opt/homebrew/Library/Homebrew/brew.rb:86:in `
The text was updated successfully, but these errors were encountered: