| Summary: | In a shared installation, an install fails | ||
|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Tom Houser <tmhouser> |
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> |
| Status: | RESOLVED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | dj.houghton, john.arthorne, mjboyers, pquiring, simon_kaegi |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Tom Houser
Simpler steps, on windows (I used I20100504-0800) 1) Unzip Eclipse SDK into a new directory 2) Under properties for the folder, Deny "Write" permission under the security tab 3) Launch Eclipse SDK 4) Try to install something Error occurs: !ENTRY org.eclipse.equinox.p2.ui 4 0 2010-05-05 15:22:31.218 !MESSAGE Profile id _SELF_ is not registered. !STACK 0 java.lang.IllegalArgumentException: Profile id _SELF_ is not registered. at org.eclipse.equinox.internal.provisional.p2.director.ProfileChangeRequest.createByProfileId(ProfileChangeRequest.java:49) at org.eclipse.equinox.p2.operations.InstallOperation.computeProfileChangeRequest(InstallOperation.java:68) at org.eclipse.equinox.p2.operations.ProfileChangeOperation.makeResolveJob(ProfileChangeOperation.java:158) at org.eclipse.equinox.p2.operations.ProfileChangeOperation.resolveModal(ProfileChangeOperation.java:113) at org.eclipse.equinox.internal.p2.ui.dialogs.ProvisioningOperationWizard$1.run(ProvisioningOperationWizard.java:206) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121) The previous steps only fail if you run as a UNC install:
- Select the install folder, under properties, select "Sharing"
- Select "Share this folder". Give the shared folder a name ("shared")
- In Explorer type in the address bar \\<yourhostname>\shared
- Now launch eclipse.exe from the UNC location.
Since my particular problem only occurs when using UNC paths, I have entered a separate bug for it: bug 311789. It's quite possibly different from Tom's problem. The work-around for the problem as described in comment #0 is to create the /opt/IBM/XYZ/dropins folder manually. In which 3.6 RC is this targeted to be fixed? It is unclear if this is a bug in p2. There are open questions in the internal bug report which need to be answered in order to make further progress. What's an "internal" bug report? Can you reference that? Ah, ok, thanks DJ for pointing me at the internal bug report. I wasn't familiar with this, but now that you pointed it out to me I now see that Powell had already added a reference to the internal bug report in my capilano work item corresponding to this issue. I overlooked that. Anyways, given the explanation in the internal bug report, it does seem apparent that we'll need to work around the issue as suggested. So this bug report can be closed. Thanks, Tom. Closing. Tom can you point me to this internal work item? and the work around? were still seeing a mkdir issue with latest builds. see bugzilla: https://bugs.eclipse.org/bugs/show_bug.cgi?id=306402 |