summaryrefslogtreecommitdiff
path: root/doc/bugs/assistant_using_the_incorrect_path_on_windows__63__.mdwn
blob: 1ad8005224d4baff62dba4e958420b357aff5231 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
### Please describe the problem.
The assistant (or rather the programs it's running) appears to be using unix-style paths instead of cygwin paths, causing several types of errors. A selection of items from the terminal:

[[!format sh """
Launching web browser on file://C:\Users\Familyroom\annex\.git\annex\webapp.html
[2013-12-31 01:14:05 Eastern Standard Time] read: ssh-keygen ["-F","celebdil.db4
8x.net"]
ssh-keygen: /home/Familyroom/.ssh/known_hosts: No such file or directory
[2013-12-31 01:14:05 Eastern Standard Time] read: ssh ["-oNumberOfPasswordPrompt
s=0","-oStrictHostKeyChecking=no","-n","-p","22","rlbrooks@celebdil.db48x.net","
sh -c 'echo git-annex-probe loggedin;if which git-annex-shell; then echo git-ann
ex-probe git-annex-shell; fi;if which git; then echo git-annex-probe git; fi;if
which rsync; then echo git-annex-probe rsync; fi;if which ~/.ssh/git-annex-shell
; then echo git-annex-probe ~/.ssh/git-annex-shell; fi;cd '\"'\"'annex'\"'\"' &&
 git config --list'"]
[2013-12-31 01:14:08 Eastern Standard Time] read: ssh-keygen ["-F","celebdil.db4
8x.net"]
ssh-keygen: /home/Familyroom/.ssh/known_hosts: No such file or directory
[2013-12-31 01:14:08 Eastern Standard Time] read: ssh ["-oStrictHostKeyChecking=
no","-n","-p","22","rlbrooks@celebdil.db48x.net","sh -c 'echo git-annex-probe lo
ggedin;if which git-annex-shell; then echo git-annex-probe git-annex-shell; fi;i
f which git; then echo git-annex-probe git; fi;if which rsync; then echo git-ann
ex-probe rsync; fi;if which ~/.ssh/git-annex-shell; then echo git-annex-probe ~/
.ssh/git-annex-shell; fi;cd '\"'\"'annex'\"'\"' && git config --list'"]
rlbrooks@celebdil.db48x.net's password:
[2013-12-31 01:15:03 Eastern Standard Time] read: gpg ["--quiet","--trust-model"
,"always","--with-colons","--list-secret-keys","--fixed-list-mode"]
gpg: WARNING: using insecure memory!
gpg: please see http://www.gnupg.org/documentation/faqs.html for more informatio
n
gpg: fatal: can't create directory `/home/Familyroom/.gnupg': No such file or di
rectory
secmem usage: 0/0 bytes in 0/0 blocks of pool 0/65536
"""]]

Naturally, I don't have a /home/Familyroom, although I do have a /c/Users/Familyroom.

### What steps will reproduce the problem?
Start creating a remote repository.

### What version of git-annex are you using? On what operating system?
Windows 7, git-annex version 5.20131230-g192d991

> [[fixed|done]]; git-annex now ensures HOME is set when running cygwin
> commands that require it. --[[Joey]]