My Oracle Support Banner

E-DPK: Error 'zipfile.BadZipFile: File Is Not A Zip File' Error On PT 8.58.xx Install (Doc ID 2853749.1)

Last updated on MARCH 07, 2022

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.58 and later
Information in this document applies to any platform.

Symptoms

When attempting to install DPK PT 8.58.xx,
the following error occurs.

ERROR
-----------------------
2022-02-21T15:58:53EST psft_dpk_setup.py ERROR : Exception:
Traceback (most recent call last):
  File "psft_dpk_setup.py", line 308, in main
  psft_environment_manager.setup()
  File "/software/PS_DPKs/setup/scripts/psft_environment_manager.py", line 257, in setup
  self.__create()
  File "/software/PS_DPKs/setup/scripts/psft_environment_manager.py", line 974, in __create
  psft_environment.create()
  File "/software/PS_DPKs/setup/scripts/platform/psft_environment.py", line 144, in create
  bApplyInfraDPK = self.dpk_manager.validate_dpks()
  File "/software/PS_DPKs/setup/scripts/psft_dpks.py", line 508, in validate_dpks
  self.extract()
  File "/software/PS_DPKs/setup/scripts/psft_dpks.py", line 167, in extract
  out = zipfile.ZipFile(dpk_file, 'r')
  File "/software/PS_DPKs/setup/python/lib/python3.7/zipfile.py", line 1258, in __init__
  self._RealGetContents()
  File "/software/PS_DPKs/setup/python/lib/python3.7/zipfile.py", line 1325, in _RealGetContents
  raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
2022-02-21T15:58:53EST psftutils.py DEBUG : Script execution ended at [2022-02-21:15:58:53]
2022-02-21T15:58:53EST psftutils.py DEBUG : Script execution status [Failed], time taken [00:02:27]


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Begin the installation process using command: ./psft-dpk-setup.sh --env_type midtier --deploy_only --deploy_type tools_home
2. Experience issue.



 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.