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

Livebook Desktop app fails to start with error 11 #1363

Closed
elepedus opened this issue Aug 26, 2022 · 2 comments
Closed

Livebook Desktop app fails to start with error 11 #1363

elepedus opened this issue Aug 26, 2022 · 2 comments

Comments

@elepedus
Copy link
Contributor

Environment

  • Elixir & Erlang/OTP versions (elixir --version): Bundled with Livebook Desktop
  • Operating system:
  • How have you started Livebook (mix phx.server, livebook CLI, Docker, etc): Livebook Desktop app
  • Livebook version (use git rev-parse HEAD if running with mix): 0.6.3
  • Browsers that reproduce this bug (the more the merrier): no browser
  • Include what is logged in the browser console: n/a
  • Include what is logged to the server console: n/a

Current behavior

After downloading the Apple Silicon DMG from the livebook.dev website, I copied the app into the Applications folder and attempted to launch it. This resulted in a pop-up with error 11, as per this screenshot.
Screenshot 2022-08-26 at 14 03 34

The referenced log file doesn't seem to contain anything useful:

[LivebookLauncher] release pid: 68930
[LivebookLauncher] release pid: 69191
[LivebookLauncher] release pid: 70079
[LivebookLauncher] release pid: 71032
[LivebookLauncher] release pid: 71927

Trying to run the app manually from the command line, I get a bit more info:

(base) ed.lepedus@TLJ7CVWRX2:~ $ /Applications/Livebook.app/Contents/Resources/rel/bin/app start
{"init terminating in do_boot",{load_failed,[supervisor,logger_config,proc_lib,kernel,logger_server,logger_filters,ets,file_io_server,erl_parse,erl_lint,gen_server,code,lists,code_server,application_master,error_handler,application_controller,heart,gen_event,gen,file_server,file,filename,error_logger,application,erl_eval,logger_simple_h,logger_backend,logger]}}
init terminating in do_boot ({load_failed,[supervisor,logger_config,proc_lib,kernel,logger_server,logger_filters,ets,file_io_server,erl_parse,erl_lint,gen_server,code,lists,code_server,application_master,error_handler,application_controller,heart,gen_event,gen,file_server,file,filename,error_logger,application,erl_eval,logger_simple_h,logger_backend,logger]})

Crash dump is being written to: erl_crash.dump...done

I've had a look at the crash dump, but I'm not sure what I'm looking for and nothing particularly jumped out at me.

Expected behavior

A menu-bar app should launch, a livebook server shouid be started and a browser window should be opened.

@elepedus
Copy link
Contributor Author

Never mind, it was user error. I blindly downloaded the Intel build instead of the Apple Silicon build :(

@wojtekmach
Copy link
Contributor

We will have universal builds soon so fwiw others won't run into this particular problem. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants