Giter VIP home page Giter VIP logo

App aborted with error: "Error launching engine: The application “Gmail” could not be launched because a miscellaneous error occurred. The app may not have launched properly. If it did, the engine will not be properly cleaned up upon quitting." [main(665)] about epichrome HOT 10 OPEN

bjornhansell avatar bjornhansell commented on August 15, 2024
App aborted with error: "Error launching engine: The application “Gmail” could not be launched because a miscellaneous error occurred. The app may not have launched properly. If it did, the engine will not be properly cleaned up upon quitting." [main(665)]

from epichrome.

Comments (10)

dmarmor avatar dmarmor commented on August 15, 2024

Does this happen consistently if you reboot with an Epichrome app open, and set to open all windows? Because of the way Epichrome hot-swaps the engine in at runtime, it does seem possible to me that apps will not reopen properly this way, but I haven't tested it myself. Thanks!

from epichrome.

bjornhansell avatar bjornhansell commented on August 15, 2024

from epichrome.

dmarmor avatar dmarmor commented on August 15, 2024

OK, thanks for the update! I'll try to reproduce this on my system and see if I can figure out what's going on. As I mentioned, I do have a suspicion that it might be that it simply can't be done, and apps will have to be launched by hand after a restart. But I'll keep you posted.

from epichrome.

bjornhansell avatar bjornhansell commented on August 15, 2024

from epichrome.

gregschroeder avatar gregschroeder commented on August 15, 2024

this also happens to me every time on reboot - all open Epi apps report errors on attempted restart. however, Epichrome Scan doesn't (usually) find any corruption or anything.

they report the following - a missing JSON file that cannot be moved, and then a timeout. fwiw, these are all Brave apps.

if there is a concurrency problem, maybe add some random backoff on restart, or a mutex (lockfile?) of some sort? or maybe they just need a much longer timeout on restart, since there is so much going on that things are really slow..

2[6960]APPNAME(374)/installnmhs(2207)/installepichromenmh(2331)/filterfile(66)/permanent(1565){mv}: mv: rename /Users/USER/Library/Application Support/Google/Chrome/NativeMessagingHosts/org.epichrome.runtime.json to /Users/USER/Library/Application Support/Google/Chrome/NativeMessagingHosts/org.epichrome.runtime.json.10564: No such file or directory
*[6960]APPNAME(374)/installnmhs(2207)/installepichromenmh(2331)/filterfile(66)/permanent(1565): Unable to move old org.epichrome.runtime.json.
*[6960]APPNAME(390)/alert(2138)/dialog(2086): Showing alert 'Warning' starting 'Unable to install Epichrome extension native messaging host. (Unable to move old org.epichrome.runtime.json.)'...
*[6960]APPNAME(546)/launchapp(2887): Error launching engine: Timed out waiting for "APPNAME.app" to open.
![6960]APPNAME(666)/abortreport(1155)/abort(1093): Aborting: Error launching engine: Timed out waiting for "APPNAME.app" to open. The app may not have launched properly. If it did, the engine will not be properly cleaned up upon quitting.

from epichrome.

dmarmor avatar dmarmor commented on August 15, 2024

Yeah, it could well be a timeout problem given all the stuff going on in the system at login. I'll look into it. Thanks!

from epichrome.

dmarmor avatar dmarmor commented on August 15, 2024

I'm having trouble reproducing this exactly, though I've experienced a different problem. In my tests, Chrome-based apps reopen just fine on reboot. Brave-based apps do not attempt to reopen at all.

Can people let me know if they're experiencing these failures with Chrome- or Brave-based apps? I'm not sure there's anything I can do about it, but I could try blindly lengthening the timeout to see if that helps.

from epichrome.

gregschroeder avatar gregschroeder commented on August 15, 2024

For me, these are all Brave apps, and they all try unsuccessfully to restart after a reboot. If I remember to shut them all down first, they manually restart without issue.

from epichrome.

dmarmor avatar dmarmor commented on August 15, 2024

It's so odd, I can't get my Brave apps to try to reopen at all. I've tried changing Brave startup settings and the "Close windows when quitting an app" setting in System Preferences->General but no dice, so I don't have a way to diagnose this myself. I'll increase the timeout for the next release and let's see if it makes a difference.

from epichrome.

dmarmor avatar dmarmor commented on August 15, 2024

Version 2.4.5 will be up shortly, and I've added a retry to the launch code, in the hope that if it fails the first time on reboot, it will succeed on a second attempt. If you continue to get this errors on reboot after updating to 2.4.5, please let me know and I'll see if there are any other things I can try. Thanks!

from epichrome.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.