summaryrefslogtreecommitdiff
path: root/doc/bugs/addurl_magnet_could_not_download_torrent_file.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/addurl_magnet_could_not_download_torrent_file.mdwn')
-rw-r--r--doc/bugs/addurl_magnet_could_not_download_torrent_file.mdwn49
1 files changed, 49 insertions, 0 deletions
diff --git a/doc/bugs/addurl_magnet_could_not_download_torrent_file.mdwn b/doc/bugs/addurl_magnet_could_not_download_torrent_file.mdwn
new file mode 100644
index 000000000..f00a63a7a
--- /dev/null
+++ b/doc/bugs/addurl_magnet_could_not_download_torrent_file.mdwn
@@ -0,0 +1,49 @@
+### Please describe the problem.
+
+Every time I try to `addurl` with `magnet:` I get this error message:
+
+ could not download torrent file
+
+### What steps will reproduce the problem?
+
+ git-annex addurl "magnet:?xt=urn:btih:b548b3b8efce813d71c9355832b4382680b8abf9"
+
+### What version of git-annex are you using? On what operating system?
+
+* git-annex 5.20150409
+* ubuntu 14.04 x64
+
+### Please provide any additional information below.
+
+[[!format sh """
+
+git-annex addurl magnet:?xt=urn:btih:b548b3b8efce813d71c9355832b4382680b8abf9
+(downloading torrent file...)
+
+04/13 17:16:15 [NOTICE] IPv4 DHT: listening on UDP port 6930
+
+04/13 17:16:15 [NOTICE] IPv4 BitTorrent: listening on TCP port 6890
+
+04/13 17:16:15 [NOTICE] IPv6 BitTorrent: listening on TCP port 6890
+[#3e3bb9 74KiB/74KiB(100%) CN:13 SD:1]
+04/13 17:16:33 [NOTICE] Download complete: [METADATA]b548b3b8efce813d71c9355832b4382680b8abf9
+
+04/13 17:16:33 [NOTICE] Saved metadata as ../.git/annex/misctmp/URL--magnet&c,63xt,61urn&cbtih&cb548b3b8efce813d71c9355832b4382680b8abf9/meta/b548b3b8efce813d71c9355832b4382680b8abf9.torrent.
+
+Download Results:
+gid |stat|avg speed |path/URI
+======+====+===========+=======================================================
+3e3bb9|OK | 0B/s|[MEMORY][METADATA]b548b3b8efce813d71c9355832b4382680b8abf9
+
+Status Legend:
+(OK):download completed.
+addurl magnet:?xt=urn:btih:b548b3b8efce813d71c9355832b4382680b8abf9
+ could not download torrent file
+failed
+git-annex: addurl: 1 failed
+
+"""]]
+
+> Looking at the code, it was looking for a file prefixed by ".torrent",
+> but of course that should be suffixed instead. So, [[fixed|done]]
+> --[[Joey]]