作者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