pharo-project / pharo-launcher

Lets you manage your pharo images and download new ones
https://pharo-project.github.io/pharo-launcher/
MIT License
109 stars 46 forks source link

Launcher quits when attempting to load Pharo Dawn Theme #464

Closed eMaringolo closed 4 years ago

eMaringolo commented 4 years ago

Describe the bug The launcher quits silently when attempting to load the PharoDawnTheme

To Reproduce Steps to reproduce the behavior:

  1. Open Pharo Launcher
  2. Go to Settings
  3. Enable Development Environment
  4. Evaluate:
    Metacello new 
    baseline: 'PharoDawnTheme';
    repository: 'github://sebastianconcept/PharoDawnTheme';
    load.

Expected behavior To load the theme.

Version information:

demarey commented 4 years ago

It took me a while to determine the source of the problem but I got it. The image crashes because it tries to use libgit that is not initialized in a default Pharo image. Doing LGitLibrary uniqueInstance initializeLibGit2 before the loading should solve the problem. I will add this action when going in development mode.

eMaringolo commented 4 years ago

Thank you!