Home » Web Services » Services_ExchangeRates » Bug #4671
Recieve XML Error while installing whit PEAR
Details
| Submitted | 2005-06-24 01:18 UTC |
|---|---|
| From | powtac at gmx dot de |
| Assigned | cross |
| Status | Closed |
| Package | Services_ExchangeRates |
| PHP Version | 5.0.3 |
| OS | Win 98 |
| Roadmaps | (Not assigned) |
Comments
[2005-06-24 01:18 UTC] powtac at gmx dot de
Description:
------------
pear install Services_ExchangeRates
throws:
downloading Services_ExchangeRates-0.5.2.tgz ...
Starting to download Services_ExchangeRates-0.5.2.tgz (10,258 bytes)
.....done: 10,258 bytes
XML error: Undeclared entity warning at line 131
Reproduce code:
---------------
pear install Services_ExchangeRates
Expected result:
----------------
install OK or similar
Actual result:
--------------
downloading Services_ExchangeRates-0.5.2.tgz ...
Starting to download Services_ExchangeRates-0.5.2.tgz (10,258 bytes)
.....done: 10,258 bytes
XML error: Undeclared entity warning at line 131
[2005-08-11 19:43 UTC] rscadlock at gmail dot com
Description:
------------
pear install File
throws:
downloading File-1.2.1.tgz ...
Starting to download File-1.2.1.tgz (15,892 bytes)
......done: 15,892 bytes
XML error: Undeclared entity warning at line 232
Reproduce code:
---------------
pear install File
Expected result:
----------------
install OK or similar
Actual result:
--------------
downloading File-1.2.1.tgz ...
Starting to download File-1.2.1.tgz (15,892 bytes)
......done: 15,892 bytes
XML error: Undeclared entity warning at line 232
Running SuSE 9.3 with php5
[2005-08-14 06:00 UTC] public at websavages dot com
I get it running in fedora core 4 ppc
php 5.0.4
# pear upgrade-all
Will upgrade file
downloading File-1.2.1.tgz ...
Starting to download File-1.2.1.tgz (15,892 bytes)
......done: 15,892 bytes
XML error: Undeclared entity warning at line 232
#
[2005-08-15 15:46 UTC] wequar98 at gmail dot com
I get the following error on Windows XP Pro.
pear install File
downloading File-1.2.1.tgz ...
Starting to download File-1.2.1.tgz (15,892 bytes)
......done: 15,892 bytes
XML error: Undeclared entity warning at line 232
[2005-08-17 10:31 UTC] marcus dot mueller at grintsch dot com
As far as I can see the problem is not pear or pear.bat but the package.xml file that comes with the File package.
You can still manually install or upgrade other packages ("pear install/upgrade <package name>") while you're waiting that File's package.xml gets fixed.
[2005-08-18 11:23 UTC] public at websavages dot com
Marcus,
I have just been able to upgrade a package other than File with success. See below
Cheers PJ
[user@piglet ~]pear upgrade-all
Will upgrade file
Will upgrade xml_rpc
downloading File-1.2.1.tgz ...
Starting to download File-1.2.1.tgz (15,892 bytes)
......done: 15,892 bytes
XML error: Undeclared entity warning at line 232
[user@piglet ~]# pear upgrade xml_rpc
downloading XML_RPC-1.4.0.tgz ...
Starting to download XML_RPC-1.4.0.tgz (26,776 bytes)
.........done: 26,776 bytes
upgrade ok: XML_RPC 1.4.0
[user@piglet ~]#
[2005-08-19 02:05 UTC] public at websavages dot com
See http://pear.php.net/bugs/bug.php?id=5113 for more info
[2005-09-28 10:51 UTC] opensource_france at yahoo dot fr
It is th same for me with PHP 5.0.4 with a RedHat 7.2 made in OVH.
[root@ns php]# pear install Services_ExchangeRates-beta
downloading Services_ExchangeRates-0.5.2.tgz ...
Starting to download Services_ExchangeRates-0.5.2.tgz (10,258 bytes)
.....done: 10,258 bytes
XML error: Undeclared entity warning at line 131
Download of "pear/Services_ExchangeRates" succeeded, but it is not a valid package archive
Error: cannot download "pear/Services_ExchangeRates"
[root@ns php]# pear install Services_ExchangeRates
Failed to download pear/Services_ExchangeRates within preferred state "stable", latest release is version 0.5.2, stability "beta", use "channel://pear.php.net/Services_ExchangeRates-0.5.2" to install
Cannot initialize 'Services_ExchangeRates', invalid or missing package file
Package "Services_ExchangeRates" is not valid
install failed
[2005-10-06 19:16 UTC] glen at delfi dot ee
same error here
$ pear install --nodeps
--installroot=/tmp/pear Services_ExchangeRates-0.5.2.tgz
WARNING: channel "pear.php.net" has updated its protocols,
use "channel-update pear.php.net" to update
warning: pear/Services_ExchangeRates requires package
"pear/HTTP_Request"
warning: pear/Services_ExchangeRates requires package
"pear/Cache_Lite"
warning: pear/Services_ExchangeRates requires package
"pear/XML_Tree"
downloading Services_ExchangeRates-0.5.2.tgz ...
Starting to download Services_ExchangeRates-0.5.2.tgz
(10,258 bytes)
.....done: 10,258 bytes
XML error: Undeclared entity warning at line 131
Download of "pear/Services_ExchangeRates" succeeded, but
it is not a valid package archive
Error: cannot download "pear/Services_ExchangeRates"
$ pear -V
PEAR Version: 1.4.1
PHP Version: 5.0.5
Zend Engine Version: 2.0.5
Running on: Linux [snip] 2.6.12.5-0.2 #1 Thu
Aug 18 23:21:08 EEST 2005 x86_64
here's patch to package.xml. i hope this will eventually
now be fixed :)
$ diff -u package.xml{~,}
--- package.xml~ 2005-10-06 22:15:52.000000000
+0300
+++ package.xml 2005-10-06 22:15:54.000000000 +0300
@@ -72,7 +72,7 @@
<version>0.5.0</version>
<date>2004-02-22</date>
<state>beta</state>
- <notes>* Added National Bank of Israel driver (Thanks
Simon Brüchner!)
+ <notes>* Added National Bank of Israel driver (Thanks
Simon Brüchner!)
* Everything seems pretty stable, so changed state to
beta
</notes>
</release>
[2005-11-23 02:23 UTC] cross at php dot net
Thank you for your bug report. This issue has been fixed
in the latest released version of the package, which you can download at
http://pear.php.net/get/Services_ExchangeRates
Sorry for the delay on this fix guys... I'll be focusing on stabilizing up this package in the comming weeks