Skip to content
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

Latest Version, installed via Homebrew, doesn't work on MacOS #1362

Open
michaelwapp opened this issue Aug 6, 2024 · 17 comments
Open

Latest Version, installed via Homebrew, doesn't work on MacOS #1362

michaelwapp opened this issue Aug 6, 2024 · 17 comments
Labels
bug Something isn't working need more info Further information is requested

Comments

@michaelwapp
Copy link

Current behavior

DevToys, Version 2.0.4.0, doesn't work on MacOS (M2 Pro, 32GB RAM, MacOS 14.5 (23F79)).

I can install the app via brew however, it won't open and just stays there in the dock, shown as an open app.

I already cleared and reinstalled the app via brew.

Anybody experience the same?

How to reproduce it (as minimally and precisely as possible)

Install app via brew.
Open app on a MacOS 14.5 device
App doesn't open

Expected behavior

App should open

Screenshots

No response

Workaround

No response

Affected platforms

macOS

Affected DevToys kind

DevToys (app with GUI)

DevToys Version

Version v2.0.4.0

Relevant Assets/Logs

No response

@michaelwapp michaelwapp added bug Something isn't working untriaged labels Aug 6, 2024
@veler
Copy link
Collaborator

veler commented Aug 10, 2024

Hi,
We published v2.0.5.0 a few days ago. While there's no specific change that might address your issue, I'm curious to know if updating helps.
Thanks

@veler veler added need more info Further information is requested and removed untriaged labels Aug 10, 2024
@michaelwapp
Copy link
Author

Still doesn't work. App doesn't open.

@veler
Copy link
Collaborator

veler commented Aug 13, 2024

Thanks for sharing, and sorry about that. Would you please be able to share the logs with me so I can see if there's any interesting message inside?

Here is how you can get them: https://devtoys.app/doc/articles/sysadmin/logs.html?tabs=macos

@michaelwapp
Copy link
Author

Here are the logs:

2024-08-13T18:00:25.4659210+08:00       Information     [DevToys.Core.FileHelper]       [0]     Cleared temp files in 0.246ms
2024-08-13T18:00:25.5839440+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'CronParser' tool instance manager.
2024-08-13T18:00:25.5843110+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'DateConverter' tool instance manager.
2024-08-13T18:00:25.5866190+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'EscapeUnescape' tool instance manager.
2024-08-13T18:00:25.5870260+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'GZipEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5873750+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'HashAndChecksumGenerator' tool instance manager.
2024-08-13T18:00:25.5876950+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'HtmlEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5880100+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'ImageConverter' tool instance manager.
2024-08-13T18:00:25.5883270+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonFormatter' tool instance manager.
2024-08-13T18:00:25.5886390+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JSONPathTester' tool instance manager.
2024-08-13T18:00:25.5889500+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonTableConverter' tool instance manager.
2024-08-13T18:00:25.5892630+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonWebTokenEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5895710+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'JsonYamlConverter' tool instance manager.
2024-08-13T18:00:25.5898800+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'ListCompare' tool instance manager.
2024-08-13T18:00:25.5901890+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'LoremIpsumGenerator' tool instance manager.
2024-08-13T18:00:25.5905050+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'MarkdownPreview' tool instance manager.
2024-08-13T18:00:25.5908230+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'NumberBaseConverter' tool instance manager.
2024-08-13T18:00:25.5911410+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'PasswordGenerator' tool instance manager.
2024-08-13T18:00:25.5914560+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'QRCodeEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5917750+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'RegExTester' tool instance manager.
2024-08-13T18:00:25.5920880+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'SqlFormatter' tool instance manager.
2024-08-13T18:00:25.5924000+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'TextAnalyzerAndUtilities' tool instance manager.
2024-08-13T18:00:25.5927090+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'TextCompare' tool instance manager.
2024-08-13T18:00:25.5930210+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'UrlEncoderDecoder' tool instance manager.
2024-08-13T18:00:25.5933330+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'UUIDGenerator' tool instance manager.
2024-08-13T18:00:25.5936440+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'XmlFormatter' tool instance manager.
2024-08-13T18:00:25.5939540+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'XMLTester' tool instance manager.
2024-08-13T18:00:25.5946050+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'Extensions Manager' tool instance manager.
2024-08-13T18:00:25.5948320+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'Settings' tool instance manager.
2024-08-13T18:00:25.5951040+08:00       Information     [DevToys.Core.Tools.GuiToolInstance]    [LogInitialized]        Initialized 'NoSearchResults' tool instance manager.
2024-08-13T18:00:25.5963920+08:00       Information     [DevToys.Core.Tools.GuiToolProvider]    [LogToolInstancesCreated]       Instantiated 32 tools in 16.306ms
2024-08-13T18:00:25.5989860+08:00       Information     [DevToys.MacOS.AppDelegate]     [2]     MEF, services and logging initialized in 175.002 ms
2024-08-13T18:00:25.5990200+08:00       Information     [DevToys.MacOS.AppDelegate]     [1]     App is starting...
2024-08-13T18:00:26.2975070+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Core.LastVersionRan' changed to '2.0-preview.5'
2024-08-13T18:00:26.3581770+08:00       Information     [DevToys.Blazor.Core.Services.FontService]      [LogImportThirdPartyFontsAsync] Loaded 2 font(s) in 8.648 ms and injected them in 151.275 ms
2024-08-13T18:02:58.3064010+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Core.MainWindowBounds' changed to '0,87,1,1'
2024-08-13T18:02:58.3071640+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Core.MainWindowMaximized' changed to 'False'
2024-08-13T18:02:58.3077480+08:00       Information     [DevToys.Core.FileHelper]       [0]     Cleared temp files in 0.114ms
2024-08-13T18:02:58.3082690+08:00       Information     [DevToys.Core.Settings.SettingsProvider]        [LogSetSetting] Setting 'DevToys.Blazor.UserPreferredNavBarState' changed to 'Expanded'

