hbons/SparkleShare — Issue #465: Crash when adding a self hosted project
Author: bascht
Created: 2011-12-02 11:03:47+00:00
State: open

Hey Folks.

SparkleShare crashes with an fatal `DirectoryNotFoundException` when I try to add a directory that's hosted on my server:
Up there is a clean git repo that I've just created.

Identity added: /Users/bascht/.config/sparkleshare/sparkleshare.sparkleshare.com@bascht.com.key (/Users/bascht/.config/sparkleshare/sparkleshare.sparkleshare.com@bascht.com.key)
11:57:45 [Fetcher][/Users/bascht/SparkleShare/.tmp/Sparkle] Fetching folder: ssh://bascht@bascht.com/home/bascht/Sparkle
11:57:45 [Fetcher] Disabled host key checking bascht.com
11:57:45 [Cmd] /Applications/SparkleShare.app/Contents/Resources/git/bin/git clone --progress "ssh://bascht@bascht.com/home/bascht/Sparkle" "/Users/bascht/SparkleShare/.tmp/Sparkle"
11:57:47 [Git] Exit code 0
11:57:47 [Config] Added configuration to '/Users/bascht/SparkleShare/.tmp/Sparkle/.git/config'
Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path "/Users/bascht/SparkleShare/.tmp/Sparkle/.git/info/exclude".
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in :0
at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in :0
at System.IO.StreamWriter..ctor (System.String path) [0x00000] in :0
at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string)
at SparkleLib.SparkleFetcherGit.InstallExcludeRules () [0x00000] in :0
at SparkleLib.SparkleFetcherGit.Fetch () [0x00000] in :0
at SparkleLib.SparkleFetcherBase+c__AnonStorey0.<>m__0 () [0x00000] in :0
at System.Threading.Thread.StartUnsafe () [0x00000] in :0

SparkleShare 0.4.1 on OSX 10.7.2.
Let me know if I can supply more information.