SparkleShare is not starting up #1472

nihilistcat opened this Issue Feb 23, 2014 · 4 comments


None yet
3 participants

archlinux x64 with Xfce4 DE, installed sparkleshare from repo. When I click the icon nothing happens. Output from console:

$ sparkleshare start
Stale SparkleShare PID file found, starting a new instance...
Starting SparkleShare... Done.
$ 19:10:33 | Environment | SparkleShare version: 1.2.0, Operating system: Unix (Unix
19:10:33 | Config | Wrote to '/home/****/.config/sparkleshare/config.xml'
19:10:33 | Config | Updated option notifications:True
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentException: invalid user id
Parameter name: user
at Mono.Unix.UnixUserInfo..ctor (Int64 user) [0x00000] in :0
at Mono.Unix.UnixUserInfo.GetRealUser () [0x00000] in :0
at SparkleShare.SparkleSetup.ShowPage (PageType type, System.String[] warnings) [0x00000] in :0
at SparkleShare.SparkleSetup+c__AnonStoreyE.<>m__9A (System.Object , System.EventArgs ) [0x00000] in :0
at Gtk.Application+InvokeCB.Invoke () [0x00000] in :0
at GLib.Timeout+TimeoutProxy.Handler () [0x00000] in :0
at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal)
at GLib.Timeout+TimeoutProxy.Handler()
at Gtk.Application.gtk_main()
at Gtk.Application.Run()
at SparkleShare.SparkleUI.Run()
at SparkleShare.Program.Main(System.String[] args)


hbons commented Feb 23, 2014

do you have Unix user name configured? on Arch you don't have to configure or might forget to configure some things, which can cause problems.

balu- commented Feb 25, 2014

I've got the same problem,
what do you mean by a Unix user name configured ?

balu- commented Mar 3, 2014

The exception seems to appear in file Linux/SparkleSetup.cs.

UnixUserInfo user_info = UnixUserInfo.GetRealUser ();

                if (user_info != null && user_info.RealName != null)
                    name_entry.Text = user_info.RealName.TrimEnd (",".ToCharArray ());
This code seems to only make setup more comfortable, so it should be no problem to surround it with a corresponding try/cach statement. [I could not test it myself cause i wasnt able to build webkit-sharp from aur repos].

@hbons hbons closed this in ba72a7a Mar 3, 2014


hbons commented Mar 3, 2014


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment