Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 347169 - "Computing Size" Error when installing plugins
Summary: "Computing Size" Error when installing plugins
Status: CLOSED NOT_ECLIPSE
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.6.2   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 10:59 EDT by michael lynch CLA
Modified: 2011-05-25 20:06 EDT (History)
2 users (show)

See Also:


Attachments
Error log for defect (93.39 KB, text/plain)
2011-05-25 11:47 EDT, michael lynch CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description michael lynch CLA 2011-05-25 10:59:14 EDT
Build Identifier: M20110210-1200

When installing plug-ins, when Eclipse is on an external drive, the computing size fails, and does not allow plug-ins to be installed.

I also found a few reports of this, on the web, including this one:

------------------
After install, I ran up Helios as an admin, and was able to install the latest Subclipse plugin using the GUI "Install software" feature.

However if I try and install anything else using the GUI - Mylyn or Pydev for example, I get:

"Computing Size has encountered a problem. An internal error occurred during 'Computing Size''' 

Under 'Details' the error is given as: 'The profile is currently in use'.
------------------

This is only a problem when the eclipse is on an external drive, however, many people use external drives, because the do not have the space to install it on the main drive.  I made it minor, because most people can move something off the drive to make space for eclipse, until the plug in is installed, and then move it back.

I hope that this could be changed to a warning, that the user can bypass, if they know there is actually space.


Reproducible: Always

Steps to Reproduce:
1. Install eclipse on an external (mine is NTFS, but I also read it fails on FAT via the web)
2. Install a plug in.  (i was installing the android ADK https://dl-ssl.google.com/android/eclipse/ )
3. Click next, eclipse will inform you that it is working, then it will fail with the message "Computing Size has encountered a problem. An internal error occurred during 'Computing Size'"
Comment 1 Pascal Rapicault CLA 2011-05-25 11:37:00 EDT
Could you please see if the .log in the workspace contains more details about the failure?
Comment 2 michael lynch CLA 2011-05-25 11:47:53 EDT
Created attachment 196565 [details]
Error log for defect
Comment 3 michael lynch CLA 2011-05-25 11:49:47 EDT
I cut the log, but I believe this is the relevant part.

----------------------------
eclipse.buildId=M20110210-1200
java.version=1.6.0_24
java.vendor=Apple Inc.
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
Framework arguments:  -keyring /Users/nycynik/.eclipse_keyring -showlocation
Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -keyring /Users/nycynik/.eclipse_keyring -showlocation

This is a continuation of log file /Users/nycynik/Documents/JavaWorkspace/.metadata/.bak_2.log
Created Time: 2011-05-25 10:51:59.420


Warning
Wed May 25 10:51:59 EDT 2011
An error occurred while loading the manifest /Volumes/FreeAgent GoFlex Drive/SoftwareBackup/eclipse/plugins/._org.sat4j.pb_2.2.0.v20100429.jar.

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:127)
at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.basicLoadManifest(BundlesAction.java:525)
at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.loadManifest(BundlesAction.java:511)
at org.eclipse.equinox.p2.publisher.eclipse.BundlesAction.createBundleDescription(BundlesAction.java:504)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.processBundle(RepositoryListener.java:155)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.process(RepositoryListener.java:150)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.RepositoryListener.added(RepositoryListener.java:131)
at org.eclipse.equinox.internal.p2.extensionlocation.BundlePoolFilteredListener.added(BundlePoolFilteredListener.java:42)
at org.eclipse.equinox.internal.p2.extensionlocation.SiteListener.added(SiteListener.java:336)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.DirectoryWatcher.processFile(DirectoryWatcher.java:197)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.DirectoryWatcher.scanDirectories(DirectoryWatcher.java:160)
at org.eclipse.equinox.internal.provisional.p2.directorywatcher.DirectoryWatcher.poll(DirectoryWatcher.java:108)
at org.eclipse.equinox.internal.p2.extensionlocation.SiteListener.synchronizeRepositories(SiteListener.java:111)
at org.eclipse.equinox.internal.p2.extensionlocation.ExtensionLocationArtifactRepository.ensureInitialized(ExtensionLocationArtifactRepository.java:66)
at org.eclipse.equinox.internal.p2.extensionlocation.ExtensionLocationArtifactRepository.getProperties(ExtensionLocationArtifactRepository.java:216)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.addRepository(AbstractRepositoryManager.java:125)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:657)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:99)
at org.eclipse.equinox.internal.p2.artifact.repository.ArtifactRepositoryManager.loadRepository(ArtifactRepositoryManager.java:95)
at org.eclipse.equinox.p2.engine.ProvisioningContext.getLoadedArtifactRepositories(ProvisioningContext.java:160)
at org.eclipse.equinox.p2.engine.ProvisioningContext.getArtifactRepositories(ProvisioningContext.java:143)
at org.eclipse.equinox.internal.p2.engine.phases.Sizing.completePhase(Sizing.java:91)
at org.eclipse.equinox.internal.p2.engine.Phase.postPerform(Phase.java:216)
at org.eclipse.equinox.internal.p2.engine.Phase.perform(Phase.java:84)
at org.eclipse.equinox.internal.p2.engine.PhaseSet.perform(PhaseSet.java:44)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:73)
at org.eclipse.equinox.internal.p2.engine.Engine.perform(Engine.java:44)
at org.eclipse.equinox.internal.p2.ui.ProvUI.getSize(ProvUI.java:253)
at org.eclipse.equinox.internal.p2.ui.dialogs.SizeComputingWizardPage$1.run(SizeComputingWizardPage.java:63)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

----------------------------
Comment 4 Pascal Rapicault CLA 2011-05-25 20:06:49 EDT
I have been able to reproduce the problem. It is an issue with the OS that is creating those new ._ files (http://reviews.cnet.com/8301-13727_7-10329972-263.html, http://support.apple.com/kb/TA20578).
When I unzip eclipse on my USB stick, those files are immediately created.

At this point, the only way to get that addressed is by disabling the creation of these files or deleting them after the initial unzip of eclipse.