Re: Unison not launching GUI

Greg Troxel <[email protected]> Sun, 07 Sep 2025 19:21:15 -0400
Newsgroups gmane.network.unison.general
Message-ID <[email protected]>
Giovanni Besio <[email protected]> writes:

> I am trying to set-up my new laptop. I have ubuntu 24.04 and I tried
> to install Unison from snap, v 2.51.2

That is extremely old.  The current release is 2.53.7, from November of
2024.  2.51.2 was released in January of 2018.

Thank you for asking here and not in the tracker; 2.51 is vastly beyond
acceptable in the bug tracker, and snap issues are also out of scope,
not being bugs with the contents of the unison source code releases.
The users' list is the right place, and perhaps one of the list members
can help.

> It worked at the beginning. I updated Ubuntu and tonight I have got an
> error (i do not remember which was and then it suddenly does not load
> anymore the GUI.
>
> Anyone has any idea how to try to understand what is going on?

Given that you are trying to use code that is 7 years older than your
operating system, I don't really expect it to work.  In particular 2.52
changes to a new wire protocol and 2.53 changes to gtk3 (from gtk2).  I
have no idea how ocaml-gtk2 and old enough ocaml for unison 2.51 is
provided in modern Ubuntu, even in the snap world.

It would help to be more precise, rather than "GUI not loading",
explaining how your machine is set up, what you are doing, and what
happens.  And then peeling back the local conditions, so that you are
trying to start the unison GUI from the command line, where you'd see
errors.

I would suggest following up with whoever is distributing this "snap";
the unison project releases source code and makes limited CI artifacts
available in the hope they are helpful.

If you want to try the current release, you might look at:

  https://urldefense.com/v3/__https://github.com/bcpierce00/unison/wiki/CI-Binary-instructions__;!!IBzWLUs!Q26AReSy6b6gr6-gIa3Cb3HH1sZD6-YYtSNWKgC3sX5VUZYmp3yuZCA5n3HM_JVddKbgDyR7c_jIlXLHXg$ 
  https://urldefense.com/v3/__https://github.com/bcpierce00/unison/releases/tag/v2.53.7__;!!IBzWLUs!Q26AReSy6b6gr6-gIa3Cb3HH1sZD6-YYtSNWKgC3sX5VUZYmp3yuZCA5n3HM_JVddKbgDyR7c_hZ71aPmQ$ 

but historically the CI binary instructions have been pretty thin and
you'll need to understand what code is expected in the environment and
arrange to meet those expectations.  If you do figure it out diffs are
welcome.


To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].