zhaowu Posted September 16, 2013 Share Posted September 16, 2013 The following command download magnet link to a local torrent file /usr/local/bin/aria2c --bt-metadata-only=true --bt-save-metadata=true 'magnet:?xt=urn:btih:9cf3900966073b22a8580c1152221c7edefe2186&dn=Superman.Man.of.Steel.2013.720p.R6.LiNE.x264.AAC-DiGiTAL&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80&tr=udp%3A%2F%2Fopen.demonii.com%3A1337' It works fine if I run it in the Terminal. But the same command fail to run from alfred workflow "Run Script" action. The failed log are as follows. 09/15 22:52:25 [NOTICE] For BitTorrent Magnet URI, enabling DHT is strongly recommended. See --enable-dht option. 09/15 22:52:25 [NOTICE] IPv4 BitTorrent: listening on TCP port 6901 09/15 22:52:25 [NOTICE] IPv6 BitTorrent: listening on TCP port 6901 09/15 22:52:25 [ERROR] CUID#12 - Download aborted. URI=udp://tracker.openbittorrent.com:80?info_hash=%9C%F3%90%09f%07%3B%22%A8X%0C%11R%22%1C%7E%DE%FE%21%86&peer_id=%2DUT2210%2D%C9J%A0%2Ds%E9%FC%C2%E4y%D7%C2&uploaded=0&downloaded=0&left=0&compact=1&key=s%E9%FC%C2%E4y%D7%C2&numwant=50&no_peer_id=1&port=6901&event=started&supportcrypto=1 Exception: [AbstractCommand.cc:314] errorCode=1 URI=udp://tracker.openbittorrent.com:80?info_hash=%9C%F3%90%09f%07%3B%22%A8X%0C%11R%22%1C%7E%DE%FE%21%86&peer_id=%2DUT2210%2D%C9J%A0%2Ds%E9%FC%C2%E4y%D7%C2&uploaded=0&downloaded=0&left=0&compact=1&key=s%E9%FC%C2%E4y%D7%C2&numwant=50&no_peer_id=1&port=6901&event=started&supportcrypto=1 -> [initiateConnectionCommandFactory.cc:86] errorCode=1 udp is not supported yet. [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] 09/15 22:52:28 [ERROR] CUID#13 - Download aborted. URI=udp://tracker.publicbt.com:80?info_hash=%9C%F3%90%09f%07%3B%22%A8X%0C%11R%22%1C%7E%DE%FE%21%86&peer_id=%2DUT2210%2D%C9J%A0%2Ds%E9%FC%C2%E4y%D7%C2&uploaded=0&downloaded=0&left=0&compact=1&key=s%E9%FC%C2%E4y%D7%C2&numwant=50&no_peer_id=1&port=6901&event=started&supportcrypto=1 Exception: [AbstractCommand.cc:314] errorCode=1 URI=udp://tracker.publicbt.com:80?info_hash=%9C%F3%90%09f%07%3B%22%A8X%0C%11R%22%1C%7E%DE%FE%21%86&peer_id=%2DUT2210%2D%C9J%A0%2Ds%E9%FC%C2%E4y%D7%C2&uploaded=0&downloaded=0&left=0&compact=1&key=s%E9%FC%C2%E4y%D7%C2&numwant=50&no_peer_id=1&port=6901&event=started&supportcrypto=1 -> [initiateConnectionCommandFactory.cc:86] errorCode=1 udp is not supported yet. [#05d7b0 0B/0B CN:1 SD:0 DL:0B] [#05d7b0 0B/0B CN:1 SD:0 DL:0B] 09/15 22:52:30 [ERROR] CUID#16 - Download aborted. URI=udp://tracker.istole.it:6969?info_hash=%9C%F3%90%09f%07%3B%22%A8X%0C%11R%22%1C%7E%DE%FE%21%86&peer_id=%2DUT2210%2D%C9J%A0%2Ds%E9%FC%C2%E4y%D7%C2&uploaded=0&downloaded=0&left=0&compact=1&key=s%E9%FC%C2%E4y%D7%C2&numwant=50&no_peer_id=1&port=6901&event=started&supportcrypto=1 Exception: [AbstractCommand.cc:314] errorCode=1 URI=udp://tracker.istole.it:6969?info_hash=%9C%F3%90%09f%07%3B%22%A8X%0C%11R%22%1C%7E%DE%FE%21%86&peer_id=%2DUT2210%2D%C9J%A0%2Ds%E9%FC%C2%E4y%D7%C2&uploaded=0&downloaded=0&left=0&compact=1&key=s%E9%FC%C2%E4y%D7%C2&numwant=50&no_peer_id=1&port=6901&event=started&supportcrypto=1 -> [initiateConnectionCommandFactory.cc:86] errorCode=1 udp is not supported yet. [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] 09/15 22:52:32 [ERROR] CUID#17 - Download aborted. URI=udp://tracker.ccc.de:80?info_hash=%9C%F3%90%09f%07%3B%22%A8X%0C%11R%22%1C%7E%DE%FE%21%86&peer_id=%2DUT2210%2D%C9J%A0%2Ds%E9%FC%C2%E4y%D7%C2&uploaded=0&downloaded=0&left=0&compact=1&key=s%E9%FC%C2%E4y%D7%C2&numwant=50&no_peer_id=1&port=6901&event=started&supportcrypto=1 Exception: [AbstractCommand.cc:314] errorCode=1 URI=udp://tracker.ccc.de:80?info_hash=%9C%F3%90%09f%07%3B%22%A8X%0C%11R%22%1C%7E%DE%FE%21%86&peer_id=%2DUT2210%2D%C9J%A0%2Ds%E9%FC%C2%E4y%D7%C2&uploaded=0&downloaded=0&left=0&compact=1&key=s%E9%FC%C2%E4y%D7%C2&numwant=50&no_peer_id=1&port=6901&event=started&supportcrypto=1 -> [initiateConnectionCommandFactory.cc:86] errorCode=1 udp is not supported yet. [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] 09/15 22:52:34 [ERROR] CUID#18 - Download aborted. URI=udp://open.demonii.com:1337?info_hash=%9C%F3%90%09f%07%3B%22%A8X%0C%11R%22%1C%7E%DE%FE%21%86&peer_id=%2DUT2210%2D%C9J%A0%2Ds%E9%FC%C2%E4y%D7%C2&uploaded=0&downloaded=0&left=0&compact=1&key=s%E9%FC%C2%E4y%D7%C2&numwant=50&no_peer_id=1&port=6901&event=started&supportcrypto=1 Exception: [AbstractCommand.cc:314] errorCode=1 URI=udp://open.demonii.com:1337?info_hash=%9C%F3%90%09f%07%3B%22%A8X%0C%11R%22%1C%7E%DE%FE%21%86&peer_id=%2DUT2210%2D%C9J%A0%2Ds%E9%FC%C2%E4y%D7%C2&uploaded=0&downloaded=0&left=0&compact=1&key=s%E9%FC%C2%E4y%D7%C2&numwant=50&no_peer_id=1&port=6901&event=started&supportcrypto=1 -> [initiateConnectionCommandFactory.cc:86] errorCode=1 udp is not supported yet. [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] *** Download Progress Summary as of Sun Sep 15 22:53:26 2013 *** =============================================================================== [#05d7b0 0B/0B CN:0 SD:0 DL:0B] FILE: [MEMORY][METADATA]Superman.Man.of.Steel.2013.720p.R6.LiNE.x264.AAC-DiGiTAL ------------------------------------------------------------------------------- [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] [#05d7b0 0B/0B CN:0 SD:0 DL:0B] 09/15 22:53:45 [NOTICE] Emergency shutdown sequence commencing... 09/15 22:53:45 [NOTICE] Download GID#05d7b0f1fcd418ad not complete: [METADATA]Superman.Man.of.Steel.2013.720p.R6.LiNE.x264.AAC-DiGiTAL Download Results: gid |stat|avg speed |path/URI ======+====+===========+======================================================= 05d7b0|INPR| 0B/s|[MEMORY][METADATA]Superman.Man.of.Steel.2013.720p.R6.LiNE.x264.AAC-DiGiTAL Status Legend: (INPR):download in-progress. aria2 will resume download if the transfer is restarted. If there are any errors, then see the log file. See '-l' option in help/man page for details. Link to comment
zhaowu Posted September 16, 2013 Author Share Posted September 16, 2013 Ignore this post. Got the same output from the terminal now. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now