Error in unzipping a file from a python script running as daemon

Posted by Fedrick on Stack Overflow See other posts from Stack Overflow or by Fedrick
Published on 2010-06-01T11:45:52Z Indexed on 2010/06/01 12:03 UTC
Read the original article Hit count: 373

Filed under:
|
|

I am getting an error whenever i try to run following unzip command from a python script which is running as a daemon

Command :

unzip abcd.zip > /dev/null

Error

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.

Could anyone help me in this regard?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about python

Related posts about linux