Cakebrew icon indicating copy to clipboard operation
Cakebrew copied to clipboard

Empty formula lists

Open nlap opened this issue 7 years ago • 4 comments

Occasionally the formula lists for some or all of the categories (installed, outdated, etc) will be empty, or they might be populated when the app starts, but disappear later - usually after running an homebrew update.

brew is working fine on my command line. I traced around a bit, and sometimes the return string for a brew task call will be empty (or the 'task finished at..' string), where it shouldn't be. See attached breakpoint during the brew outdated --verbose call.

Haven't been able to find the root cause, but might be related to how async tasks are handled? Opening this issue in case anyone else is seeing this.

screen shot 2016-10-29 at 14 53 29

nlap avatar Oct 30 '16 00:10 nlap

This could be a race condition. I guess a palliative fix would be running the task again if the return string is empty. What do you think?

brunophilipe avatar Nov 01 '16 00:11 brunophilipe

I get this all the time too.

image

jameslbrown avatar Jul 23 '18 02:07 jameslbrown

Same here. It is never when the app first opens. It is usually after I finish installing updates. When I dismiss the update dialog, I'll get the empty formulae.

ottobackwards avatar Oct 28 '18 01:10 ottobackwards

I sometimes have empty formulae, taps, etc (everything) when the app first opens. Restarting the app usually fixes it.

mttgdd avatar Jul 23 '19 18:07 mttgdd