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

Launcher crashes in second run with only one app installed #217

Open
guillemcordoba opened this issue Feb 6, 2024 · 0 comments
Open

Launcher crashes in second run with only one app installed #217

guillemcordoba opened this issue Feb 6, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@guillemcordoba
Copy link
Collaborator

Describe the bug
After installing the launcher and launching it for the first time, and installing GameZ in it and trying reboot the launcher, it crashes with this error:

guillem@guillems-thinkpad:~$ cd Baixades/
guillem@guillems-thinkpad:~/Baixades$ holochain-v0.2.3-beta-rc.1 ^C
guillem@guillems-thinkpad:~/Baixades$ ./holochain-launcher-electron-0.0.13.AppImage

(process:196177): GLib-CRITICAL **: 18:54:28.644: g_file_test: assertion 'filename != NULL' failed
GOT CLI ARGS:  {}
VALIDATED CLI ARGS:  {
  profile: undefined,
  holochainVersion: { type: 'built-in', version: '0.2.6-rc.0' },
  lairBinaryPath: '/tmp/.mount_holochfqWP0p/resources/app.asar.unpacked/resources/bins/lair-keystore-v0.4.2',
  useDefaultPartition: false,
  bootstrapUrl: undefined,
  signalingUrl: undefined,
  rustLog: undefined,
  wasmLog: undefined
}
APP PATH:  /tmp/.mount_holochfqWP0p/resources/app.asar
RUNNING ON PLATFORM:  linux
defaultLogsPath:  /home/guillem/.config/holochain-launcher-electron/logs
defaultUserDataPath:  /home/guillem/.config/holochain-launcher-electron
BEING RUN IN __dirnmane:  /tmp/.mount_holochfqWP0p/resources/app.asar/out/main
(node:196201) UnhandledPromiseRejectionWarning: Error: ERR_FAILED (-2) loading 'app://-'
    at rejectAndCleanup (node:electron/js2c/browser_init:2:82635)
    at WebContents.stopLoadingListener (node:electron/js2c/browser_init:2:83022)
    at WebContents.emit (node:events:529:35)
(Use `holochain-launcher-electron --trace-warnings ...` to show where the warning was created)
(node:196201) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:196201) UnhandledPromiseRejectionWarning: Error: ERR_FAILED (-2) loading 'app://-'
    at rejectAndCleanup (node:electron/js2c/browser_init:2:82635)
    at WebContents.stopLoadingListener (node:electron/js2c/browser_init:2:83022)
    at WebContents.emit (node:events:529:35)
(node:196201) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)

Nothing else shows up and the process just terminates without showing any windows.

To Reproduce
Steps to reproduce the behavior:

  1. Download https://github.com/holochain/launcher-electron/releases/tag/v0.0.13
  2. Install happ https://github.com/holochain-apps/gamez/releases/download/v0.3.12/gamez.webhapp
  3. Try to reboot the launcher

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Holochain Launcher Version [e.g. 0.], you can find out in Help > 'About': v0.0.13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant