Skip to main content



      Home
Home » Eclipse Projects » Equinox » Getting more info about p2 director errors
Getting more info about p2 director errors [message #117379] Thu, 11 September 2008 21:21 Go to next message
Eclipse UserFriend
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig719115A8E20485B43AA363D8
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

I have a shell script which downloads a number of Eclipse features from
an update site using p2 director from the command line.

http://cvs.fedora.redhat.com/viewvc/rpms/eclipse-nls/devel/f etch-babel.sh=
?revision=3D1.1&view=3Dmarkup

an excerpt from the script:
------------------------------------------------------------ ------------
[eclipse] \
-launcher.suppressErrors \
-nosplash \
-consoleLog \
-application org.eclipse.equinox.p2.director.app.application \
-metadataRepository $UPDATE_SITE \
-artifactRepository $UPDATE_SITE \
-installIU org.eclipse.nls.$javalocale.feature.group \
-destination $DEST \
-profile $profile \
-profileProperties org.eclipse.update.install.features=3Dtrue \
-bundlepool $workdir \
-p2.os linux \
-p2.ws gtk \
-p2.arch x86 \
-roaming \
-vmargs \
-Duser.home=3Dhome \
-Declipse.p2.data.area=3D$DEST/p2
------------------------------------------------------------ ------------



The problem is, I'm getting error messages like the following, but only
for some of the features, and it doesn't seem to be repeatable.

------------------------------------------------------------ ------------
[Fatal Error] :11387:99: XML document structures must start and end
within the same entity.
Installing org.eclipse.nls.zh.feature.group 0.2.0.v20080907043401.
------------------------------------------------------------ ------------
Looking at Google, that error message probably belongs to a
SaxParserException, but without a stack trace or a document name, it's a
bit hard to find the real problem.

The full log is here
http://seanf.fedorapeople.org/bugs/org.eclipse.nls-20080912s nap-fetched-s=
rc.log

Note that it usually takes over an hour to run the script on my system,
but the errors usually start to appear within a few minutes.

Is there a command line option I could use so that the director will
tell me where it finds these XML problems?

Thanks

Sean.


--------------enig719115A8E20485B43AA363D8
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJIycQ0AAoJEANMP0IIh1rvsqMIANXuI6JVZIxojIYxk7Jz q2KL
Pu6cC2naMpi8qo+rwf7ZwXUzxa7wmZzgt2d8qWHqxzA7LDacCjcjp2JhIbad o5OL
4bGiVHoz6lhxn1zS6zQLse71rPqPWJNFAr2CKNDfZIR8Pj2u5AvBDaL+IJX8 Itbn
NMDo5Y2TmKeveT4+sHVa6lv8W1f1bJCQeG/H0j2gSOKUYcFpbFccT/4QrtXx RPlP
/RakF4wGaBiL/hQ8A3VrlYD6wfV1hStzYAQ8mijrwGuwyE3WLkhJ7mPGzVFL X4Cm
/M3770zqEmJcGhknIS0JJyfAQ/ysw8NK810HIbB6nRw+cgsV1UAKycdqjTg7 PN4=
=HX0b
-----END PGP SIGNATURE-----

--------------enig719115A8E20485B43AA363D8--
Re: Getting more info about p2 director errors [message #117394 is a reply to message #117379] Thu, 11 September 2008 23:18 Go to previous message
Eclipse UserFriend
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigB3CDDCFBDF8BEDD5DF193B2C
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Sean Flanigan wrote:
> The problem is, I'm getting error messages like the following, but only=

> for some of the features, and it doesn't seem to be repeatable.
>=20
> ------------------------------------------------------------ -----------=
-
> [Fatal Error] :11387:99: XML document structures must start and end
> within the same entity.

I gather this SAX error message often happens when a document/stream is
cut off. Perhaps some of the update-site mirrors are misbehaving. Is
there some way I can check which mirror the Director is choosing?


--------------enigB3CDDCFBDF8BEDD5DF193B2C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iQEcBAEBAgAGBQJIyd9sAAoJEANMP0IIh1rvk4sH/26PUrlQZRsYfP2X2/fH +yUg
ufQ9rnlLKwb2xMsF0WoL1/ZeZP+4BspXXXE0Fs2IKJYCV3sHz8zKdOFXzGwu 3yqA
eCwvUMKgzh8yq8hBD3+1wCqBfeGgbTocZH4lNqKCy13XhSztPZCd0kaCyR+F Zl9z
M0JnFtYIv7uXp7ZYbcAdLPJ7AQfC7HMsOkdaUB9T8p29KEWKhdVTzRxG/9ne 7wjc
sZy/XMaPJuct6ocmg4OwS8DpLqDHub6bvgS0tE6vC2fFt05RsywAlTWd1Y/C Er34
maQdrkkNxJVh5WxjszquWudX64wXq4h97GNA7L5CrVSp+yiIVU17JXpfuXdE eCM=
=EuO3
-----END PGP SIGNATURE-----

--------------enigB3CDDCFBDF8BEDD5DF193B2C--
Previous Topic:[P2] error: no artifact repository
Next Topic:[P2] Unable to execute early startup code
Goto Forum:
  


Current Time: Thu May 08 11:26:30 EDT 2025

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

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

Back to the top