nicoverbruggen / phpmon

Lightweight, native Mac menu bar app that helps you manage multiple PHP installations, locate config files and more. Also interacts with Laravel Valet.

Home Page:https://phpmon.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App crashes at launch (due to missing field in Homebrew output)

nicoverbruggen opened this issue · comments

Describe the bug
The app crashes at launch. See #176 and #234.

To Reproduce
Issue cannot be reproduced on Homebrew v3.6.21, but the attached output of the log does crash the app.

Expected behavior
The app does not crash.

Additional log
Session log and crash log.

(To be investigated later tonight; the reason seems to be some async task fails and the app crashes, shortly after launch, potentially after services have been loaded in. I will need to check against the .ips file.)

Fixed build
A fixed build can be tried here.

Hello @ttnppedr!

What is the output of brew --version on your system? Your JSON output is slightly different, and missing the name property for the PHP formula, which is likely the reason for the crash.

I think I have a fix for your issue. You can try this build — it should no longer crash: phpmon.zip

Let me know if that worked! Cheers.

I had the same problem, the download fixed it!

Fantastic, thanks for letting me know. What version of Homebrew are you using, @Eworm?

Homebrew 3.6.21

Great, it works for me too. Thank you very much!!!

Here is the Homebrew information.

brew --version

Homebrew 3.6.21-89-ged79381
Homebrew/homebrew-core (git revision 57df49fc4aa; last commit 2023-02-12)
Homebrew/homebrew-cask (git revision 3eadf0fee4; last commit 2023-02-12)

Works for me. Same version of Homebrew (3.6.21-89-ged79381)
Thank you for resolving so quickly

Thanks for testing, everyone. Now fixed and released here.

(If you have manually installed the fixed build earlier, you don't need to upgrade. This build is the same.)