I’ve now got the third report about a really odd error message “The application Mail Archiver X . app isn’t open anymore.” “Mail Archiver X” is the name of the main app. The helper app has a space at the end. The error message showed up in the middle of adding data to the database. The helper app is a stay alive app. I’ve done the needful and goggled the error. But there are only vague ideas how to solve the problem like restarting and quitting the app.
I would name the application MAX Helper.app and when it fire (activate), test for the Mail Archiver X application (is it running ?) and launch it when needed, with a user interface dialog or panel that nform the user smething is running (no crash).
The name of the helper app has historical reasons. Notifications showed up with the app of the helper name. Renaming the app is on the to-do list anyways because apps that end up with a space are recognised as spam app in enterprise environments.
But the current setup with app and helper app has been in place for at least half a dozen years.
I once got the same error message (“The application Finder isn’t open anymore”). IIRC, I solved it temporarily by duplicating the Finder (E.g. to the desktop or to a temporary folder) and launching the copy. The original would never launch until I restarted the computer (as I couldn’t restart the computer at the moment and needed the Finder, copying it was an acceptable solution).
Do you mean the app was open and stayed that way?
In my case, the message would show when I tried to open the app (Finder), not in the middle of nothing. Not sure there’s only one cause, then…
[trying to understand ]
The helper app triggered the dialog “the main app is not open anymore” (while it was of course open), correct?
In my, albeit short, experience with this issue (with the Finder), I got this message after the Finder crashed and I couldn’t launch it again.
It’s of course fairly possible a different cause leads to the same symptom (especially since this error message is weird and misleading at best), but I can only speak about what I’ve seen, obviously.
Is it the helper or the main app which does that?
As the dialog may take some seconds to show up and I assume adding the items to your database should be fast, I also wonder how you know this database command is the right culprit.
The dialog is from the helper app. Just got a video from a customer. He started the main app and immediately got the dialog that the helper app isn’t open anymore. He opened activity viewer and the helper app was running.
Or, more precisely, from the OS about the helper.
Does this message appear always at the same step (when adding something to a database)? If yes, always the same location in the app?
Is the problem reproducible at will, on that computer or just random?
Have you tried opening the helper by other means (Shell, Launch/Open method, AppleScript, Declares), even if the problem happens after the helper has launched?
And copying the helper app to a temporary folder and launching it from there? (as a test, for now)
It’s a hard-to-track issue, that’s why I ask all these questions (and I’d be curious and happy to find an answer too). It’d be good to first pinpoint the call or pattern