Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » eclipse plugin install issues - one plugin failing kills others
eclipse plugin install issues - one plugin failing kills others [message #317688] Wed, 11 July 2007 22:02 Go to next message
Eclipse UserFriend
Originally posted by: dingfelder_nospam.gmail.com

I am having an issue with updating plugins that I find really annoying.

If I try and update multiple plugins, and one plugin update fails, all
the subsequent plugins also fail.

This is behavior is very annoying, as it sometimes takes a long time to
download and install plugins on a slow connection.

For example,

case 1: if I start an update for 5 plugins, and it has downloaded 4 of
the plugins, and gets a 404 error on the 5th, the entire plugin update
process then dies, and the first 4 do not get installed. If I re-run
the process, it has to re-download the plugins that it already retrieved.

error example:
Unable to retrieve remote reference
" http://pydev.sourceforge.net/updates/features/org.python.pyd ev.mylyn.feature_0.3.0.jar".
[Server returned HTTP response code: "404 Not Found" for URL:
http://pydev.sourceforge.net/updates/features/org.python.pyd ev.mylyn.feature_0.3.0.jar.]


case 2: if all the downloads succeed and the installation of the
plugins fails for some reason on one of the first plugins, all the
subsequent installations get skipped.


error example:

Error Thu Jul 12 20:56:59 NZST 2007 Unable to complete action for
feature "Graphical Modeling Framework (Europa Edition)" due to errors.

org.eclipse.core.runtime.CoreException: The File
" /tmp/-1561907453/eclipse/.update/1184171830588/1184171830968 /eclipse22987.tmp "
is not a valid JAR file. [error in opening zip file]
at org.eclipse.update.core.Utilities.newCoreException(Utilities .java:223)
at org.eclipse.update.core.Utilities.newCoreException(Utilities .java:254)
at
org.eclipse.update.internal.verifier.CertVerifier.init(CertV erifier.java:86)
at
org.eclipse.update.internal.verifier.CertVerifier.verify(Cer tVerifier.java:129)
at org.eclipse.update.core.Feature.verifyReferences(Feature.jav a:967)
at org.eclipse.update.core.Feature.install(Feature.java:377)
at org.eclipse.update.internal.core.SiteFile.install(SiteFile.j ava:96)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:155)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:119)
at
org.eclipse.update.internal.operations.InstallOperation.exec ute(InstallOperation.java:92)
at
org.eclipse.update.internal.operations.BatchInstallOperation .execute(BatchInstallOperation.java:84)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.instal l(InstallWizard2.java:373)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.access $1(InstallWizard2.java:370)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2$1.run( InstallWizard2.java:483)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
org.eclipse.core.runtime.CoreException[0]: java.util.zip.ZipException:
error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:114)
at java.util.jar.JarFile.<init>(JarFile.java:133)
at java.util.jar.JarFile.<init>(JarFile.java:97)
at
org.eclipse.update.internal.verifier.CertVerifier.init(CertV erifier.java:77)
at
org.eclipse.update.internal.verifier.CertVerifier.verify(Cer tVerifier.java:129)
at org.eclipse.update.core.Feature.verifyReferences(Feature.jav a:967)
at org.eclipse.update.core.Feature.install(Feature.java:377)
at org.eclipse.update.internal.core.SiteFile.install(SiteFile.j ava:96)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:155)
at
org.eclipse.update.internal.core.ConfiguredSite.install(Conf iguredSite.java:119)
at
org.eclipse.update.internal.operations.InstallOperation.exec ute(InstallOperation.java:92)
at
org.eclipse.update.internal.operations.BatchInstallOperation .execute(BatchInstallOperation.java:84)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.instal l(InstallWizard2.java:373)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2.access $1(InstallWizard2.java:370)
at
org.eclipse.update.internal.ui.wizards.InstallWizard2$1.run( InstallWizard2.java:483)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Re: eclipse plugin install issues - one plugin failing kills others [message #317689 is a reply to message #317688] Wed, 11 July 2007 22:34 Go to previous message
Eclipse UserFriend
Originally posted by: automatic.javalobby.org

Moral of this story; don't try to install too much at one time :-)

The update manager has several such known quirks, and the Eclipse 3.4 story is going to have a lot of work in the provisioning space doing a better job of these things.

Alex.
Previous Topic:ContentOutlinePage cause 2 selection events to happen
Next Topic:eclipse location on linux
Goto Forum:
  


Current Time: Sat Dec 20 19:42:15 GMT 2014

Powered by FUDForum. Page generated in 0.02045 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software