3 Replies Latest reply on Feb 23, 2016 11:37 AM by justn83

    Unable to open ZIP file for extraction

    $MoneyMan$

      Attempting to use the web API with ePO 5.1 to automate checking in the DAT package.  The ePO server does not have access to the internet, so automatically pulling the file from the net is not an option.  Below is the sanitized script and resulting error.  Any clues on why it is trying to open the ZIP file rather than checking it in?

       

      Script

      import mcafee

      mc = mcafee.client('localhost','8443','username','password')

      mc.repository.checkInPackage('\\x.x.x.x\avvepo7829dat.zip','Current','moveToPrevious')

       

      Error

      C:\Python27>python dat_automated.py

      Traceback (most recent call last):

        File "dat_automated.py", line 11, in <module>

          mc.repository.checkInPackage ('\\x.x.x.x\avvepo7829dat.zip','Current','moveToPrevious')

        File "C:\Python27\lib\mcafee.py", line 454, in __call__

          raise e

      mcafee.CommandInvokerError: Unable to open ZIP file for extraction