Mysterious p2 error message - please help explain it [message #22632] |
Wed, 11 March 2009 16:46  |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Can anyone offer an explanation for the p2 installation message:
"Failed to prepare partial IU: [R]my.plugin.id 1.2.0"
This occurred while testing installation from an update site that was
build using Tycho. The dialog message says:
"'Install' has encountered a problem.
An error occurred during provisioning."
With the message above in the Details >> section.
Any hints about what this means?
TIA,
Eric
|
|
|
|
|
|
|
|
Re: Mysterious p2 error message - please help explain it [message #22897 is a reply to message #22721] |
Thu, 12 March 2009 10:48   |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
On 3/11/2009 6:56 PM, Igor Fedorenko wrote:
> I have not seen this error before. Can you check if there is anything
> obviously wrong with the generated site under target/site? You should
> see standard update site layout with proper P2 metadata there. Or if you
> can provide sample projects and steps to reproduce the problem, I'll be
> happy to debug it here.
>
> Also, what Tycho version you are using? Note that we are still using
> fairly old P2 runtime (from e3.4.1, IIRC) so I wonder if this causes any
> incompatibilities with more recent clients.
We're using the latest Tycho and Eclipse 3.4, so I think they should be
compatible.
Our buildmaster guy had removed the Tycho-generated p2 data from the
site because we've had troubles before with those files that are built
from the IDE. When he left them in, we get the dreaded "unable to find a
solution..." error from p2. Unfortunately, those error messages are next
to useless for debugging what is wrong with a site, so...
> Eric Rizzo wrote:
>> Can anyone offer an explanation for the p2 installation message:
>> "Failed to prepare partial IU: [R]my.plugin.id 1.2.0"
>>
>> This occurred while testing installation from an update site that was
>> build using Tycho. The dialog message says:
>> "'Install' has encountered a problem.
>> An error occurred during provisioning."
>>
>> With the message above in the Details >> section.
>>
>> Any hints about what this means?
>>
>> TIA,
>> Eric
|
|
|
Re: Mysterious p2 error message - please help explain it [message #22941 is a reply to message #22765] |
Thu, 12 March 2009 10:54  |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
On 3/11/2009 7:05 PM, Igor Fedorenko wrote:
> Simon,
>
> Will p2 produce "failed to prepare partial IU" message if there is a
> discrepancy between artifact size reported in artifacts.xml and actual
> artifact file size? We had such mismatch once (see
> http://jira.codehaus.org/browse/MNGECLIPSE-1092), but were never able to
> reproduce the problem nor explain how it happened.
In our case, the "failed to prepare partial IU" error happened when
artifacts.xml had been removed from the update site.
> Simon Kaegi wrote:
>> In p2 when you download a bundle from an old style update site we
>> "prepare" it for installation in the profile. What this really amount
>> to doing is replacing the bare-bones partial IU (really just the bsn
>> and version) with a full bundle IU we generate from the bundle. To do
>> this we need to bring the jar file local. (You can see the logic in
>> org.eclipse.equinox.p2.touchpoints.eclipse.EclipseTouchpoint )
>>
>> When you get the "failed to prepare partial IU" message that's a
>> fairly low-level error that usually means that the download is in
>> someway corrupt or altogether missing and so we're unable to generate
>> the full IU at install time. To be honest we didn't anticipate on that
>> error ever getting shown to a user. We do a "much" better job of
>> trapping the sorts of download errors that could cause this sort of
>> thing in 3.5 as compared to the fairly limited networking
>> infrastructure we had for 3.4.x, so I'm curious if you are getting
>> this error using 3.5 or 3.4.x.
>>
>> -Simon
>>
>> "Eric Rizzo" <eclipse-news@rizzoweb.com> wrote in message
>> news:gp97vr$r3k$1@build.eclipse.org...
>>> Can anyone offer an explanation for the p2 installation message:
>>> "Failed to prepare partial IU: [R]my.plugin.id 1.2.0"
>>>
>>> This occurred while testing installation from an update site that was
>>> build using Tycho. The dialog message says:
>>> "'Install' has encountered a problem.
>>> An error occurred during provisioning."
>>>
>>> With the message above in the Details >> section.
>>>
>>> Any hints about what this means?
>>>
>>> TIA,
>>> Eric
>>
>>
|
|
|
Powered by
FUDForum. Page generated in 0.04584 seconds