hbons/SparkleShare — Issue #485: Crash when spakleshare directory is in a different device
Author: cmavr8
Created: 2011-12-18 14:17:03+00:00
State: open

Moving the default sparkleshare directory (by changing in config.xml) causes new remote-folder additions to fail... Existing folders work ok.

``sparkleshare start
SparkleShare stale pid file found, starting a new instance.
Starting SparkleShare... Done.
Identity added: /home/user/.config/sparkleshare/sparkleshare.user@email.com.key (/home/user/.config/sparkleshare/sparkleshare.user@email.com.key)
15:59:33 [Config] Updated "/home/user/.config/sparkleshare/config.xml"
15:59:33 [Config] Updated "/home/user/.config/sparkleshare/config.xml"
16:00:03 [Fetcher][/home/user/SparkleShare/.tmp/project3] Fetching folder: ssh://serveruser@server.com/media/disk/sparkleshare/project3
16:00:03 [Fetcher] Disabled host key checking
16:00:03 [Cmd] /usr/bin/git clone "ssh://serveruser@server.com/media/disk/sparkleshare/project3" "/home/user/SparkleShare/.tmp/project3"
warning: You appear to have cloned an empty repository.
16:00:04 [Git] Exit code 0
16:00:04 [Fetcher] Finished
16:00:04 [Fetcher] Enabled host key checking
16:00:04 [Controller] Error moving folder: Source and destination are not on the same device
16:00:04 [Config] Updated "/home/user/.config/sparkleshare/config.xml"
16:00:04 [Cmd] /usr/bin/git log -1 --format=%H

Unhandled Exception: System.IO.DirectoryNotFoundException: Could not find a part of the path "/media/Docs/sparkleshare/project3/SparkleShare.txt".``

and then there's more about the exception... I can provide it if needed.

Thanks