Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.0b4

Bug #12432 Install error (International Characters)
Submitted: 2007-11-12 22:27 UTC
From: ryanf Assigned:
Status: Wont fix Package: HTTP_Upload (version 0.9.1)
PHP Version: 5.2.4 OS: Solaris 10 i86
Roadmaps: (Not assigned)    
Subscription  


 [2007-11-12 22:27 UTC] ryanf (Ryan Ferguson)
Description: ------------ HTTP_Upload will not install on a fresh install of Solaris 10 i86. # uname -a SunOS serverName 5.10 Generic_120012-14 i86pc i386 i86pc # pear install HTTP_Upload downloading HTTP_Upload-0.9.1.tar ... Starting to download HTTP_Upload-0.9.1.tar (Unknown size) ..........done: 38,912 bytes XML error: not well-formed (invalid token) at line 30 Download of "pear/HTTP_Upload" succeeded, but it is not a valid package archive Error: cannot download "pear/HTTP_Upload" Download failed install failed #vim package.xml:30 <name>Antônio Carlos Venâncio Júnior</name> Test script: --------------- 1. Download latest version (http://download.pear.php.net/package/HTTP_Upload-0.9.1.tgz). 2. Unpack tarball (/tmp/HTTP_Upload). 3. edit line 30 to remove ô, â, ú (replaced with o, a, and u). 4. pear install package.xml. # pear install package.xml install ok: channel://pear.php.net/HTTP_Upload-0.9.1 # pear list Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.2 stable Console_Getopt 1.2.3 stable DB 1.7.13 stable HTTP 1.4.0 stable HTTP_Upload 0.9.1 stable MDB2 2.4.1 stable MDB2_Driver_mysql 1.4.1 stable MDB2_Driver_mysqli 1.4.1 stable MDB2_Driver_oci8 1.4.1 stable PEAR 1.6.2 stable Structures_Graph 1.0.2 stable XML_RPC 1.5.1 stable

Comments

 [2007-11-12 23:34 UTC] cwiedmann (Carsten Wiedmann)
Hello, I think, this is fixed in CVS: "package.xml" Revision 1.24 (change the charset/encoding to UTF-8) But in this file (CVS version), the md5sum's are wrong: Upload.php Revision 1.60 | md5sum="03cddbd51121270e763de9affd3fbce0" and I have: | 08d237b4829d6fa738692b3ec1e37181 *Upload.php upload_example.php Revision 1.50 | md5sum="8adf937df3cdfcf1f3f55451692c3533" and I have: | 7679d268afdd161ac1988b2d324abd9b *upload_example.php
 [2007-11-12 23:58 UTC] cwiedmann (Carsten Wiedmann)
Just an additional question (maybe more a question for the PEAR package?): Why does the package.xml from the file "HTTP_Upload-0.9.1.tgz" not work on Solaris 10 i86? The characters in question are valid for ISO-8859-1. (here I don't agree with Bug #3624). And the file have the correct XML declaration for this charset: | <?xml version="1.0" encoding="ISO-8859-1" ?> In addition: On Windows XP the installation works without problems. Regards, Carsten
 [2008-10-22 13:29 UTC] doconnor (Daniel O'Connor)
Ryan, does this still occur for you with Solaris? Looking at Carsten's comment: The characters in question are valid for ISO-8859-1. (here I don't agree with Bug #3624). And the file have the correct XML declaration for this charset: ... and being able to install it happily on ubuntu suggest that it's more solaris getting it wrong than anything with the package.
 [2008-10-22 14:35 UTC] ryanf (Ryan Ferguson)
Yes it does. I recently built a new Solaris 10 server and ran into the same issue again. I used the Solaris Coolstack 1.3.1 (http://cooltools.sunsource.net/coolstack/) for my xamp stack. And I agree, on my home server running Ubuntu, the package installs without issue or need of modification. I only see this error under Solaris.
 [2008-12-30 16:04 UTC] fph (Frank Higgins)
I have the same problem. I am using a host provider running Linux who provides the base pear packages: # pear version PEAR Version: 1.7.2 PHP Version: 5.2.8 Zend Engine Version: 2.2.0 Running on: Linux ...servername... 2.6.27-6_1.intel.BHsmp #1 SMP Thu Nov 13 15:27:29 MST 2008 x86_64 Other packages install fine.
 [2008-12-30 16:50 UTC] wenz (Christian Wenz)
cf. the aforementioned comments. Does the workaround work for you?
 [2009-08-16 14:29 UTC] cweiske (Christian Weiske)
-Status: Feedback +Status: Wont fix
I have seen this issue on systems with a broken XML library (Structures_Graph). Nothing we can do here. But maybe the new release (1.0.0b1) fixes this.