A2的总结:win7和xp的环境不一致导致现在xp使用1.18的版本,而a2使用1.31的版本,存在的有以下的问题
2017-03-28 16:37
483 查看
win下写批处理调用下载的问题记录
A2的总结:win7和xp的环境不一致导致现在xp使用1.18的版本,而a2使用1.31的版本,存在的有以下的问题
E:\a2xp\Download\Temp949935000>"E:\a2xp\Download\isodownload\aria2c.exe" -d
E:\a2xp\Download\Temp949935000 -i "E:\a2xp\Download\Temp949935000\P2Plist.t
xt" --no-conf=false --auto-save-interval=3 --conf-path="E:\a2xp\Download\isodo
wnload\aria2.conf"
03/13 10:37:19 [WARN] Unknown option: ##'#'开头为注释内容,
选项都有相应的注释说
明, 根据需要修改
##
Parse error in E:\a2xp\Download\isodownload\aria2.conf
Exception: [AbstractOptionHandler.cc:69] errorCode=28 We encountered a problem w
hile processing the option '--seed-time'.
-> [OptionHandlerImpl.cc:164] errorCode=1 Bad number 0.1
Usage:
--seed-time=MINUTES Specify seeding time in minutes. Also see the
--seed-ratio option.
E:\a2xp\Download\Temp949935000>
xp系统下下载测试的内容如下:
E:\a2xp\Download\Temp949935000>"E:\a2xp\Download\isodownload\aria2c.exe" -d
E:\a2xp\Download\Temp949935000 -i "E:\a2xp\Download\Temp949935000\P2Plist.t
xt" --no-conf=false --auto-save-interval=3 --conf-path="E:\a2xp\Download\isodo
wnload\aria2.conf"
03/13 10:40:24 [WARN] Unknown option: ##'#'开头为注释内容,
选项都有相应的注释说
明, 根据需要修改
##
03/13 10:40:25 [NOTICE] Download complete: E:/a2xp/Download/Temp949935000/winx
p8xnj-2.2.avi.torrent
03/13 10:40:25 [NOTICE] IPv4 BitTorrent: listening on TCP port 51413
[#f8bb9f 0B/356MiB(0%) CN:0 SD:0 DL:0B]
03/13 10:40:26 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 0B/356MiB(0%) CN:19 SD:0 DL:0B]
03/13 10:40:27 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 0B/356MiB(0%) CN:19 SD:0 DL:0B]
03/13 10:40:28 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 0B/356MiB(0%) CN:19 SD:0 DL:0B]
03/13 10:40:29 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 0B/356MiB(0%) CN:19 SD:1 DL:0B]
03/13 10:40:30 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 0B/356MiB(0%) CN:19 SD:1 DL:0B]
03/13 10:40:31 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 432KiB/356MiB(0%) CN:19 SD:1 DL:94KiB ETA:1h4m2s]
03/13 10:40:35 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:18 SD:0 DL:833KiB ETA:7m11s]
03/13 10:40:37 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:18 SD:0 DL:721KiB ETA:8m18s]
03/13 10:40:38 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:18 SD:0 DL:635KiB ETA:9m25s]
03/13 10:40:49 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:18 SD:0 DL:170KiB ETA:35m4s]
03/13 10:40:50 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:0 SD:0 DL:0B]
03/13 10:40:51 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:0 SD:0 DL:0B]
03/13 10:40:52 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:0 SD:0 DL:0B]
03/13 10:41:19 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:0 SD:0 DL:0B]
03/13 10:41:20 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:0 SD:0 DL:0B]
03/13 10:41:21 [NOTICE] GID#f8bb9fe8b95222f7 Stop downloading torrent due to --b
t-stop-timeout option.
03/13 10:41:21 [NOTICE] Serialized session to 'aria2.session' successfully.
03/13 10:41:21 [NOTICE] Download GID#f8bb9fe8b95222f7 not complete: E:/a2xp/VMDo
wnload/Temp949935000/winxp8xnj-2.2.avi
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
c47397|OK | 13MiB/s|E:/a2xp/Download/Temp949935000/winxp8xnj-2.2.VIRNOSVMD
AT.torrent
f8bb9f|INPR| 96KiB/s|E:/a2xp/Download/Temp949935000/winxp8xnj-2.2.VIRNOSVMD
AT
Status Legend:
(OK):download completed.(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.
03/13 10:41:22 [NOTICE] Serialized session to 'aria2.session' successfully.
E:\a2xp\Download\Temp949935000>
分析内容可以看到下载没有成功:xp下载的时候,当下载的速度为0的时间超过设置的时间,就会停止下载。
根据这个表现,
[INPR]的主题标识中断,需要重新下载
经过测试a2的1.18的版本经常出现下载几秒后,然后很长时间没有速度问题,测试设置到60秒主题可以让下载持续,如果超过这个时间就会停止下载
bt-stop-timeout=60
因为出现过种子服务器不对应的问题,为了排查这个问题,决定进行这个校验利于排查错误;
# 当下载的是一个种子(以.torrent结尾)时,
自动开始BT任务,
默认:true
follow-torrent=false
E:\a2xp\Download\Temp949935000>rem http://192.168.10.235:8082/image/winxp8xnj-2.2.avi.torrent
E:\a2xp\Download\Temp949935000>exit
Log的方式,在xp下面的一些内容无法出现一些主题无法重定位输出的问题
E:\a2xp\Download\Temp949935000>doDown.bat >3.txt
Parse error in E:\a2xp\Download\isodownload\aria2.conf
Exception: [AbstractOptionHandler.cc:69] errorCode=28 We encountered a problem w
hile processing the option '--seed-time'.
-> [OptionHandlerImpl.cc:164] errorCode=1 Bad number 0.1
Usage:
--seed-time=MINUTES Specify seeding time in minutes. Also see the
--seed-ratio option.
E:\a2xp\Download\Temp949935000>
--force-save[=true|false] 选项的保存的时候,会导致用bt下载内容,然后用http下载错误,这样的。
03/13 12:06:58 [WARN] Unknown option: ## '#'开头为注释内容,
选项都有相应的注释
说明, 根据需要修改
##
03/13 12:06:58 [ERROR] CUID#7 - Download aborted. URI=http://192.168.10.235:8082
/image/winxp8xnj-2.2.avi
Exception: [AbstractCommand.cc:366] errorCode=10 URI=http://192.168.10.235:8082/
image/winxp8xnj-2.2.avi
-> [RequestGroup.cc:724] errorCode=10 Download aborted.
-> [DefaultBtProgressInfoFile.cc:374] errorCode=10 WARNING: Detected a change
in piece length. You can proceed with --allow-piece-length-change=true, but you
may lose some download progress.
03/13 12:06:58 [NOTICE] Download GID#6ebf08b04e63255b not complete: E:/a2xp/VMDo
wnload/Temp949935000/winxp8xnj-2.2.avi
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
6ebf08|ERR | 0B/s|E:/a2xp/Download/Temp949935000/winxp8xnj-2.2.VIRNOSVMD
AT
Status Legend:
(ERR):error occurred.
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.
03/13 12:06:58 [NOTICE] Serialized session to 'aria2.session' successfully.
E:\a2xp\Download\Temp949935000>pause
A2的总结:win7和xp的环境不一致导致现在xp使用1.18的版本,而a2使用1.31的版本,存在的有以下的问题
1. 参数错误问题出现
E:\a2xp\Download\Temp949935000>"E:\a2xp\Download\isodownload\aria2c.exe" -d
E:\a2xp\Download\Temp949935000 -i "E:\a2xp\Download\Temp949935000\P2Plist.t
xt" --no-conf=false --auto-save-interval=3 --conf-path="E:\a2xp\Download\isodo
wnload\aria2.conf"
03/13 10:37:19 [WARN] Unknown option: ##'#'开头为注释内容,
选项都有相应的注释说
明, 根据需要修改
##
Parse error in E:\a2xp\Download\isodownload\aria2.conf
Exception: [AbstractOptionHandler.cc:69] errorCode=28 We encountered a problem w
hile processing the option '--seed-time'.
-> [OptionHandlerImpl.cc:164] errorCode=1 Bad number 0.1
Usage:
--seed-time=MINUTES Specify seeding time in minutes. Also see the
--seed-ratio option.
E:\a2xp\Download\Temp949935000>
2. 下载torrent文件后继续bt下载的操作
xp系统下下载测试的内容如下:
E:\a2xp\Download\Temp949935000>"E:\a2xp\Download\isodownload\aria2c.exe" -d
E:\a2xp\Download\Temp949935000 -i "E:\a2xp\Download\Temp949935000\P2Plist.t
xt" --no-conf=false --auto-save-interval=3 --conf-path="E:\a2xp\Download\isodo
wnload\aria2.conf"
03/13 10:40:24 [WARN] Unknown option: ##'#'开头为注释内容,
选项都有相应的注释说
明, 根据需要修改
##
03/13 10:40:25 [NOTICE] Download complete: E:/a2xp/Download/Temp949935000/winx
p8xnj-2.2.avi.torrent
03/13 10:40:25 [NOTICE] IPv4 BitTorrent: listening on TCP port 51413
[#f8bb9f 0B/356MiB(0%) CN:0 SD:0 DL:0B]
03/13 10:40:26 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 0B/356MiB(0%) CN:19 SD:0 DL:0B]
03/13 10:40:27 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 0B/356MiB(0%) CN:19 SD:0 DL:0B]
03/13 10:40:28 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 0B/356MiB(0%) CN:19 SD:0 DL:0B]
03/13 10:40:29 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 0B/356MiB(0%) CN:19 SD:1 DL:0B]
03/13 10:40:30 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 0B/356MiB(0%) CN:19 SD:1 DL:0B]
03/13 10:40:31 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 432KiB/356MiB(0%) CN:19 SD:1 DL:94KiB ETA:1h4m2s]
03/13 10:40:35 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:18 SD:0 DL:833KiB ETA:7m11s]
03/13 10:40:37 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:18 SD:0 DL:721KiB ETA:8m18s]
03/13 10:40:38 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:18 SD:0 DL:635KiB ETA:9m25s]
03/13 10:40:49 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:18 SD:0 DL:170KiB ETA:35m4s]
03/13 10:40:50 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:0 SD:0 DL:0B]
03/13 10:40:51 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:0 SD:0 DL:0B]
03/13 10:40:52 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:0 SD:0 DL:0B]
03/13 10:41:19 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:0 SD:0 DL:0B]
03/13 10:41:20 [NOTICE] Serialized session to 'aria2.session' successfully.
[#f8bb9f 5.2MiB/356MiB(1%) CN:0 SD:0 DL:0B]
03/13 10:41:21 [NOTICE] GID#f8bb9fe8b95222f7 Stop downloading torrent due to --b
t-stop-timeout option.
03/13 10:41:21 [NOTICE] Serialized session to 'aria2.session' successfully.
03/13 10:41:21 [NOTICE] Download GID#f8bb9fe8b95222f7 not complete: E:/a2xp/VMDo
wnload/Temp949935000/winxp8xnj-2.2.avi
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
c47397|OK | 13MiB/s|E:/a2xp/Download/Temp949935000/winxp8xnj-2.2.VIRNOSVMD
AT.torrent
f8bb9f|INPR| 96KiB/s|E:/a2xp/Download/Temp949935000/winxp8xnj-2.2.VIRNOSVMD
AT
Status Legend:
(OK):download completed.(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.
03/13 10:41:22 [NOTICE] Serialized session to 'aria2.session' successfully.
E:\a2xp\Download\Temp949935000>
分析内容可以看到下载没有成功:xp下载的时候,当下载的速度为0的时间超过设置的时间,就会停止下载。
根据这个表现,
[INPR]的主题标识中断,需要重新下载
经过测试a2的1.18的版本经常出现下载几秒后,然后很长时间没有速度问题,测试设置到60秒主题可以让下载持续,如果超过这个时间就会停止下载
bt-stop-timeout=60
因为出现过种子服务器不对应的问题,为了排查这个问题,决定进行这个校验利于排查错误;
# 当下载的是一个种子(以.torrent结尾)时,
自动开始BT任务,
默认:true
follow-torrent=false
3. 批处理文件添加exit让cmd的出现问题就退出,不用监控cmd的线程。
E:\a2xp\Download\Temp949935000>rem pauseE:\a2xp\Download\Temp949935000>rem http://192.168.10.235:8082/image/winxp8xnj-2.2.avi.torrent
E:\a2xp\Download\Temp949935000>exit
Log的方式,在xp下面的一些内容无法出现一些主题无法重定位输出的问题
E:\a2xp\Download\Temp949935000>doDown.bat >3.txt
Parse error in E:\a2xp\Download\isodownload\aria2.conf
Exception: [AbstractOptionHandler.cc:69] errorCode=28 We encountered a problem w
hile processing the option '--seed-time'.
-> [OptionHandlerImpl.cc:164] errorCode=1 Bad number 0.1
Usage:
--seed-time=MINUTES Specify seeding time in minutes. Also see the
--seed-ratio option.
E:\a2xp\Download\Temp949935000>
--force-save[=true|false] 选项的保存的时候,会导致用bt下载内容,然后用http下载错误,这样的。
03/13 12:06:58 [WARN] Unknown option: ## '#'开头为注释内容,
选项都有相应的注释
说明, 根据需要修改
##
03/13 12:06:58 [ERROR] CUID#7 - Download aborted. URI=http://192.168.10.235:8082
/image/winxp8xnj-2.2.avi
Exception: [AbstractCommand.cc:366] errorCode=10 URI=http://192.168.10.235:8082/
image/winxp8xnj-2.2.avi
-> [RequestGroup.cc:724] errorCode=10 Download aborted.
-> [DefaultBtProgressInfoFile.cc:374] errorCode=10 WARNING: Detected a change
in piece length. You can proceed with --allow-piece-length-change=true, but you
may lose some download progress.
03/13 12:06:58 [NOTICE] Download GID#6ebf08b04e63255b not complete: E:/a2xp/VMDo
wnload/Temp949935000/winxp8xnj-2.2.avi
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
6ebf08|ERR | 0B/s|E:/a2xp/Download/Temp949935000/winxp8xnj-2.2.VIRNOSVMD
AT
Status Legend:
(ERR):error occurred.
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.
03/13 12:06:58 [NOTICE] Serialized session to 'aria2.session' successfully.
E:\a2xp\Download\Temp949935000>pause
相关文章推荐
- java环境配置为1.7jdk为什么cmd java -version查看版本是1.8||win7 java(tm) platform se binary 已停止工作 出现了一个问题,导致程序停止正常
- VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- 关于JavaSwing背景和Win7下和Xp下边框不一致的问题
- 转:VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- Linux下apache2+SVN环境下使用问题总结
- Linux下apache2+SVN环境下使用问题总结
- 虚拟环境XP不能访问Linux 相关服务问题总结 推荐
- 转:VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- swfupload(以下简称su)遇到的主要问题就是,版本不同造成的极大差异, 现在的版本已经到2.1beta。我用的是2.02版
- 在64bit Win7下使用低版本的EW430开发环境
- Jboss4.2.*版本环境搭建产生问题解决总结
- 如何处理源dump文件的mscordacwks.dll文件与调试机上的版本不一致问题而无法使用extension cmd的问题
- 在64bit Win7下使用低版本的EW430开发环境
- VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- HPUX环境,在WebLogic服务器中使用java调用C动态连接库异常问题总结
- VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结
- VC运行库版本不同导致链接.LIB静态库时发生重复定义问题的一个案例分析和总结