作者firstquarter (TMM豪)
看板EE_DSnP
标题[问题] SelfCheck有问题
时间Tue Mar 17 06:29:41 2009
我用Selfcheck的时候
输入./SelfCheck b95901022_hw1.1.tgz
会说没有这个file
输入perl SelfCheck b95901022_hw1.1.tgz
会开始跑 最後跑出Failed in selfcheck
但没有说我少了哪个档案或多了哪个档案
(事实上我比对过 应该是没有少或多才对...)
不过我在网页上下载SelfCheck的时候
用ie他会开出一个新网页 里面都是code
按右键另存新档会存成一个.txt档
我是把它丢到Linux後用chmod强制把它转成执行档的
不知道是不是这个原因@@
最後附上完成跑出来的内容
%> ./SelfCheck b95901022_hw1.1.tgz
: No such file or directory
%> perl SelfCheck b95901022_hw1.1.tgz
b95901022_hw1.1.tgz is self checking!
StudentID:b95901022
in your compressed file.1022_hw1.1/hw1.1.p1.txt
in your compressed file.1022_hw1.1/hw1.1.p2.log
in your compressed file.1022_hw1.1/hw1.1.p2a.cmd
in your compressed file.1022_hw1.1/hw1.1.p2b.cmd
in your compressed file.1022_hw1.1/hw1.1.p2c.cmd
in your compressed file.1022_hw1.1/hw1.1.p2a.log
in your compressed file.1022_hw1.1/hw1.1.p2b.log
in your compressed file.1022_hw1.1/hw1.1.p2c.log
in your compressed file.1022_hw1.1/hw1.1.p3.cmd
in your compressed file.1022_hw1.1/hw1.1.p3.log
in your compressed file.1022_hw1.1/HW1.1.P4/a.cpp
in your compressed file.1022_hw1.1/HW1.1.P4/b.cpp
in your compressed file.1022_hw1.1/HW1.1.P4/a.h
in your compressed file.1022_hw1.1/HW1.1.P4/b.h
in your compressed file.1022_hw1.1/HW1.1.P4/main.cpp
in your compressed file.1022_hw1.1/HW1.1.P4/hw1.1.p4a.make
in your compressed file.1022_hw1.1/HW1.1.P4/hw1.1.p4b.make
Failed in self checking
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 59.112.131.36
1F:推 ja77:应该是你压缩档里面的资料夹名称错误,应该是b95901022_hw1.1 03/17 11:39
2F:→ ja77:应该是吧,请参考置底文 03/17 11:40
3F:推 ja77:至於为什麽你们需要打perl ./SelfCheck xxx.tgz 是因为我预设 03/17 11:43
4F:→ ja77:perl 会在 /usr/bin/env 底下,但是刚好你们使用的机器不是 03/17 11:44
5F:→ firstquarter:我就是照置底文的步骤做的啊 03/17 13:28
6F:→ firstquarter:刚刚解压缩 资料夹名称确实是b95901022_hw1.1 03/17 13:48
7F:→ firstquarter:不知道为啥跑check时是显示file.1022_hw1.1 正常吗? 03/17 13:50
8F:推 memory74:我有一模一样的问题,且资料夹名称确定是对的 03/17 14:32
9F:推 Ultor:我也有一模一样的问题 03/17 18:44
10F:推 ja77:Checking... I will find the problem. 03/17 18:46
11F:推 goodword:我也是要自己将txt换成执行档 check是成功的 03/17 21:18