@sskim91
Copy link

sskim91 commented Aug 26, 2024

I'm having the same issue.

installed by Homebrew

DevToys, Version 2.0.5.0,
MacOS (M3 Pro, MacOS 14.6.1(23G93)).

Here the logs:

2024-08-24T14:31:07.4347540+09:00	Information	[DevToys.Core.FileHelper]	[0]	Cleared temp files in 0.185ms
2024-08-24T14:31:07.4400090+09:00	Information	[DevToys.Core.Mef.MefComposer]	[LogDiscoveringPlugin]	Discovering plugin in '/Applications/DevToys.app/Contents/Resources/Plugins/DevToys.Tools'...
2024-08-24T14:31:07.4925130+09:00	Information	[DevToys.Core.Mef.MefComposer]	[LogMefComposition]	MEF composed 112 parts from 6 assemblies in 53.642ms
2024-08-24T14:31:07.5380530+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Base64ImageEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5383880+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Base64TextEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5386510+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'CertificateDecoder' tool instance manager.
2024-08-24T14:31:07.5391480+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ColorBlindnessSimulator' tool instance manager.
2024-08-24T14:31:07.5394820+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'CronParser' tool instance manager.
2024-08-24T14:31:07.5397610+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'DateConverter' tool instance manager.
2024-08-24T14:31:07.5417350+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'EscapeUnescape' tool instance manager.
2024-08-24T14:31:07.5420490+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'GZipEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5423120+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'HashAndChecksumGenerator' tool instance manager.
2024-08-24T14:31:07.5425650+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'HtmlEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5428180+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ImageConverter' tool instance manager.
2024-08-24T14:31:07.5430670+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonFormatter' tool instance manager.
2024-08-24T14:31:07.5433240+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JSONPathTester' tool instance manager.
2024-08-24T14:31:07.5435760+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonTableConverter' tool instance manager.
2024-08-24T14:31:07.5438250+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonWebTokenEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5440720+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'JsonYamlConverter' tool instance manager.
2024-08-24T14:31:07.5443200+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'ListCompare' tool instance manager.
2024-08-24T14:31:07.5445670+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'LoremIpsumGenerator' tool instance manager.
2024-08-24T14:31:07.5448130+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'MarkdownPreview' tool instance manager.
2024-08-24T14:31:07.5450640+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'NumberBaseConverter' tool instance manager.
2024-08-24T14:31:07.5453100+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'PasswordGenerator' tool instance manager.
2024-08-24T14:31:07.5455610+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'QRCodeEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5458110+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'RegExTester' tool instance manager.
2024-08-24T14:31:07.5460570+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'SqlFormatter' tool instance manager.
2024-08-24T14:31:07.5463200+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'TextAnalyzerAndUtilities' tool instance manager.
2024-08-24T14:31:07.5465650+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'TextCompare' tool instance manager.
2024-08-24T14:31:07.5468170+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'UrlEncoderDecoder' tool instance manager.
2024-08-24T14:31:07.5470680+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'UUIDGenerator' tool instance manager.
2024-08-24T14:31:07.5473180+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'XmlFormatter' tool instance manager.
2024-08-24T14:31:07.5475660+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'XMLTester' tool instance manager.
2024-08-24T14:31:07.5480980+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Extensions Manager' tool instance manager.
2024-08-24T14:31:07.5482830+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'Settings' tool instance manager.
2024-08-24T14:31:07.5485120+09:00	Information	[DevToys.Core.Tools.GuiToolInstance]	[LogInitialized]	Initialized 'NoSearchResults' tool instance manager.
2024-08-24T14:31:07.5496270+09:00	Information	[DevToys.Core.Tools.GuiToolProvider]	[LogToolInstancesCreated]	Instantiated 32 tools in 13.669ms
2024-08-24T14:31:07.5520150+09:00	Information	[DevToys.MacOS.AppDelegate]	[2]	MEF, services and logging initialized in 150.932 ms
2024-08-24T14:31:07.5520430+09:00	Information	[DevToys.MacOS.AppDelegate]	[1]	App is starting...
2024-08-24T14:31:08.4048690+09:00	Information	[DevToys.Blazor.Core.Services.FontService]	[LogImportThirdPartyFontsAsync]	Loaded 2 font(s) in 9.689 ms and injected them in 253.755 ms
2024-08-24T14:31:13.2801420+09:00	Error	[DevToys.Core.Web.WebClientService]	[0]	Error while fetching data from https://api.github.com/repos/DevToys-app/DevToys/releases
TaskCanceledException_ctor_DefaultMessage
System.Threading.Tasks.TaskCanceledException: TaskCanceledException_ctor_DefaultMessage
 ---> System.Threading.Tasks.TaskCanceledException: TaskCanceledException_ctor_DefaultMessage
   at System.Threading.Tasks.TaskCompletionSourceWithCancellation`1.WaitWithCancellationAsync(CancellationToken cancellationToken)
   at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
   at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
   at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   Exception_EndOfInnerExceptionStack
   at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
   at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
   at DevToys.Core.Web.WebClientService.SafeGetStringAsync(Uri uri, CancellationToken cancellationToken)

2024-08-24T14:31:14.7523870+09:00	Information	[DevToys.Blazor.BuiltInTools.ExtensionsManager.ExtensionInstallationManager]	[0]	Extension DevToys.Tools is up to date
2024-08-24T14:31:38.2732450+09:00	Information	[DevToys.Core.Settings.SettingsProvider]	[LogSetSetting]	Setting 'DevToys.Core.MainWindowBounds' changed to '0,27,1,1'
2024-08-24T14:31:38.2752170+09:00	Information	[DevToys.Core.Settings.SettingsProvider]	[LogSetSetting]	Setting 'DevToys.Core.MainWindowMaximized' changed to 'False'
2024-08-24T14:31:38.2762800+09:00	Information	[DevToys.Core.FileHelper]	[0]	Cleared temp files in 0.101ms
2024-08-24T14:31:38.2769160+09:00	Information	[DevToys.Core.Settings.SettingsProvider]	[LogSetSetting]	Setting 'DevToys.Blazor.UserPreferredNavBarState' changed to 'Expanded'


@michaelwapp
Copy link
Author

Any update here?

@veler
Copy link
Collaborator

veler commented Oct 20, 2024

Hi,
No update so far, sorry. I'm unable to reproduce the issue on my side unfortunately, and the logs aren't showing any issue.
Question: if you downgrade to 2.0.0.3, does it work?

@michaelwapp
Copy link
Author

2.0.0.3 produces the same result for me unfortunately

@veler
Copy link
Collaborator

veler commented Oct 21, 2024

Gotcha. How about 2.0.1.0 ? I'm trying to understand if this is a regression or an issue with your system / some configuration.

If 2.0.1.0 does not work, can you please try removing everything in ~/Library/Caches/com.devtoys, ~/Library/com.devtoys, and remove the following file: Users/<username>/library/preferences/com.devtoys.plist ? This should reset DevToys to some "factory" settings.

Thanks

@michaelwapp
Copy link
Author

Doesn't work for me, even if I clean the caches / paths you've mentioned.

@veler
Copy link
Collaborator

veler commented Oct 22, 2024

Thanks! Did 2.0 ever worked on your machine? Is it possible the window is hidden in a secondary monitor that is disconnected?
Any chance that by showing all opened windows, the DevToys one appears?

@sskim91
Copy link

sskim91 commented Oct 22, 2024

Same issue me too
Doesn't work for me, even if I clean the caches / paths you've mentioned.

It works on a Mac of the same model, but not on another Mac. I'll check out the link you provided.

@sskim91
Copy link

sskim91 commented Oct 23, 2024

I don't see anything on my Mac desktop.

@michaelwapp
Copy link
Author

michaelwapp commented Oct 24, 2024

2.0 worked for me initially, but the window was always hidden and I had to do what you mentioned to show the window. Now there is no window shown. Even the top menu is only showing DevToys and Edit but nothing more.

@sskim91
Copy link

sskim91 commented Nov 3, 2024

Application Devtoys.app -> Show Package Content -> Contents -> info.plist delete

deleting the info.plist file, after it should work fine.

However, when I run the app after restarting my MacBook, I get the message The application ‘DevToys.app’ can't be opened.

@michaelwapp
Copy link
Author

This didn't help. If I delete the file, I can't open DevToys, getting the message:

"DevToys.app can't be opened"

@michaelwapp
Copy link
Author

Is there a 1.x build for MacOS available somewhere s.t. I can downgrade?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need more info Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants