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

Bug #17589 Pyrus: Installation data folder wrong
Submitted: 2010-07-14 16:20 UTC
From: boekkooi Assigned: cweiske
Status: Closed Package: PEAR
PHP Version: 5.3.1 OS: Windows 7 x64
Roadmaps: (Not assigned)    
Subscription  


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 32 + 49 = ?

 
 [2010-07-14 16:20 UTC] boekkooi (Warnar Boekkooi)
Description: ------------ When installing PEAR2_Pyrus the data for the data folder is installed in the wrong location. Test script: --------------- Create a new registry: php pyrus.phar <registry_location> install PEAR2_Pyrus php pyrus.phar <registry_location> list-channels Goto: <registry_location>\data\PEAR2_Pyrus\pear2.php.net\PEAR2_Pyrus\pear2.php.net Expected result: ---------------- Data files should be placed in: <registry_location>\data\PEAR2_Pyrus\pear2.php.net\ Actual result: -------------- Data files are placed in: <registry_location>\data\PEAR2_Pyrus\pear2.php.net\PEAR2_Pyrus\pear2.php.net

Comments

 [2010-07-14 16:25 UTC] boekkooi (Warnar Boekkooi)
-Package: Documentation +Package: PEAR
This bug also cause the following problem: Description: When installing a package Using de OOP interface the following warning is displayed: Warning: DOMDocument::schemaValidate(): Invalid Schema in D:\pear\repo\php\PEAR2 \Pyrus\XMLParser.php on line 209 Expected result: No warning Actual result: A warning because the schema file is not in the expected place on the filesystem.
 [2010-07-14 16:26 UTC] boekkooi (Warnar Boekkooi)
-Status: Open +Status: Critical
 [2010-07-14 16:32 UTC] boekkooi (Warnar Boekkooi)
This bug also cause the following problem: When installing a package Using de OOP interface the following exceptions are show: Fatal error: Uncaught exception 'PEAR2\MultiErrors' with message 'multiple errors found' in D:\pear\repo\php\PEAR2\Pyrus\Channel\RemotePackage.php:337 Stack trace: #0 D:\pear\repo\php\PEAR2\Pyrus\Package\Remote.php(155): PEAR2\Pyrus\Channel\RemotePackage->download() #1 D:\pear\repo\php\PEAR2\Pyrus\Package.php(192): PEAR2\Pyrus\Package\Remote->download() #2 D:\pear\repo\php\PEAR2\Pyrus\Installer.php(265): PEAR2\Pyrus\Package->download() #3 D:\pear\packages\PackageManager\tests\i.php(10): PEAR2\Pyrus\Installer::commit() #4 {main} Next exception 'PEAR2\Pyrus\Package\Exception' with message 'Invalid abstract package pear2.php.net/PEAR2_Pyrus' in D:\pear\repo\php\PEAR2\Pyrus\Channel\RemotePackage.php:431 Stack trace: #0 D:\pear\repo\php\PEAR2\Pyrus\Package\Remote.php(155): PEAR2\Pyrus\Channel\RemotePackage->download() #1 D:\pear\repo\php\PEAR2\Pyrus\Package.php(192): PEAR2\Pyrus\Package\Remote->download() #2 D:\pear\repo\php\PEAR2\Pyrus\Installer.php(265): PEAR2\Pyrus\Package->download() #3 D:\pear\packages\PackageManager\tes in D:\pear\repo\php\PEAR2\Pyrus\Channel\RemotePackage.php on line 431 These are gone once i move the files in the right folder :D
 [2010-07-14 16:43 UTC] boekkooi (Warnar Boekkooi)
It looks like 'PEAR2_Console_CommandLine' and 'PEAR2_HTTP_Request' also have location placement bug but then for the docs and tests folders. Also added the following bug: http://pear.php.net/bugs/bug.php?id=17590 (maybe i was a bit to quick)
 [2010-07-16 13:45 UTC] boekkooi (Warnar Boekkooi)
 [2010-07-22 20:35 UTC] saltybeagle (Brett Bieber)
I can't reproduce this issue. ucommbieber:mypytest bbieber$ php pyrus.phar `pwd` set bin_dir `pwd`/bin Pyrus version 2.0.0a1 SHA-1: E8D2B52B1C5FB9C1F02D753BECEAB96176348F77 Using PEAR installation found at /Users/bbieber/mypytest Setting bin_dir in system paths ucommbieber:mypytest bbieber$ php pyrus.phar `pwd` install PEAR2_Pyrus-alpha Pyrus version 2.0.0a1 SHA-1: E8D2B52B1C5FB9C1F02D753BECEAB96176348F77 Using PEAR installation found at /Users/bbieber/mypytest Downloading pear2.php.net/PEAR2_Pyrus Connected... Downloading pear2.php.net/PEAR2_Autoload Connected... Downloading pear2.php.net/PEAR2_Exception Connected... Downloading pear2.php.net/PEAR2_MultiErrors Connected... Downloading pear2.php.net/PEAR2_HTTP_Request Connected... Downloading pear2.php.net/PEAR2_Console_CommandLine Connected... Installed pear2.php.net/PEAR2_Pyrus-2.0.0a1 Installed pear2.php.net/PEAR2_Autoload-0.2.0 Installed pear2.php.net/PEAR2_Exception-0.2.0 Installed pear2.php.net/PEAR2_MultiErrors-0.2.0 Installed pear2.php.net/PEAR2_HTTP_Request-0.2.0 Installed pear2.php.net/PEAR2_Console_CommandLine-0.1.0 ucommbieber:mypytest bbieber$ find data data data/PEAR2_Console_CommandLine data/PEAR2_Console_CommandLine/pear2.php.net data/PEAR2_Console_CommandLine/pear2.php.net/xmlschema.rng data/PEAR2_Pyrus data/PEAR2_Pyrus/pear2.php.net data/PEAR2_Pyrus/pear2.php.net/built-in-commands.xml data/PEAR2_Pyrus/pear2.php.net/channel-1.0.xsd data/PEAR2_Pyrus/pear2.php.net/customcommand-2.0.xsd data/PEAR2_Pyrus/pear2.php.net/customrole-2.0.xsd data/PEAR2_Pyrus/pear2.php.net/customtask-2.0.xsd data/PEAR2_Pyrus/pear2.php.net/default_channels data/PEAR2_Pyrus/pear2.php.net/default_channels/__uri.xml data/PEAR2_Pyrus/pear2.php.net/default_channels/doc.php.net.xml data/PEAR2_Pyrus/pear2.php.net/default_channels/pear.php.net.xml data/PEAR2_Pyrus/pear2.php.net/default_channels/pear2.php.net.xml data/PEAR2_Pyrus/pear2.php.net/default_channels/pecl.php.net.xml data/PEAR2_Pyrus/pear2.php.net/developercommands.xml data/PEAR2_Pyrus/pear2.php.net/package-2.0.xsd data/PEAR2_Pyrus/pear2.php.net/package-2.1.xsd data/PEAR2_Pyrus/pear2.php.net/scscommands.xml data/PEAR2_Pyrus/pear2.php.net/x509rootcerts data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/AAACertificateServices data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/ABA.ECOMRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/AddTrustClass1CARoot data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/AddTrustExternalCARoot data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/AddTrustPublicCARoot data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/AddTrustQualifiedCARoot data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/AmericaOnlineRootCertificationAuthority1 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/AmericaOnlineRootCertificationAuthority2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/AOLTimeWarnerRootCertificationAuthority1 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/AOLTimeWarnerRootCertificationAuthority2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/AutoridaddeCertificacionFirmaprofesionalCIFA62634068 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/BaltimoreCyberTrustRoot data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/beTRUSTedRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/beTRUSTedRootCA-BaltimoreImplementation data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/beTRUSTedRootCA-EntrustImplementation data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/beTRUSTedRootCA-RSAImplementation data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/blah.php data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/CACertSigningAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/CertumCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/ChambersofCommerceRoot data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/Class2PrimaryCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/COMODOCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/DigiCertAssuredIDRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/DigiCertGlobalRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/DigiCertHighAssuranceEVRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/DigiNotarRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/DigitalSignatureTrustCo.GlobalCA1 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/DigitalSignatureTrustCo.GlobalCA3 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/DSTACESCAX6 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/DSTRootCAX1 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/DSTRootCAX2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/DSTRootCAX3 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/Entrust.netCertificationAuthority(2048) data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/Entrust.netClientCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/Entrust.netClientCertificationAuthority2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/Entrust.netSecureServerCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/Entrust.netSecureServerCertificationAuthority2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/EntrustRootCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/EquifaxSecureCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/EquifaxSecureeBusinessCA-1 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/EquifaxSecureeBusinessCA2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/EquifaxSecureGlobaleBusinessCA-1 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/FreeSSLCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GeoTrustGlobalCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GeoTrustGlobalCA2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GeoTrustPrimaryCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GeoTrustUniversalCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GeoTrustUniversalCA2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GlobalChambersignRoot data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GlobalSign data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GlobalSign2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GlobalSignExtendedValidationCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GlobalSignRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GoDaddyClass2CA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GoDaddySecureCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GPRoot2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GTECyberTrustGlobalRoot data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/GTECyberTrustRoot data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/IPSCAChainedCAsCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/IPSCACLASE1CertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/IPSCACLASE3CertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/IPSCACLASEA1CertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/IPSCACLASEA3CertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/IPSCATimestampingCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/IPSSERVIDORES data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/NetLockExpressz(ClassC)Tanusitvanykiado data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/NetLockKozjegyzoi(ClassA)Tanusitvanykiado data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/NetLockMinositettKozjegyzoi(ClassQA)Tanusitvanykiado data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/NetLockUzleti(ClassB)Tanusitvanykiado data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/NetworkSolutionsCertificateAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/QuoVadisRootCA2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/QuoVadisRootCA3 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/QuoVadisRootCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/RSASecurity1024v3 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/RSASecurity2048v3 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/SecureCertificateServices data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/SecureGlobalCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/SecureTrustCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/SecurityCommunicationRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/SoneraClass1CA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/SoneraClass2CA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/StaatderNederlandenRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/StarfieldClass2CA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/StartComCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/SwisscomRootCA1 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/SwissSignGoldCA-G2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/SwissSignPlatinumCA-G2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/SwissSignSilverCA-G2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/TaiwanGRCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/TCTrustCenter,Germany,Class2CA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/TCTrustCenter,Germany,Class3CA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/TDCInternetRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/TDCOCESCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/ThawtePersonalBasicCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/ThawtePersonalFreemailCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/ThawtePersonalPremiumCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/ThawtePremiumServerCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/thawtePrimaryRootCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/ThawteServerCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/ThawteSGCCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/ThawteTimestampingCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/TrustedCertificateServices data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/TURKTRUST data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/TURKTRUST2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/UTN-DATACorpSGC data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/UTN-USERFirst-ClientAuthenticationandEmail data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/UTN-USERFirst-Hardware data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/UTN-USERFirst-NetworkApplications data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/UTN-USERFirst-Object data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/valicert.com data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/valicert.com2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/valicert.com3 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/Verisign-RSASecureServerCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VerisignClass1PublicPrimaryCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VerisignClass1PublicPrimaryCertificationAuthority-G2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VeriSignClass1PublicPrimaryCertificationAuthority-G3 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VerisignClass2PublicPrimaryCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VerisignClass2PublicPrimaryCertificationAuthority-G2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VeriSignClass2PublicPrimaryCertificationAuthority-G3 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VerisignClass3PublicPrimaryCertificationAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VerisignClass3PublicPrimaryCertificationAuthority-G2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VeriSignClass3PublicPrimaryCertificationAuthority-G3 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VeriSignClass3PublicPrimaryCertificationAuthority-G5 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VerisignClass4PublicPrimaryCertificationAuthority-G2 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VeriSignClass4PublicPrimaryCertificationAuthority-G3 data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VeriSignTimeStampingAuthorityCA data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/VisaeCommerceRoot data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/WellsFargoRootCertificateAuthority data/PEAR2_Pyrus/pear2.php.net/x509rootcerts/XRampGlobalCertificationAuthority If you're seeing something different can you attach a failing phpt test?
 [2010-07-22 20:36 UTC] saltybeagle (Brett Bieber)
-Status: Critical +Status: Feedback
 [2010-07-24 01:06 UTC] boekkooi (Warnar Boekkooi)
 [2010-07-24 01:07 UTC] boekkooi (Warnar Boekkooi)
The newly added patch fixes the bug (yet another DIRECTORY_SEPARATOR 'bug')
 [2010-07-24 02:45 UTC] boekkooi (Warnar Boekkooi)
-Status: Feedback +Status: Open
 [2011-06-03 19:50 UTC] cweiske (Christian Weiske)
-Status: Open +Status: Closed -Assigned To: +Assigned To: cweiske
moved to https://github.com/pear2/PEAR2_Pyrus/issues/26