Comments (10)
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.
from epichrome.
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.
from epichrome.
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.
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.
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.
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.
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.
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)
- App aborted with error: "Error launching engine: The application “Keystone Academy.app” 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)] HOT 1
- How to disable the welcome screen? HOT 7
- Epichrome 2.4 - Google Meet screen sharing not possible HOT 1
- Version 2.4.3 app aborted with error: "Unknown error launching engine. The app may not have launched properly. If it did, the engine will not be properly cleaned up upon quitting." [main(666)] HOT 4
- External browser doesn't remember file-editing permissions HOT 2
- Icon set to chrome default regularly while app is running HOT 1
- Offer to create icon from an URL without the need of setting that URL for the app HOT 6
- Version 2.4.3 app aborted with error: "Error launching engine: The application “Habitica Chrome.app” 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(666)] HOT 1
- Missing Script on start HOT 3
- App aborted with error: "Error launching engine: Timed out waiting for "Zoho Books.app" to open. The app may not have launched properly. If it did, the engine will not be properly cleaned up upon quitting." [main(665)] HOT 4
- Version 2.4.5 app aborted with error: "Error launching engine: Timed out waiting for "Habitica Chrome.app" to open. The app may not have launched properly. If it did, the engine will not be properly cleaned up upon quitting." [main(678)] HOT 1
- Discussion of abandonment note... HOT 4
- Version 2.4.6 app aborted with error: "Error launching engine: After 2 attempts: The application “Habitica Chrome.app” could not be launched because it is corrupt. The app may not have launched properly. If it did, the engine will not be properly cleaned up upon quitting." [main(678)] HOT 1
- New empty Brave window opens when clicking dock icon, even when Epichrome app is already open. HOT 4
- How to force recreating an app HOT 2
- Preventing Missing Extensions After Hardware Change HOT 4
- New window opens when clicking dock icon on Mac HOT 3
- Thanks for all of your work on Epichrome! 🙏✨ HOT 1
- Epichrome app suddenly opens default Brave install; all settings, history, plugins lost [workaround found, see comments] HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from epichrome.