Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Oomph » Cannot complete the install-one required item could not be found, but shown in Repository Explorer
Cannot complete the install-one required item could not be found, but shown in Repository Explorer [message #1841416] Sat, 15 May 2021 03:55 Go to next message
Aparna Argade is currently offline Aparna ArgadeFriend
Messages: 61
Registered: October 2010
Member
After adding nebula RangeSlider support in SWTBot, targets and oomph setup files were updated to have it. SWTBot Oomph setup gives error as:
Missing requirement: artificial_root 1.0.0.v1621045983469 requires 'org.eclipse.equinox.p2.iu; org.eclipse.nebula.widgets.opal.​rangeslider.feature.feature.group 0.0.0' but it could not be found

Repository Explorer can show this feature. Attached image.index.php/fa/40492/0/
Why then rangeslider feature is not found?

Target definition contains-
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.nebula.widgets.opal.rangeslider.feature.feature.group" version="0.0.0"/>
<repository location="http://download.eclipse.org/nebula/snapshot/"/>


Detailed oomph error as below-
Adding repository http://download.eclipse.org/nebula/snapshot/
Calculating requirements and dependencies.
Cannot complete the request.  Generating details.
ERROR: org.eclipse.pde.core code=0 Problems occurred while resolving the target contents
  at org.eclipse.oomph.util.OomphPlugin.coreException(OomphPlugin.java:291)
  at org.eclipse.oomph.util.pde.TargetPlatformUtil.activateTargetDefinition(TargetPlatformUtil.java:151)
  at org.eclipse.oomph.targlets.internal.core.TargletContainer.forceUpdate(TargletContainer.java:813)
  at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl$4.run(TargletTaskImpl.java:1174)
  at org.eclipse.oomph.util.pde.TargetPlatformUtil.runWithTargetPlatformService(TargetPlatformUtil.java:120)
  at org.eclipse.oomph.setup.targlets.impl.TargletTaskImpl.perform(TargletTaskImpl.java:1035)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.doPerformNeededSetupTasks(SetupTaskPerformer.java:3851)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.access$1(SetupTaskPerformer.java:3794)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil$1.run(SetupTaskPerformer.java:5160)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2292)
  at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2317)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.performNeededSetupTasks(SetupTaskPerformer.java:5154)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer$WorkspaceUtil.access$0(SetupTaskPerformer.java:5152)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performNeededSetupTasks(SetupTaskPerformer.java:3785)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.performTriggeredSetupTasks(SetupTaskPerformer.java:3760)
  at org.eclipse.oomph.setup.internal.core.SetupTaskPerformer.perform(SetupTaskPerformer.java:3638)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$9.run(ProgressPage.java:595)
  at org.eclipse.oomph.setup.ui.wizards.ProgressPage$11$1.run(ProgressPage.java:722)
  at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
  ERROR: org.eclipse.equinox.p2.director code=10053 Cannot complete the install because one or more required items could not be found.
    ERROR: org.eclipse.equinox.p2.director code=0 Software being installed: artificial_root 1.0.0.v1621045983469
    ERROR: org.eclipse.equinox.p2.director code=0 Missing requirement: artificial_root 1.0.0.v1621045983469 requires 'org.eclipse.equinox.p2.iu; org.eclipse.nebula.widgets.opal.​rangeslider.feature.feature.group 0.0.0' but it could not be found

Took 40 seconds.


Please suggest what is missing. Thanks
Aparna
Re: Cannot complete the install-one required item could not be found, but shown in Repository Explor [message #1841418 is a reply to message #1841416] Sat, 15 May 2021 05:18 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33254
Registered: July 2009
Senior Member
This is a little bit of a trick question. Apparently a human cannot see the difference between 'org.eclipse.nebula.widgets.opal.​rangeslider.feature.feature.group' versus 'org.eclipse.nebula.widgets.opal.rangeslider.feature.feature.group' but a computer notices that the '.' after opal of the first string is different from the '.' after opal in the second. Goodness knows how you created this string but note that you can drag things from the Repository Explorer and drop them as Requirements in a Setup editor to avoid typos.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Cannot complete the install-one required item could not be found, but shown in Repository Explor [message #1841421 is a reply to message #1841418] Sat, 15 May 2021 16:56 Go to previous messageGo to next message
Aparna Argade is currently offline Aparna ArgadeFriend
Messages: 61
Registered: October 2010
Member
Hi Ed,
I changed oomph setup file by drag drop from Resource Explorer https://git.eclipse.org/r/c/swtbot/org.eclipse.swtbot/+/180630
I also see that line for rangeslider feature name is changed for that dot. But still I get the same error from Oomph setup. Could you please give further suggestions?
Thank you very much,
Aparna
Re: Cannot complete the install-one required item could not be found, but shown in Repository Explor [message #1841423 is a reply to message #1841421] Sun, 16 May 2021 06:36 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33254
Registered: July 2009
Senior Member
I tested your setup from scratch just now and it worked for me. It can take annoyingly long for this job to update the setups.zip

https://ci.eclipse.org/oomph/job/setup-archiver/

Firstly the server keeps server a cached older version of that zip even when it is updated and also git.eclipse.org servers cached older versions of the resources for quite some time ever after a commit.

But in your IDE you have the SWTBot setup redirect to your local resource so you should be able to see it working once the clone exists in that IDE...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Cannot complete the install-one required item could not be found, but shown in Repository Explor [message #1841437 is a reply to message #1841423] Mon, 17 May 2021 06:00 Go to previous message
Aparna Argade is currently offline Aparna ArgadeFriend
Messages: 61
Registered: October 2010
Member
Yes, it is working now. Thank you very much!
Previous Topic:Adding new plugins to the "master" .setup file => no propagation on installed instances
Next Topic:error when install Eclipse (2021-03)
Goto Forum:
  


Current Time: Tue Nov 12 03:57:42 GMT 2024

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

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

Back to the top