hbons/SparkleShare — Issue #370: Clone successful, but exception blocks repository being added
Author: paulvt
Created: 2011-10-14 12:14:47+00:00
State: open

Hi!

When I add a repository from my own server, the clone seems to be successful, but an exception makes SparkleShare reject the repository and even exits. I am using SparkleShare 0.2.5 on Debian (experimental). There I add a remote folder by filling in paul@projects.someserver.tld for my own server, and `/srv/git/share.git` as the folder name. A piece of the resulting output when pressing _Sync_:

14:01:55 [ListenerIrc] Joining channel #f3fa292e67bef33828d1128e00b7f75e25414c9d
14:02:18 [Fetcher][/home/paul/SparkleShare/.tmp/share] Fetching folder: ssh://paul@projects.someserver.tld/srv/git/share.git
14:02:18 [Fetcher] Disabled host key checking
14:02:18 [Cmd] /usr/bin/git clone "ssh://paul@projects.someserver.tld/srv/git/share.git" "/home/paul/SparkleShare/.tmp/share"
Exception in Gtk# callback delegate
Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception.
System.ArgumentException: Value does not fall within the expected range.
at SparkleShare.SparkleSetup+c__AnonStoreyA.<>m__33 (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.SparkleShare.Main(System.String[] args)
remote: Counting objects: 3, done.
Receiving objects: 100% (3/3), 249 bytes, done.
remote: Total 3 (delta 0), reused 0 (delta 0)

After this, SparkleShare exists, but I can find a working repository in `~/SparkleShare/.tmp/share`.