aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/Addurl_downloads_but_does_not_checkout_files.mdwn
blob: 7038fe2e6faf8bf4b4acb830a4a1be274918045d (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
What steps will reproduce the problem?

Example below illustrates downloading a podcast with git annex addurl:

list directory before...

~/Podcasts/TuxRadar Linux Podcast (Ogg)$ ls
folder.jpg           tuxradar_s04e24.ogg
tuxradar_s04e09.ogg  tuxradar_s05e01.ogg
tuxradar_s04e11.ogg  tuxradar_s05e02.ogg
tuxradar_s04e13.ogg  tuxradar_s05e03.ogg
tuxradar_s04e15.ogg  tuxradar_s05e04.ogg
tuxradar_s04e16.ogg  www.tuxradar.com_files_podcast_tuxradar_s04e10.ogg
tuxradar_s04e19.ogg  www.tuxradar.com_files_podcast_tuxradar_s04e12.ogg
tuxradar_s04e20.ogg  www.tuxradar.com_files_podcast_tuxradar_s04e14.ogg
tuxradar_s04e21.ogg  www.tuxradar.com_files_podcast_tuxradar_s04e17.ogg
tuxradar_s04e22.ogg  www.tuxradar.com_files_podcast_tuxradar_s04e18.ogg
tuxradar_s04e23.ogg

download file...

~/Podcasts/TuxRadar Linux Podcast (Ogg)$ git annex addurl http://www.tuxradar.com/files/podcast/tuxradar_s05e05.ogg
addurl www.tuxradar.com_files_podcast_tuxradar_s05e05.ogg (downloading http://www.tuxradar.com/files/podcast/tuxradar_s05e05.ogg ...) --2013-04-10 21:18:12--  http://www.tuxradar.com/files/podcast/tuxradar_s05e05.ogg
Resolving www.tuxradar.com (www.tuxradar.com)... 80.244.178.150
Connecting to www.tuxradar.com (www.tuxradar.com)|80.244.178.150|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 33249291 (32M) [application/ogg]
Saving to: `/home/rob/Podcasts/.git/annex/tmp/URL--http&c%%www.tuxradar.com%files%podcast%tuxradar_s05e05.ogg'

100%[===============================>] 33,249,291   404K/s   in 81s     

2013-04-10 21:19:35 (399 KB/s) - `/home/rob/Podcasts/.git/annex/tmp/URL--http&c%%www.tuxradar.com%files%podcast%tuxradar_s05e05.ogg' saved [33249291/33249291]

(checksum...) ok
(Recording state in git...)

file appears to have been downloaded, but isn't there...

~/Podcasts/TuxRadar Linux Podcast (Ogg)$ ls
folder.jpg           tuxradar_s04e24.ogg
tuxradar_s04e09.ogg  tuxradar_s05e01.ogg
tuxradar_s04e11.ogg  tuxradar_s05e02.ogg
tuxradar_s04e13.ogg  tuxradar_s05e03.ogg
tuxradar_s04e15.ogg  tuxradar_s05e04.ogg
tuxradar_s04e16.ogg  www.tuxradar.com_files_podcast_tuxradar_s04e10.ogg
tuxradar_s04e19.ogg  www.tuxradar.com_files_podcast_tuxradar_s04e12.ogg
tuxradar_s04e20.ogg  www.tuxradar.com_files_podcast_tuxradar_s04e14.ogg
tuxradar_s04e21.ogg  www.tuxradar.com_files_podcast_tuxradar_s04e17.ogg
tuxradar_s04e22.ogg  www.tuxradar.com_files_podcast_tuxradar_s04e18.ogg
tuxradar_s04e23.ogg

What is the expected output? What do you see instead?

File should exist in current directory. As you can see from above output, this has worked in the past (with older versions).

What version of git-annex are you using? On what operating system?

git-annex version: 4.20130405
local repository version: 3
default repository version: 3
supported repository versions: 3 4
upgrade supported from repository versions: 0 1 2
build flags: Assistant Webapp Pairing Testsuite S3 WebDAV Inotify DBus XMPP

OS: Debian Testing/Unstable

Please provide any additional information below.

The repository in question was created by the assistant and I tried the above with the assistant both running and not running, with no difference. I have also tried downloading other files.

EDIT: formatting

> Bug only affected direct mode. I think it used to work but I broke
> it when fixing another bug in direct mode. [[fixed|done]] --[[Joey]]