Issue2196

classification
Title: Jython 2.7-b3 installer java.util.zip.ZipException: duplicate entry: META-INF/BCKEY.DSA
Type: crash Severity: critical
Components: Installer Versions: Jython 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: otmarhumbel Nosy List: otmarhumbel, spider, zyasoft
Priority: Keywords:

Created on 2014-08-27.08:18:51 by spider, last changed 2014-08-28.04:46:09 by otmarhumbel.

Messages
msg8939 (view) Author: Matthew Webber (spider) Date: 2014-08-27.08:18:50
I downloaded jython-installer-2.7-b3.jar and attempted to install. I specified the "standalone" option.

Unfortunately, the install fails as follows:
$ Exception in thread "Thread-6" org.python.util.install.InstallerException: Error accessing jar file
	at org.python.util.install.JarInstaller.inflate(JarInstaller.java:170)
	at org.python.util.install.ProgressPage.activate(ProgressPage.java:84)
	at org.python.util.install.AbstractWizardPage.doActivate(AbstractWizardPage.java:41)
	at org.python.util.install.AbstractWizard.showActivePage(AbstractWizard.java:414)
	at org.python.util.install.AbstractWizard.next(AbstractWizard.java:319)
	at org.python.util.install.AbstractWizard.gotoNextPage(AbstractWizard.java:215)
	at org.python.util.install.AbstractWizardValidator.fireValidationSucceeded(AbstractWizardValidator.java:78)
	at org.python.util.install.AbstractWizardValidator.access$100(AbstractWizardValidator.java:6)
	at org.python.util.install.AbstractWizardValidator$ValidatorThread.run(AbstractWizardValidator.java:16)
Caused by: java.util.zip.ZipException: duplicate entry: META-INF/BCKEY.DSA
	at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:215)
	at java.util.jar.JarOutputStream.putNextEntry(JarOutputStream.java:109)
	at org.python.util.install.StandalonePackager.addJarFile(StandalonePackager.java:92)
	at org.python.util.install.JarInstaller.inflate(JarInstaller.java:156)
	... 8 more

If I did the same thing using 2.7-b2, no problems were encountered.
msg8940 (view) Author: Jim Baker (zyasoft) Date: 2014-08-27.15:38:47
duplicate entry: META-INF/BCKEY.DSA means we are trying to write this file twice. Hopefully an easy fix in the installation wizard.
History
Date User Action Args
2014-08-28 04:46:09otmarhumbelsetassignee: otmarhumbel
nosy: + otmarhumbel
2014-08-27 15:38:47zyasoftsetnosy: + zyasoft
messages: + msg8940
2014-08-27 08:18:51spidercreate