brunophilipe / Cakebrew

Manage your Homebrew formulas with style using Cakebrew.
http://www.cakebrew.com
GNU General Public License v3.0
4.8k stars 254 forks source link

Empty formula lists #180

Open nlap opened 7 years ago

nlap commented 7 years ago

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
brunophilipe commented 7 years ago

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?

jameslbrown commented 6 years ago

I get this all the time too.

image
ottobackwards commented 5 years ago

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.

mttgdd commented 5 years ago

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