我得到一個錯誤,解壓縮文件,每當我嘗試以下從被作爲守護程序運行錯誤從一個python腳本運行的守護
命令python腳本unzip命令來運行:
解壓abcd.zip>的/ dev/null的
錯誤
End-of-central-directory signature not found$ a zip file, or it
constitutes one disk of a multi-part archive. In the latter case
the central directory and zipfile comment will be found on the last
disk(s) of this archive
unzip: cannot find zipfile directory in one of abcd.zip$
abcd.zip.zip, and cannot find abcd.zip.ZIP, period.
任何人都可以在這方面幫助我嗎?
在此先感謝。
,如果你在命令行中運行該命令會發生什麼(錯誤暗示的zip文件無效) – Mark 2010-06-01 11:54:39
過了一會守護程序本身越來越吊死,我想知道這個錯誤是否造成守護進程掛起? – Fedrick 2010-06-01 12:47:12
正常用戶運行時正在使用哪個解壓縮?當它作爲守護進程運行時使用哪個解壓縮?在你的python腳本中執行'os.system(「解壓縮」)'並檢查兩種情況下的輸出。 – codeape 2010-06-01 13:10:27