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.


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

2022-02-21T15:58:53EST ERROR : Exception:
Traceback (most recent call last):
  File "", line 308, in main
  File "/software/PS_DPKs/setup/scripts/", line 257, in setup
  File "/software/PS_DPKs/setup/scripts/", line 974, in __create
  File "/software/PS_DPKs/setup/scripts/platform/", line 144, in create
  bApplyInfraDPK = self.dpk_manager.validate_dpks()
  File "/software/PS_DPKs/setup/scripts/", line 508, in validate_dpks
  File "/software/PS_DPKs/setup/scripts/", line 167, in extract
  out = zipfile.ZipFile(dpk_file, 'r')
  File "/software/PS_DPKs/setup/python/lib/python3.7/", line 1258, in __init__
  File "/software/PS_DPKs/setup/python/lib/python3.7/", 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 DEBUG : Script execution ended at [2022-02-21:15:58:53]
2022-02-21T15:58:53EST DEBUG : Script execution status [Failed], time taken [00:02:27]

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



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

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