Cork icon indicating copy to clipboard operation
Cork copied to clipboard

Found some problems with Homebrew

Open kikker902 opened this issue 1 year ago • 8 comments

What were you trying to do?

Cork > Maintenance

What was the problem?

Maintenance finished Found some problems with Homebrew. But no suction or error detail. Brew doctor shows no errors. this with the Cork Demo cork version.

Error logs

No response

App Version

1.4.4 Demo

App Acquisition

Bought

Final checklist

  • [X] This report is about the interface, and I included screenshots of the problem

kikker902 avatar Sep 07 '24 16:09 kikker902

If you're open to compiling, can you compile the current state of main, collect logs using this tutorial, then see what's logged in a line starting with "Health check error"?

If not, tell me

buresdv avatar Sep 07 '24 17:09 buresdv

Hi David,

Thanks for getting back to me. See logs below:

debug 17:24:12.598810-0300 Cork Start info 17:24:12.608274-0300 Cork Will not uninstall orphans info 17:24:12.608309-0300 Cork Will not purge cache info 17:24:12.608345-0300 Cork Will not delete downloads info 17:24:12.608572-0300 Cork Final environment: error 17:24:15.333822-0300 Cork info 17:24:15.343972-0300 Cork Started Formula loading task at 2024-09-07 20:24:15 +0000 debug 17:24:15.345827-0300 Cork Will check URL debug 17:24:15.345853-0300 Cork Will check URL debug 17:24:15.345992-0300 Cork URL has these versions: ) debug 17:24:15.346028-0300 Cork URL has these versions: ) debug 17:24:15.345905-0300 Cork Will check URL debug 17:24:15.346174-0300 Cork URL has these versions: ) debug 17:24:15.346267-0300 Cork Will check URL debug 17:24:15.346482-0300 Cork URL has these versions: ) debug 17:24:15.346260-0300 Cork Will check URL debug 17:24:15.346638-0300 Cork URL has these versions: ) debug 17:24:15.346797-0300 Cork Will check URL debug 17:24:15.347254-0300 Cork URL has these versions: ) debug 17:24:15.347307-0300 Cork Will check URL debug 17:24:15.347404-0300 Cork URL has these versions: ) debug 17:24:15.347451-0300 Cork Will check URL debug 17:24:15.347543-0300 Cork URL has these versions: ) debug 17:24:15.347744-0300 Cork Will check URL debug 17:24:15.347851-0300 Cork URL has these versions: ) debug 17:24:15.347636-0300 Cork Will check URL debug 17:24:15.347902-0300 Cork Will check URL debug 17:24:15.347961-0300 Cork URL has these versions: ) debug 17:24:15.347990-0300 Cork URL has these versions: ) debug 17:24:15.348037-0300 Cork Will check URL debug 17:24:15.348123-0300 Cork URL has these versions: ) info 17:24:15.415179-0300 Cork Finished Formula loading task at info 17:24:15.415245-0300 Cork Started Cask loading task at 2024-09-07 20:24:15 +0000 info 17:24:15.415450-0300 Cork Finished Cask loading task at

Thanks, Edzard

On Sep 7, 2024, at 2:10 PM, David Bureš @.***> wrote:

Can you compile the current state of main, collect logs using this tutorial https://github.com/buresdv/Cork/wiki/Getting-Logs, then see what's logged in a line starting with "Health check error"?

— Reply to this email directly, view it on GitHub https://github.com/buresdv/Cork/issues/397#issuecomment-2336039581, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXNCIT7FDQFXMYKQ6J4FXLZVMXPBAVCNFSM6AAAAABN2E42QKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWGAZTSNJYGE. You are receiving this because you authored the thread.

kikker902 avatar Sep 07 '24 20:09 kikker902

My apologies Edzard, I forgot to mention that I need you to run the maintenance. Do the same steps that got you to the "found some problems with Homebrew". If you don't do that, then we won't get the needed logs.

buresdv avatar Sep 07 '24 21:09 buresdv

Hi David,

See below with all the maintenance options checked. That said I see the "Found some problems with Homebrew” message also when I just do a health check only in Cork. Not sure where I am looking at :) All those private messages seems to hide what is going on.

Edzard

debug 19:02:26.591156-0300 Cork Start info 19:02:26.600630-0300 Cork Final environment: debug 19:02:28.298871-0300 Cork Orphan removal output: Standard output: Standard error: info 19:02:28.298914-0300 Cork No orphans found info 19:02:28.299144-0300 Cork Final environment: debug 19:02:30.941926-0300 Cork Cache purge output: Standard output: Standard error: info 19:02:30.942029-0300 Cork Length of array of packages that are holding back cache purge: 0 info 19:02:30.942049-0300 Cork Will delete downloads info 19:02:30.942373-0300 Cork Ignoring cached download at location info 19:02:30.942403-0300 Cork Ignoring cached download at location info 19:02:30.942421-0300 Cork Ignoring cached download at location info 19:02:30.942439-0300 Cork Ignoring cached download at location info 19:02:30.942456-0300 Cork Ignoring cached download at location info 19:02:30.942471-0300 Cork Ignoring cached download at location info 19:02:30.942488-0300 Cork Ignoring cached download at location info 19:02:30.942504-0300 Cork Ignoring cached download at location info 19:02:30.942519-0300 Cork Ignoring cached download at location info 19:02:30.942536-0300 Cork Ignoring cached download at location info 19:02:30.942568-0300 Cork Ignoring cached download at location default 19:02:30.943238-0300 Cork Cached downloads contents: debug 19:02:30.943393-0300 Cork Package tracker in cached download assignment function has 12 packages debug 19:02:30.943464-0300 Cork Cached package () is unknown debug 19:02:30.943523-0300 Cork Cached package () is unknown info 19:02:30.943736-0300 Cork Final environment: error 19:02:33.606920-0300 Cork info 19:02:33.636709-0300 Cork Started Formula loading task at 2024-09-07 22:02:33 +0000 debug 19:02:33.638324-0300 Cork Will check URL debug 19:02:33.638362-0300 Cork Will check URL debug 19:02:33.638433-0300 Cork Will check URL debug 19:02:33.638482-0300 Cork URL has these versions: ) debug 19:02:33.638478-0300 Cork URL has these versions: ) debug 19:02:33.638653-0300 Cork URL has these versions: ) debug 19:02:33.638773-0300 Cork Will check URL debug 19:02:33.638931-0300 Cork URL has these versions: ) debug 19:02:33.638771-0300 Cork Will check URL debug 19:02:33.639064-0300 Cork URL has these versions: ) debug 19:02:33.639214-0300 Cork Will check URL debug 19:02:33.639251-0300 Cork Will check URL debug 19:02:33.639440-0300 Cork URL has these versions: ) debug 19:02:33.639355-0300 Cork URL has these versions: ) debug 19:02:33.639447-0300 Cork Will check URL debug 19:02:33.639717-0300 Cork Will check URL debug 19:02:33.639555-0300 Cork URL has these versions: ) debug 19:02:33.639816-0300 Cork URL has these versions: ) debug 19:02:33.639861-0300 Cork Will check URL debug 19:02:33.639961-0300 Cork URL has these versions: ) debug 19:02:33.640008-0300 Cork Will check URL debug 19:02:33.640091-0300 Cork URL has these versions: ) debug 19:02:33.640136-0300 Cork Will check URL debug 19:02:33.640517-0300 Cork URL has these versions: ) info 19:02:33.705717-0300 Cork Finished Formula loading task at info 19:02:33.705784-0300 Cork Started Cask loading task at 2024-09-07 22:02:33 +0000 info 19:02:33.705966-0300 Cork Finished Cask loading task at

On Sep 7, 2024, at 6:49 PM, David Bureš @.***> wrote:

My apologies Edzard, I forgot to mention that I need you to run the maintenance. Do the same steps that got you to the "found some problems with Homebrew". If you don't do that, then we won't get the needed logs.

— Reply to this email directly, view it on GitHub https://github.com/buresdv/Cork/issues/397#issuecomment-2336461215, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABXNCISJNQP6YSB3AHLEYD3ZVNYG7AVCNFSM6AAAAABN2E42QKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGMZWGQ3DCMRRGU. You are receiving this because you authored the thread.

kikker902 avatar Sep 07 '24 22:09 kikker902

Hey, the logs still don't include the action that produced the error. The logs you provided end when startup finishes, but they don't include the action that produced the error yet.

buresdv avatar Sep 18 '24 07:09 buresdv

That is correct. They don't show in the log. But in the app I see:

"Maintenance finished Found some problems with Homebrew"

So I assume that is an error of Cork? Since the log tells "No orphans found" and so on.

kikker902 avatar Sep 18 '24 10:09 kikker902

Can you try it one more time with the newest version? I increased the severity of that particular log message, so it might finally show up...

buresdv avatar Sep 22 '24 20:09 buresdv

Done. See below log when performing Health Check in Cork. Get the "Found some problems with Homebrew" in the maintenance message but no specific error.

debug 07:47:09.763297-0300 Cork Start info 07:47:09.772274-0300 Cork Will not uninstall orphans info 07:47:09.772319-0300 Cork Will not purge cache info 07:47:09.772335-0300 Cork Will not delete downloads info 07:47:09.772578-0300 Cork Final environment: error 07:47:13.085897-0300 Cork info 07:47:13.096191-0300 Cork Started Formula loading task at 2024-09-23 10:47:13 +0000 debug 07:47:13.097806-0300 Cork Will check URL debug 07:47:13.097820-0300 Cork Will check URL debug 07:47:13.097848-0300 Cork Will check URL debug 07:47:13.098002-0300 Cork URL has these versions: ) debug 07:47:13.098040-0300 Cork URL has these versions: ) debug 07:47:13.098047-0300 Cork URL has these versions: ) debug 07:47:13.098135-0300 Cork Will check URL debug 07:47:13.098287-0300 Cork URL has these versions: ) debug 07:47:13.098432-0300 Cork Will check URL debug 07:47:13.098587-0300 Cork URL has these versions: ) debug 07:47:13.098815-0300 Cork Will check URL debug 07:47:13.098913-0300 Cork URL has these versions: ) debug 07:47:13.099057-0300 Cork Will check URL debug 07:47:13.099148-0300 Cork URL has these versions: ) debug 07:47:13.099193-0300 Cork Will check URL debug 07:47:13.099371-0300 Cork Will check URL debug 07:47:13.099466-0300 Cork URL has these versions: ) debug 07:47:13.099472-0300 Cork URL has these versions: ) debug 07:47:13.099517-0300 Cork Will check URL debug 07:47:13.099610-0300 Cork URL has these versions: ) debug 07:47:13.099649-0300 Cork Will check URL debug 07:47:13.099754-0300 Cork URL has these versions: ) debug 07:47:13.099657-0300 Cork Will check URL debug 07:47:13.099976-0300 Cork URL has these versions: ) info 07:47:13.170100-0300 Cork Finished Formula loading task at info 07:47:13.170161-0300 Cork Started Cask loading task at 2024-09-23 10:47:13 +0000 info 07:47:13.170355-0300 Cork Finished Cask loading task at

kikker902 avatar Sep 23 '24 10:09 kikker902